/* Simple tabs */
.tab-trigger[aria-selected="true"] {
    background-color: #0f766e;
    color: white;
}

/* FAQ accordion (using <details>) */
details > summary::-webkit-details-marker {
    display: none;
}

summary,
button:hover {
    cursor: pointer;
}

/* Brand checkbox accent color (teal-700) */
input[type="checkbox"],
input[type="radio"] {
    accent-color: #0f766e; /* teal-700 */
}

/* Barba.js Fade Transition */
[data-barba="container"] {
    position: relative;
}

.barba-fade-leave {
    opacity: 1;
}

.barba-fade-leave-active {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.barba-fade-enter {
    opacity: 0;
}

.barba-fade-enter-active {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

.register-form-container .grid {
    align-items: flex-end !important;
}

/* registers table pagination */
.table-pagination a.relative.inline-flex,
.table-pagination span {
    background: var(--color-slate-50);
    color: var(--color-teal-700);
}
.table-pagination a.relative.inline-flex:hover{
    background: var(--color-teal-700);
    color: var(--color-slate-50);
}
.table-pagination .cursor-default{
    background: var(--color-gray-200);
}
.table-pagination [aria-current="page"] span{
    background: var(--color-teal-500);
    color: var(--color-white);
}

/* Navigation active state */
[data-nav-link].active {
    color: #0f766e;
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

[data-nav-link][data-nav-child].active {
    background-color: #f8fafc;
    color: #0f766e;
    font-weight: 600;
    text-decoration: none;
}

/* FAQ arrow animation */
details summary .faq-arrow {
    transition: transform 0.3s ease-in-out;
}

details[open] summary .faq-arrow {
    transform: rotate(180deg);
}
