body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.login-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    position: relative;
}

.login-card {
    width: 100%;
    max-width: 440px;
    background: rgba(19, 22, 35, 0.82);
    border: 1px solid rgba(255, 42, 133, 0.28);
    border-radius: 18px;
    padding: 38px 32px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.7), 
        0 0 40px -10px rgba(255, 42, 133, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff2a85, #7928ca, #00e5ff);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: block;
    filter: drop-shadow(0 0 16px rgba(255, 42, 133, 0.45));
    transition: transform 0.3s ease;
}

.login-logo:hover {
    transform: scale(1.05) rotate(3deg);
}

.login-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    background: rgba(255, 42, 133, 0.1);
    border: 1px solid rgba(255, 42, 133, 0.35);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffb1c5;
    text-transform: uppercase;
    margin-bottom: 12px;
    box-shadow: 0 0 12px -3px rgba(255, 42, 133, 0.4);
}

.login-header h1 {
    font-family: var(--font-display) !important;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 6px;
    text-shadow: 0 0 20px rgba(255, 42, 133, 0.3);
}

.login-header p {
    color: var(--text-muted);
    font-size: 14px;
}

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

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--neon-cyan);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.toggle-pwd-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, filter 0.2s ease;
    user-select: none;
}

.toggle-pwd-btn:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px var(--neon-cyan));
}

.form-input {
    width: 100%;
    background: rgba(11, 13, 22, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 14px 16px;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.25s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    background: rgba(15, 18, 30, 0.95);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15), 0 0 20px -3px rgba(0, 229, 255, 0.3);
}

.form-input::placeholder {
    color: #555d72;
}

.btn-submit {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #ff2a85 0%, #e00067 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    box-shadow: 0 0 24px -4px var(--neon-pink-glow), 0 8px 20px -2px rgba(0, 0, 0, 0.6);
}

.btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff4a9a 0%, #ff1478 100%);
    transform: translateY(-2px);
    box-shadow: 0 0 32px 0px rgba(255, 42, 133, 0.75), 0 12px 24px -2px rgba(0, 0, 0, 0.7);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.alert-box {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
    display: none;
    line-height: 1.4;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.alert-success {
    background: rgba(0, 255, 157, 0.15);
    border: 1px solid rgba(0, 255, 157, 0.4);
    color: #86efac;
    box-shadow: 0 0 15px -3px rgba(0, 255, 157, 0.3);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
}

.back-link:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan-glow);
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
