.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: white;
    font-size: 1em;
    opacity: 0.8;
    animation: fall linear infinite;
    z-index: 1;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

.auth-card {
    background: white;
    border-radius: 24px;
    padding: 45px 40px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

.auth-icon {
    font-size: 60px;
    margin-bottom: 15px;
    animation: swing 3s ease-in-out infinite;
}

@keyframes swing {

    0%,
    100% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #c92a2a 0%, #e03131 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-subtitle {
    font-size: 15px;
    color: #868e96;
    font-weight: 400;
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #c92a2a;
    box-shadow: 0 0 0 4px rgba(201, 42, 42, 0.1);
    outline: none;
}

.input-group {
    position: relative;
}

.input-group .form-control {
    padding-right: 45px;
}

.passwordToggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: #868e96;
    font-size: 18px;
    transition: color 0.3s ease;
    z-index: 10;
    padding: 0;
}

.passwordToggle:hover {
    color: #c92a2a;
}

.forgot-password {
    color: #5f3dc4;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.forgot-password:hover {
    color: #7950f2;
    text-decoration: underline;
}

.auth-btn {
    background: linear-gradient(135deg, #c92a2a 0%, #e03131 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(201, 42, 42, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(201, 42, 42, 0.4);
}

.auth-btn:active {
    transform: translateY(0);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.divider span {
    padding: 0 15px;
    color: #868e96;
    font-size: 13px;
    font-weight: 500;
}

.create-account {
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin-top: 20px;
}

.create-account-link {
    color: #c92a2a;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.create-account-link:hover {
    color: #a61e1e;
    text-decoration: underline;
}

.alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    left: 20px;
    z-index: 9999;
    max-width: 500px;
    margin: 0 auto;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.decorative-corner {
    position: absolute;
    font-size: 24px;
    opacity: 0.1;
}

.corner-tl {
    top: 15px;
    left: 15px;
}

.corner-tr {
    top: 15px;
    right: 15px;
}

.corner-bl {
    bottom: 15px;
    left: 15px;
}

.corner-br {
    bottom: 15px;
    right: 15px;
}

@media (max-width: 768px) {
    .auth-card {
        padding: 35px 25px;
    }

    .auth-title {
        font-size: 24px;
    }

    .auth-icon {
        font-size: 50px;
    }

    .alert-container {
        left: 10px;
        right: 10px;
    }
}