.installer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text);
    overflow: hidden;
    padding: 2rem;

    &.isStep {
        &::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 90% 10%, var(--accent) 0%, transparent 35%),
                radial-gradient(circle at 10% 90%, var(--primary) 0%, transparent 35%);
            opacity: 0.15;
            z-index: 0;
            animation: fadeInBackground 0.8s cubic-bezier(0.25, 0.1, 0.25, 1.0) 0.3s both;
        }
    }

    &__header {
        @extend .d-flex, .flex-column, .align-center, .justify-center;
        position: relative;
        z-index: 1;
        animation: fadeIn 0.8s cubic-bezier(0.25, 0.1, 0.25, 1.0) 0.3s both;
        text-align: center;
        margin-bottom: 2rem;

        h1 {
            margin-top: 1rem;
            color: var(--accent);
            font-size: var(--h2);
            margin-bottom: 0.5rem;
            font-weight: 700;
        }

        p {
            @extend .text-muted;
            margin-bottom: .5rem;
            text-align: center;
            color: var(--text-200);
            font-size: var(--p);
            max-width: 600px;
            margin: 0 auto;
        }

        .logo {
            max-width: 210px;
            height: auto;
            animation: fadeInDown 1s cubic-bezier(0.25, 0.1, 0.25, 1.0) 0.3s both;
        }
    }

    &__container {
        @extend .d-flex, .flex-column, .align-center, .justify-center;

        position: relative;
        z-index: 1;
        width: 600px;
        text-align: center;
        animation: fadeIn 0.8s cubic-bezier(0.25, 0.1, 0.25, 1.0) 0.3s both;

        >div {
            width: 100%;
        }

        @include media(mobile) {
            width: 100%;
        }
    }

    &__footer {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 600px;
        text-align: center;
        padding-bottom: 2rem;
    }
}

.installer-content-container {
    width: 100%;
    max-width: 800px;
}

.tabs-minimal {
    &__nav {
        display: flex;
        border-bottom: 1px solid var(--transp-1);
        margin-bottom: 1rem;
        gap: 1.5rem;
    }
}

.tab-minimal {
    @extend .d-flex, .align-center, .justify-center, .gap-1;

    padding: 0.75rem 0;
    font-weight: 500;
    color: var(--text-400);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    position: relative;
    transition: all 0.2s ease;
    font-size: var(--p);

    &:hover {
        color: var(--text-200);
    }

    &.active {
        color: var(--primary);
        border-bottom-color: var(--primary);
    }
}

.tab-minimal-content {
    display: none;
    animation: fadeIn 0.3s ease;

    &.active {
        display: block;
    }
}

.installer-form__actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: .5rem;
}

.alert {
    border-radius: var(--border05);
    padding: 0.75rem 1rem;
    font-weight: 500;
    font-size: var(--p-small);
    animation: fadeInDown 0.4s cubic-bezier(0.25, 0.1, 0.25, 1.0);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;

    --success-rgb: 142, 202, 230;
    --error-rgb: 239, 150, 150;
    --warning-rgb: 255, 233, 186;
    --info-rgb: 230, 236, 240;

    &--danger {
        border: 1px solid var(--error-light);
        color: var(--error);
        background-color: rgba(var(--error-rgb), 0.05);
    }

    &--success {
        border: 1px solid var(--success-light);
        color: var(--success);
        background-color: rgba(var(--success-rgb), 0.05);
    }

    &--warning {
        border: 1px solid var(--warning-light);
        color: var(--warning);
        background-color: rgba(var(--warning-rgb), 0.05);
    }

    &--info {
        border: 1px solid var(--primary-light);
        color: var(--primary);
        background-color: rgba(var(--primary-rgb), 0.05);
    }
}

// Common info card
.info-card {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem;
    background-color: var(--transp-05);
    border-radius: 3px;
    border-left: 2px solid var(--primary);
    margin-bottom: 1rem;
    gap: 0.75rem;

    &__icon {
        flex-shrink: 0;
        color: var(--primary);

        svg {
            width: 1.25rem;
            height: 1.25rem;
        }
    }

    &__content {
        h4 {
            font-size: var(--p);
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        p {
            font-size: var(--small);
            color: var(--text-200);
            margin: 0;
            line-height: 1.5;
        }
    }
}