* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 65, 108, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: pulse 8s infinite alternate;
}

body::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(65, 157, 232, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: pulse 6s infinite alternate-reverse;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

.auth-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

.auth-card {
    background: rgba(30, 30, 46, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(255, 255, 255, 0.1);
}

.auth-header {
    text-align: center;
    /* margin-bottom: 40px; */
}

.auth-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    color: #94a3b8;
    font-size: 15px;
    font-weight: 400;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-label {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: #ffffff;
    padding: 14px 18px;
    font-size: 15px;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus {
    background: rgba(51, 65, 85, 0.7);
    border-color: #e8416c;
    box-shadow: 0 0 0 4px rgba(232, 65, 108, 0.15);
    outline: none;
    color: #ffffff;
}

.form-control::placeholder {
    color: #64748b;
}

.input-icon {
    position: absolute;
    right: 18px;
    top: 42px;
    color: #64748b;
    pointer-events: none;
}

.btn-primary {
    background: linear-gradient(135deg, #e8416c 0%, #c2185b 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(232, 65, 108, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c2185b 0%, #e8416c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(232, 65, 108, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, #1f8f09 0%, #42911d 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(232, 65, 108, 0.4);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #42911d 0%, #1f8f09 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(232, 65, 108, 0.5);
}

.btn-secondary:active {
    transform: translateY(0);
}

.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(148, 163, 184, 0.2);
}

.divider span {
    padding: 0 15px;
    color: #64748b;
    font-size: 13px;
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 30px;
}

.btn-social {
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: #cbd5e1;
    padding: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-social:hover {
    background: rgba(51, 65, 85, 0.8);
    border-color: rgba(148, 163, 184, 0.4);
    transform: translateY(-2px);
}

.switch-form {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.switch-form p {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

.switch-form a {
    color: #e8416c;
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.switch-form a:hover {
    color: #ff6b9d;
}

.password-toggle {
    position: absolute;
    right: 18px;
    top: 42px;
    color: #64748b;
    cursor: pointer;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #cbd5e1;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.form-check-label {
    color: #cbd5e1;
}

.forgot-link {
    color: #e8416c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #ff6b9d;
}

.hidden {
    display: none;
}

@media (max-width: 576px) {
    .auth-card {
        padding: 40px 30px;
    }

    .auth-title {
        font-size: 28px;
    }
}