/**
 * Lagna Chakra - Premium user login modal (dark gold)
 */

.lc-user-login .modal-content {
    background: linear-gradient(165deg, #0a0a1a 0%, #120c06 55%, #1a1408 100%);
    border: 1px solid rgba(201, 168, 76, 0.28);
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(201, 168, 76, 0.08) inset;
    overflow: hidden;
}

.lc-user-login .modal-body {
    background: transparent;
    color: #f5f0ff;
}

.lc-user-login .body {
    background: transparent !important;
}

.lc-user-login .login-sig-close-btn {
    color: rgba(245, 240, 255, 0.75);
    text-shadow: none;
    opacity: 1;
    font-size: 1.75rem;
    z-index: 5;
}

.lc-user-login .login-sig-close-btn:hover {
    color: #f0d080;
}

.lc-user-login__head {
    text-align: center;
    margin-bottom: 1.25rem;
}

.lc-user-login__head h3 {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #f0d080;
    margin: 0 0 0.35rem;
}

.lc-user-login__head p {
    color: rgba(245, 240, 255, 0.68);
    font-size: 0.92rem;
    margin: 0;
}

.lc-user-login__tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.35rem;
    background: rgba(5, 5, 16, 0.55);
    border: 1px solid rgba(201, 168, 76, 0.18);
    border-radius: 12px;
}

.lc-user-login__tab {
    flex: 1;
    border: none;
    background: transparent;
    color: rgba(245, 240, 255, 0.62);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.65rem 0.75rem;
    border-radius: 9px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.lc-user-login__tab:hover {
    color: #f0d080;
}

.lc-user-login__tab.is-active {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.28), rgba(168, 138, 58, 0.18));
    color: #f0d080;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.lc-user-login__pane {
    display: none;
}

.lc-user-login__pane.is-active {
    display: block;
}

.lc-user-login .form-control,
.lc-user-login .select2-container--default .select2-selection--single {
    background: rgba(10, 10, 26, 0.85) !important;
    border: 1px solid rgba(201, 168, 76, 0.22) !important;
    color: #f5f0ff !important;
    border-radius: 10px !important;
}

.lc-user-login .form-control::placeholder {
    color: rgba(245, 240, 255, 0.38);
}

.lc-user-login .form-control:focus {
    border-color: rgba(201, 168, 76, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12) !important;
}

.lc-user-login .country-dropdown-container {
    background: rgba(10, 10, 26, 0.85);
    border: 1px solid rgba(201, 168, 76, 0.22);
    border-radius: 10px;
    overflow: hidden;
}

.lc-user-login .country-dropdown-container .select2-container {
    min-width: 110px;
}

.lc-user-login .btn-chat,
.lc-user-login #userEmailLoginBtn {
    background: linear-gradient(135deg, #c9a84c, #9a7b3f) !important;
    border: none !important;
    color: #120c06 !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 22px rgba(201, 168, 76, 0.28);
    transition: transform 0.15s ease, filter 0.2s ease;
}

.lc-user-login .btn-chat:hover,
.lc-user-login #userEmailLoginBtn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.lc-user-login .text-danger,
.lc-user-login .otp-error,
.lc-user-login #mobileMessage,
.lc-user-login #otpLoginMessage,
.lc-user-login #userEmailLoginMessage {
    color: #f08080 !important;
    font-size: 0.85rem;
}

.lc-user-login .otpheader {
    color: rgba(245, 240, 255, 0.75);
    font-size: 0.9rem;
}

.lc-user-login .otpheader a {
    color: #f0d080 !important;
}

.lc-user-login #googleLoginBtn {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(201, 168, 76, 0.22) !important;
    color: #f5f0ff !important;
    border-radius: 12px !important;
}

.lc-user-login #googleLoginBtn:hover {
    background: rgba(201, 168, 76, 0.12) !important;
}

.lc-user-login__demo {
    margin-top: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px dashed rgba(201, 168, 76, 0.35);
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(245, 240, 255, 0.82);
}

.lc-user-login__demo strong {
    color: #f0d080;
    display: block;
    margin-bottom: 0.25rem;
}

.lc-user-login__demo code {
    color: #f0d080;
    background: rgba(0, 0, 0, 0.25);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    font-size: 0.78rem;
}

.lc-user-login .text-dark,
.lc-user-login .colorblack {
    color: rgba(245, 240, 255, 0.68) !important;
}

.lc-user-login .text-dark a {
    color: #f0d080 !important;
}

.lc-user-login .text-center > p {
    color: rgba(245, 240, 255, 0.55);
    font-size: 0.85rem;
}

.lc-user-login label.lc-user-login__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(245, 240, 255, 0.75);
    margin-bottom: 0.4rem;
}

.lc-user-login__field {
    margin-bottom: 1rem;
}

.lc-user-login .select2-dropdown {
    background: #0a0a1a;
    border-color: rgba(201, 168, 76, 0.25);
}

