.auth-form-container {
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.85), rgba(37, 117, 252, 0.85));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 45px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 50px rgba(106, 17, 203, 0.35);
    max-width: 440px;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

.auth-form-container h1 {
    color: #fff;
    font-size: 2.3em;
    margin-bottom: 35px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group label {
    color: #e0d4ff;
    font-size: 0.95em;
    text-align: left;
    font-weight: 500;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    color: #fff;
    font-size: 1.05em;
    transition: all 0.35s ease;
    backdrop-filter: blur(8px);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.input-group input:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-primary {
    width: 100%;
    padding: 17px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.35s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.5);
}

.link-reg {
    color: #d4bbff;
    text-decoration: none;
    font-size: 0.95em;
    margin-top: 20px;
    display: inline-block;
    transition: color 0.3s;
}

.link-reg:hover {
    color: #fff;
    text-decoration: underline;
}

.checkbox-group {
    text-align: left;
    margin: 25px 0;
}

.checkbox-group label {
    color: #e0d4ff;
    font-size: 0.92em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #ff6b6b;
    cursor: pointer;
}

.error-msg, .success-msg {
    padding: 15px;
    border-radius: 14px;
    margin: 20px 0;
    font-size: 0.95em;
    backdrop-filter: blur(10px);
    border: 1px solid;
}

.error-msg {
    background: rgba(255, 68, 68, 0.2);
    border-color: rgba(255, 68, 68, 0.5);
    color: #ffcccc;
}

.success-msg {
    background: rgba(68, 255, 68, 0.2);
    border-color: rgba(68, 255, 68, 0.5);
    color: #ccffcc;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .auth-form-container {
        padding: 35px 25px;
        margin: 20px;
    }
    .auth-form-container h1 {
        font-size: 2em;
    }
}