body {
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
    font-family: 'Segoe UI', sans-serif;
}

/* CENTER WRAPPER */
.profile-login-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* LOGIN CARD */
.profile-login-card {
    width: 90%;
    max-width: 420px;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(15px);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    text-align: center;
}

/* TITLE */
.profile-login-card h2 {
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #1e293b;
}

/* INPUT */
.profile-login-card input {
    width: 90%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    transition: 0.25s;
    font-size: 14px;
}

/* FOCUS */
.profile-login-card input:focus {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
    outline: none;
}

/* BUTTON */
.profile-login-card button {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.profile-login-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59,130,246,0.3);
}

/* EXTRA LINKS */
.profile-login-extra {
    margin-top: 15px;
    font-size: 14px;
    color: #64748b;
}

.profile-login-extra a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.profile-login-extra a:hover {
    text-decoration: underline;
}

/* WRAPPER */
.login-state-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CARD */
.login-state-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    max-width: 400px;
    width: 100%;
}

/* AVATAR */
.login-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-size: 26px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

/* TEXT */
.login-state-card h2 {
    margin-bottom: 5px;
    font-size: 22px;
}

.login-state-card p {
    color: #6b7280;
    font-size: 14px;
}

/* BUTTONS */
.login-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-primary {
    padding: 10px 18px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
}

.btn-danger {
    padding: 10px 18px;
    background: #ef4444;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
}

.btn-primary:hover,
.btn-danger:hover {
    opacity: 0.9;
}

/* Override ONLY forgot password button */
.profile-login-password .forgot-password-btn {
    width: auto;
    padding: 0;
    background: none;
    border: none;
    color: #3b82f6;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: none;
}

/* Hover */
.profile-login-password .forgot-password-btn:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* WRAPPER */
.show-password-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    font-size: 13px;
    color: #64748b;
    justify-content: center;
}

/* SWITCH CONTAINER */
.switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
}

/* HIDE DEFAULT CHECKBOX */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* SLIDER */
.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #e2e8f0;
    border-radius: 50px;
    transition: 0.3s;
}

/* CIRCLE */
.slider::before {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* ACTIVE STATE */
.switch input:checked + .slider {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.switch input:checked + .slider::before {
    transform: translateX(18px);
}

/* LABEL */
.switch-label {
    cursor: pointer;
    user-select: none;
}

/* MOBILE */
@media (max-width: 500px) {
    .profile-login-card {
        margin: 20px;
        padding: 25px;
    }
}