/* ============================================================
   Login page — standalone styles, scoped to login.php only.
   Deliberately NOT merged into style.css so no other page's
   look is touched by this redesign.
   ============================================================ */

.login-body {
    margin: 0;
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    background: #1a0f2e;
}

.login-screen {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* ---------- Left panel ---------- */
.login-left {
    position: relative;
    flex: 0 0 50%;
    max-width: 700px;
    background: linear-gradient(150deg, #6a3fd6 0%, #a238a8 45%, #e0388f 75%, #ec5590 100%);
    padding: 44px 56px 36px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
}

.deco-dots {
    position: absolute;
    top: 190px;
    right: 60px;
    width: 70px;
    height: 90px;
    background-image: radial-gradient(rgba(255,255,255,0.35) 1.6px, transparent 1.6px);
    background-size: 14px 14px;
    opacity: 0.6;
}

.deco-heart {
    position: absolute;
    color: rgba(255,255,255,0.25);
    font-size: 1.6rem;
}
.deco-heart-1 { top: 60px; right: 130px; font-size: 1.1rem; }
.deco-heart-2 { top: 140px; right: 90px; }

.login-left-inner {
    position: relative;
    z-index: 1;
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
}

.brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 6px;
}
.brand-icon {
    width: 150px;
    height: auto;
    display: block;
}
.brand-name {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-top: -6px;
}
.brand-vivah { color: #7a1f3d; text-shadow: 0 1px 0 rgba(255,255,255,0.15); }
.brand-kalp { color: #d4af37; text-shadow: 0 1px 0 rgba(255,255,255,0.15); }

.welcome-heading {
    color: #fff;
    text-align: center;
    font-size: 1.9rem;
    font-weight: 700;
    margin: 18px 0 4px;
}
.wave { display: inline-block; }

.welcome-sub {
    color: rgba(255,255,255,0.9);
    text-align: center;
    margin: 0 0 22px;
    font-size: 0.95rem;
}

/* ---------- White login card ---------- */
.login-card {
    background: #fff;
    border-radius: 18px;
    padding: 26px 26px 22px;
    box-shadow: 0 20px 50px rgba(40, 10, 40, 0.35);
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: #faf1f5;
    border: 1px solid #f3dde6;
    border-radius: 12px;
    margin-bottom: 16px;
    padding: 6px;
}
.input-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: linear-gradient(135deg, #ec4899, #d6336c);
    display: flex;
    align-items: center;
    justify-content: center;
}
.input-icon svg { width: 18px; height: 18px; }

.input-group input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.98rem;
    padding: 10px 10px;
    color: #333;
    font-family: inherit;
}
.input-group input::placeholder { color: #a9a0a6; }

.toggle-password {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    display: flex;
    align-items: center;
}
.toggle-password svg { width: 20px; height: 20px; }

.login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 2px 20px;
    font-size: 0.88rem;
}
.remember-me {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #555;
    cursor: pointer;
}
.remember-me input { accent-color: #e0388f; width: 15px; height: 15px; }
.forgot-link {
    color: #d6336c;
    text-decoration: none;
    font-weight: 600;
}
.forgot-link:hover { text-decoration: underline; }

.login-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #e0466f, #b3184f);
    color: #fff;
    font-size: 1.02rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(214, 51, 108, 0.4);
}
.login-btn:hover { filter: brightness(1.05); }

.or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #aaa;
    font-size: 0.8rem;
    margin: 20px 0 14px;
}
.or-divider::before, .or-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee;
}
.or-divider span { padding: 0 12px; }

.new-user-row {
    text-align: center;
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}
.new-user-row a {
    color: #d6336c;
    font-weight: 700;
    text-decoration: none;
}
.new-user-row a:hover { text-decoration: underline; }
.arrow { display: inline-block; }

/* ---------- Notices (kept consistent with the rest of the site) ---------- */
.login-card .notice {
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.88rem;
    margin-bottom: 16px;
}
.login-card .notice-error { background: #fdecec; color: #b3261e; border: 1px solid #f5c2c2; }
.login-card .notice-warning { background: #fff6e5; color: #8a5a00; border: 1px solid #ffe4a3; }

/* ---------- Trust badges ---------- */
.trust-badges {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 22px;
    background: rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 16px 18px;
}
.trust-badge {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
    color: #fff;
}
.trust-icon {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}
.trust-badge strong { display: block; font-size: 0.82rem; }
.trust-badge p { margin: 2px 0 0; font-size: 0.72rem; color: rgba(255,255,255,0.85); }

.copyright {
    text-align: left;
    color: rgba(255,255,255,0.75);
    font-size: 0.78rem;
    margin-top: 22px;
}

/* ---------- Right panel (hero photo) ---------- */
.login-right {
    flex: 1;
    background-size: cover;
    background-position: center 18%;
    background-repeat: no-repeat;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .login-right { display: none; }
    .login-left { flex: 1 1 100%; max-width: none; }
}

@media (max-width: 480px) {
    .login-left { padding: 32px 20px 28px; }
    .trust-badges { flex-direction: column; }
}
