/* Block: adminTabsComponent */
.adminTabsComponent {

    /* Element: card */
    &__card {
        background-color: #ffffff;
        border-radius: 0.5rem; /* rounded-lg */
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
        overflow: hidden;
    }

    /* Element: header */
    &__header {
        border-bottom: 1px solid #e5e7eb; /* border-gray-200 */
    }

    /* Element: headerRow */
    &__headerRow {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Element: nav */
    &__nav {
        display: flex;
        margin-bottom: -1px; /* -mb-px */
        flex: 1;
    }

    /* Element: refreshBtn */
    &__refreshBtn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        margin-right: 0.75rem;
        border-radius: 0.375rem;
        color: #6b7280;
        transition: color 200ms, background-color 200ms;

        &:hover {
            color: #374151;
            background-color: #f3f4f6;
        }

        /* Modifier: spinning */
        &--spinning svg {
            animation: adminTabsRefreshSpin 0.6s linear infinite;
        }
    }

    /* Element: tab */
    &__tab {
        flex: 1 1 0%; /* flex-1 */
        padding: 1rem 1.5rem;
        text-align: center;
        font-weight: 500; /* font-medium */
        font-size: 0.875rem; /* text-sm */
        transition: all 200ms ease-in-out; /* transition-all duration-200 */
        background-color: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;

        /* Default state (inactive) */
        color: #6b7280; /* text-gray-500 */
        border-bottom: 2px solid transparent;

        /* Modifier: tab--active */
        &--active {
            border-bottom-color: #3b82f6; /* border-blue-500 */
            color: #2563eb; /* text-blue-600 */
            background-color: #eff6ff; /* bg-blue-50 */
        }

        &:hover {
            color: #374151; /* hover:text-gray-700 */
            background-color: #f9fafb; /* hover:bg-gray-50 */
        }
    }

    /* Element: icon */
    &__icon {
        display: flex;
        align-items: center;
        justify-content: center;

        svg {
            display: block;
        }
    }

    /* Element: body */
    &__body {
        padding: 2rem; /* p-8 */
    }

    /* Element: title */
    &__title {
        font-size: 1.5rem; /* text-2xl */
        font-weight: 700; /* font-bold */
        color: #111827; /* text-gray-900 */
        margin-bottom: 1rem; /* mb-4 */
        margin-top: 0;
    }

    /* Element: text */
    &__text {
        color: #4b5563; /* text-gray-600 */
        line-height: 1.625; /* leading-relaxed */
        margin: 0;
    }

    /* Element: info-box */
    &__infoBox {
        margin-top: 1.5rem; /* mt-6 */
        padding: 1rem; /* p-4 */
        background-color: #f9fafb; /* bg-gray-50 */
        border-radius: 0.375rem; /* rounded-md */
        border: 1px solid #e5e7eb; /* border-gray-200 */
    }

    /* Element: info-text */
    &__infoText {
        font-size: 0.875rem; /* text-sm */
        color: #6b7280; /* text-gray-500 */
        margin: 0;
    }

    /* Element: info-highlight */
    &__infoHighlight {
        font-weight: 600; /* font-semibold */
        color: #374151; /* text-gray-700 */
    }
}

@keyframes adminTabsRefreshSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
