﻿@import url('./components/buttons.css');

.auth-container {
    display: flex;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.auth-left {
    width: 50%;
    position: relative;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    overflow: hidden;
    text-align: left;
    background: linear-gradient(135deg, #0b0f2a, #1c2a6c);
}

    .auth-left::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url('/images/pijlen.webp') no-repeat center;
        background-size: cover;
        opacity: 0.18;
        z-index: 0;
        animation: moveBackground 20s linear infinite;
    }

    .auth-left > * {
        position: relative;
        z-index: 1;
    }

    .auth-left h2 {
        font-size: 38px;
        font-weight: 700;
        margin-top: 20px;
    }

    .auth-left p {
        font-size: 16px;
        opacity: 0.8;
        margin-top: 10px;
        max-width: 400px;
    }

.auth-logo {
    width: 120px;
    margin-bottom: 20px;
}

.auth-right {
    width: 50%;
    background: #f5f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-box {
    width: 100%;
    max-width: 400px;
    background: white;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease;
}

.auth-title {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-primary);
}

.auth-subtitle {
    font-size: 12px;
    margin-bottom: 0;
    color: #6b7280;
}

.auth-header {
    text-align: center;
    margin-bottom: 25px;
}

.auth-icon {
    font-size: 46px;
    margin-bottom: 10px;
    animation: fadeInUp 0.5s ease;
    opacity: 0.9;
}

.auth-hint {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 10px;
}

.auth-box {
    animation: fadeInUp 0.4s ease;
    padding: 50px 40px;
}

.auth-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    margin-bottom: 18px;
    border-radius: 10px;
    background: rgba(255, 193, 7, 0.12);
    color: #856404;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 193, 7, 0.25);
    animation: fadeSlideDown 0.4s ease;
}

    .auth-alert i {
        font-size: 16px;
        opacity: 0.9;
    }

    .auth-alert.success {
        background-color: #e6f4ea;
        color: #1e7e34;
    }

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    height: 45px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

    .form-control:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes moveBackground {
    0% {
        background-position: center;
    }

    50% {
        background-position: right center;
    }

    100% {
        background-position: center;
    }
}

@media (max-width: 900px) {
    .auth-container {
        flex-direction: column;
    }

    .auth-left {
        width: 100%;
        padding: 40px;
        text-align: center;
    }

    .auth-right {
        width: 100%;
        padding: 20px;
    }
}