.lc-user-login .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: rgba(201, 168, 76, 0.25);
    color: #f0d080;
}
.lc-user-login__dialog { max-width: 940px; }
.lc-user-login .modal-content { position: relative; border-radius: 24px !important; }
.lc-auth-close { position: absolute; top: 0.75rem; right: 0.9rem; z-index: 8; width: 38px; height: 38px; padding: 0; color: #ded6c7 !important; background: rgba(4,5,13,.48) !important; border: 1px solid rgba(211,174,86,.24) !important; border-radius: 50%; opacity: 1 !important; text-shadow: none !important; }
.lc-auth-grid { display: grid; grid-template-columns: minmax(270px,.82fr) minmax(420px,1.18fr); min-height: 610px; }
.lc-auth-story { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem,5vw,3.5rem); overflow: hidden; background: radial-gradient(circle at 50% 20%, rgba(211,174,86,.2), transparent 15rem), linear-gradient(155deg, rgba(25,17,38,.98), rgba(7,8,20,.99)); border-right: 1px solid rgba(211,174,86,.24); }
.lc-auth-story h2 { position: relative; margin: .55rem 0 1rem; color: #f8f4e8 !important; font: 700 clamp(2rem,4vw,3.25rem)/.98 "Cormorant Garamond", Georgia, serif; }
.lc-auth-story p, .lc-auth-story li { position: relative; color: #a9a1b7; }
.lc-auth-story ul { position: relative; display: grid; gap: .8rem; padding: 0; margin: 1.3rem 0 0; list-style: none; }
.lc-auth-story li i { width: 1.4rem; color: #d3ae56; }
.lc-auth-story__seal { position: absolute; right: -1.4rem; bottom: -2.2rem; color: rgba(211,174,86,.07); font: 700 12rem/1 "Cormorant Garamond", Georgia, serif; transform: rotate(-8deg); }
.lc-user-login__body { padding: clamp(1.75rem,4vw,3rem); background: linear-gradient(150deg, rgba(17,20,39,.98), rgba(8,10,22,.99)); }
.lc-user-login__head { margin-bottom: 1rem; text-align: left; }
.lc-user-login__head h3 { margin: .25rem 0 0; color: #f8f4e8 !important; font-size: 2rem; }
.lc-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: .28rem; margin-bottom: 1rem; background: rgba(3,5,13,.55); border: 1px solid rgba(211,174,86,.24); border-radius: 12px; }
.lc-auth-tab { padding: .68rem 1rem; color: #a9a1b7; background: transparent; border: 0; border-radius: 9px; font-weight: 700; cursor: pointer; }
.lc-auth-tab.active { color: #171006; background: linear-gradient(135deg, #f2d993, #d3ae56); box-shadow: 0 7px 20px rgba(211,174,86,.2); }
.lc-auth-google { display: flex; align-items: center; justify-content: center; gap: .7rem; min-height: 46px; color: #f8f4e8 !important; background: rgba(255,255,255,.055); border: 1px solid rgba(211,174,86,.24); border-radius: 12px; font-weight: 700; text-decoration: none !important; }
.lc-auth-google:hover { background: rgba(211,174,86,.1); }
.lc-auth-google__mark { display: grid; width: 25px; height: 25px; place-items: center; color: #4285f4; background: #fff; border-radius: 50%; font-weight: 800; }
.lc-auth-divider { display: flex; align-items: center; gap: .7rem; margin: .85rem 0; color: #a9a1b7; font-size: .75rem; }
.lc-auth-divider::before, .lc-auth-divider::after { content: ""; flex: 1; height: 1px; background: rgba(211,174,86,.24); }
.lc-auth-panel { animation: lcAuthReveal .22s ease; }
.lc-auth-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.lc-auth-label-row { display: flex; align-items: center; justify-content: space-between; }
.lc-auth-label-row a { color: #f2d993 !important; font-size: .78rem; }
.lc-password-wrap { position: relative; }
.lc-password-wrap .form-control { padding-right: 3rem; }
.lc-password-toggle { position: absolute; top: 50%; right: .55rem; width: 34px; height: 34px; color: #a9a1b7; background: transparent; border: 0; transform: translateY(-50%); }
.lc-auth-consent { display: flex !important; align-items: flex-start; gap: .6rem; margin: .25rem 0 .85rem; color: #a9a1b7 !important; font-size: .78rem !important; }
.lc-auth-consent input { margin-top: .2rem; accent-color: #d3ae56; }
.lc-auth-consent a { color: #f2d993 !important; }
.lc-user-login__submit { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; width: 100%; min-height: 48px; color: #171006; background: linear-gradient(135deg, #f2d993, #d3ae56 55%, #9e7930); border: 0; border-radius: 12px; box-shadow: 0 12px 32px rgba(211,174,86,.18); font-weight: 800; }
.lc-user-login__submit:disabled { cursor: wait; filter: saturate(.5); opacity: .72; }
.lc-user-login__error { display: block; min-height: 1.25rem; margin-bottom: .35rem; color: #ff9da3 !important; font-size: .8rem; }
.lc-user-login__terms { margin-top: .85rem; color: #a9a1b7 !important; text-align: center; font-size: .72rem; }
@keyframes lcAuthReveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 767.98px) {
  .lc-auth-grid { grid-template-columns: 1fr; min-height: auto; }
  .lc-auth-story { display: none; }
  .lc-user-login__body { padding: 1.5rem 1.15rem; }
  .lc-auth-field-grid { grid-template-columns: 1fr; gap: 0; }
}
