:root {
    --primary-color: #E60067;
    --secondary-color: #0047AB;
    --accent-color: #DAA520;
    --hover-color: #C70054;
    --bg-color: #fff5f8;
    --border-color: #fbcfe8;
    --card-bg: #ffffff;
    --text-color: #333333;
    --heading-color: #0047AB;
    --btn-gradient: linear-gradient(135deg, #FF2A85 0%, #E60067 100%);
    --btn-hover-gradient: linear-gradient(135deg, #E60067 0%, #C70054 100%);
    --shadow-soft: 0 4px 15px rgba(230, 0, 103, 0.2);
    --shadow-hover: 0 8px 25px rgba(230, 0, 103, 0.35);
}

/* ========== Header: single-line arrangement ========== */
.main-header.header-style-two .main-box {
    min-height: 88px;
    height: 88px;
    display: flex;
    align-items: center;
}

.main-header .auto-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 18px !important;
}

.main-header .main-box {
    padding: 0 !important;
    margin: 0 !important;
}

.main-header .nav-outer {
    float: none !important;
    width: 100% !important;
    min-height: 88px;
    height: 88px;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 10px;
    padding: 0 !important;
    margin: 0 !important;
}

.main-header .logo-box {
    float: none !important;
    position: relative !important;
    left: 0 !important;
    flex: 0 0 auto;
    display: flex !important;
    align-items: center !important;
    margin: 0 75px 0 0 !important;
    padding: 0 !important;
}

.main-header .logo-box .logo a {
    display: flex !important;
    align-items: center !important;
}

.main-header .logo-lamp {
    max-height: 68px !important;
    height: auto !important;
    width: auto !important;
    max-width: 320px !important;
    object-fit: contain !important;
    margin-right: 0 !important;
    display: block !important;
    transform: none !important;
}

.main-header .nav-outer .main-menu {
    float: none !important;
    margin: 0 !important;
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible !important;
}

.main-header .main-menu .navbar-collapse {
    display: flex !important;
    align-items: center !important;
    width: 100%;
    overflow: visible !important;
}

.main-header .main-menu .navigation {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    float: none !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    gap: 6px !important;
    justify-content: center;
}

.main-header .main-menu .navigation > li {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto;
}

.main-header .main-menu .navigation > li > a {
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    padding: 8px 10px !important;
    line-height: 1.2 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
}

/* Keep header bilingual labels exclusive */
html.lang-ta body .main-header .en-text,
body.lang-ta .main-header .en-text {
    display: none !important;
}
html.lang-ta body .main-header .ta-text,
body.lang-ta .main-header .ta-text {
    display: inline !important;
}
html:not(.lang-ta) body .main-header .ta-text,
body:not(.lang-ta) .main-header .ta-text {
    display: none !important;
}
html:not(.lang-ta) body .main-header .en-text,
body:not(.lang-ta) .main-header .en-text {
    display: inline !important;
}

.main-header .main-menu .navigation > li > a:before {
    display: none !important;
}

/* Language switcher sits at the end of the header line */
.main-header .main-menu .navigation > li.header-lang-item {
    order: 99;
    margin-left: 10px !important;
    padding: 0 !important;
}

.main-header .language-switcher {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: #fff !important;
    padding: 5px 10px !important;
    border-radius: 20px !important;
    border: 1px solid #eee !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    white-space: nowrap;
}

.main-header .outer-box {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto;
    gap: 10px;
    margin: 0 0 0 8px !important;
    padding: 0 !important;
}

.main-header .outer-box .btn-box {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-header .outer-box .btn-box a {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 16px !important;
    line-height: 1.2 !important;
    white-space: nowrap;
}

.main-header .outer-box .search-box-outer,
.main-header .outer-box .search-box-btn,
.main-header .menu-separator {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}

.main-header .navbar-collapse > ul li.dropdown .dropdown-btn {
    display: none !important;
}

@media (max-width: 1199px) {
    .main-header .main-menu .navigation > li > a {
        padding: 8px 7px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 991px) {
    .main-header .auto-container {
        padding: 0 8px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .main-header .nav-outer {
        justify-content: space-between !important;
        min-height: 56px;
    }

    .main-header .logo-box {
        margin-left: 0 !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    .main-header .logo-lamp {
        max-height: 50px !important;
        height: auto !important;
        width: auto !important;
        max-width: calc(100vw - 140px) !important;
        object-fit: contain !important;
        transform: none !important;
    }

    .main-header .nav-outer .main-menu {
        display: none;
    }
}

/* ========== Stable navbar dropdowns ========== */
.main-header .main-menu .navigation > li.dropdown {
    position: relative !important;
}

.main-menu .navigation > li > ul,
.main-menu .navigation > li > ul > li > ul {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 99999 !important;
    width: auto !important;
    min-width: 220px !important;
    max-width: 300px !important;
    max-height: min(70vh, 520px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 8px !important;
    margin: 0 !important;
    background: #fbfbfd !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 14px !important;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.04),
        0 8px 28px rgba(0, 0, 0, 0.12),
        0 22px 48px rgba(0, 0, 0, 0.08) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
    -webkit-transition: opacity 0.15s ease, visibility 0.15s ease !important;
    transition: opacity 0.15s ease, visibility 0.15s ease !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* Invisible hover bridge so mouse can reach the menu */
.main-menu .navigation > li > ul:before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: -18px !important;
    height: 18px !important;
    display: block !important;
    background: transparent !important;
    pointer-events: auto !important;
}

.main-menu .navigation > li > ul > li > ul {
    top: 0 !important;
    left: 100% !important;
    margin-left: 4px !important;
}

.main-menu .navigation > li.dropdown:last-child > ul,
.main-menu .navigation > li.dropdown.open:last-child > ul {
    left: auto !important;
    right: 0 !important;
}

.main-menu .navigation > li > ul > li > ul:before {
    display: none !important;
}

/* Open on hover OR .open (cursor move switches menus) */
.main-menu .navigation > li.dropdown:hover > ul,
.main-menu .navigation > li.dropdown.open > ul,
.main-menu .navigation li > ul > li.dropdown:hover > ul,
.main-menu .navigation li > ul > li.dropdown.open > ul {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    -webkit-transform: none !important;
    transform: none !important;
}

/* When one menu is open via cursor, don't leave siblings lingering */
.main-menu .navigation > li.dropdown.open ~ li.dropdown:not(:hover):not(.open) > ul,
.main-menu .navigation > li.dropdown:hover ~ li.dropdown:not(:hover):not(.open) > ul {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.main-menu .navigation > li > ul > li,
.main-menu .navigation > li > ul > li > ul > li {
    width: 100% !important;
    margin: 0 !important;
    position: relative !important;
    float: none !important;
    display: block !important;
}

.main-menu .navigation > li > ul > li > a,
.main-menu .navigation > li > ul > li > ul > li > a,
.edit-profile-menu ul li a,
.matches-menu li a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    margin: 0 !important;
    width: 100% !important;
    line-height: 1.35 !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
    color: #1d1d1f !important;
    border-radius: 8px !important;
    background: transparent !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 2 !important;
    -webkit-transition: background 0.15s ease, color 0.15s ease !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

.main-menu .navigation > li > ul > li:hover > a,
.main-menu .navigation > li > ul > li > ul > li:hover > a,
.edit-profile-menu ul li a:hover,
.matches-menu li a:hover {
    background: rgba(0, 0, 0, 0.06) !important;
    color: #1d1d1f !important;
    width: 100% !important;
    margin: 0 !important;
}

.edit-profile-menu ul li a i {
    width: 16px !important;
    font-size: 12px !important;
    color: #6e6e73 !important;
    text-align: center !important;
}

.edit-profile-menu ul li a:hover i {
    color: #1d1d1f !important;
}

/* Hide icons inside header dropdowns */
.main-header .main-menu .navigation > li > ul > li > a i,
.main-header .main-menu .navigation > li > ul > li > ul > li > a i,
.main-header .edit-profile-menu ul li a i {
    display: none !important;
}

.main-header .main-menu .navigation > li > ul > li.dropdown > a:before,
.main-header .main-menu .navigation > li > ul > li > ul > li.dropdown > a:before,
.main-header .main-menu .navigation > li > ul > li.dropdown > a:after {
    display: none !important;
    content: none !important;
}

.main-menu .navigation > li > a {
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: -0.01em !important;
}

.mobile-menu .navigation li > a,
.mobile-menu .navigation li > ul > li > a {
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: -0.01em !important;
}

.mobile-menu .navigation li > ul,
.mobile-menu .navigation li > ul > li > ul {
    background: rgba(245, 245, 247, 0.95) !important;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .main-menu .navigation > li > ul,
    .main-menu .navigation > li > ul > li > ul {
        background: #fbfbfd !important;
    }
}

@keyframes shine-effect {
    0% {
        box-shadow: 0 0 10px rgba(11, 94, 215, 0.25), 0 0 20px rgba(11, 94, 215, 0.15);
    }
    50% {
        box-shadow: 0 0 18px rgba(11, 94, 215, 0.45), 0 0 28px rgba(255, 193, 7, 0.3);
    }
    100% {
        box-shadow: 0 0 10px rgba(11, 94, 215, 0.25), 0 0 20px rgba(11, 94, 215, 0.15);
    }
}

body {
    background-color: var(--bg-color) !important;
    color: var(--text-color) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title,
.heading-section h2 {
    color: var(--heading-color) !important;
}

/* CARDS */
.card-modern,
.matrimony-form-card,
.profile-card,
.info-card {
    background-color: var(--card-bg) !important;
    border-radius: 20px !important;
    box-shadow: var(--shadow-soft) !important;
    border: 1px solid var(--border-color) !important;
    padding: 25px !important;
    margin-bottom: 33px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-modern:hover {
    box-shadow: var(--shadow-hover) !important;
    transform: translateY(-5px);
}

/* BUTTONS */
.btn-modern,
.theme-btn.btn-style-one,
.register-btn {
    background: var(--btn-gradient) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    box-shadow: var(--shadow-soft) !important;
    transition: all 0.3s ease !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    text-align: center;
    animation: shine-effect 2s infinite ease-in-out;
}

.btn-modern:hover,
.theme-btn.btn-style-one:hover,
.register-btn:hover {
    background: var(--btn-hover-gradient) !important;
    box-shadow: var(--shadow-hover) !important;
    transform: translateY(-2px);
    color: #fff !important;
}

.btn-modern:before,
.theme-btn.btn-style-one:before {
    display: none !important;
}

/* INPUTS — compact size across profile/form pages (NOT register/signup) */
.form-group input:not([type="hidden"]),
.form-group select:not(.select2-hidden-accessible):not([style*="display: none"]):not([style*="display:none"]):not(.chosen-done),
.form-group textarea,
.contact-form .form-group input:not([type="hidden"]),
.contact-form .form-group select:not(.select2-hidden-accessible):not([style*="display: none"]):not([style*="display:none"]):not(.chosen-done),
.contact-form .form-group textarea,
.modern-input:not(.select2-hidden-accessible):not([style*="display: none"]):not([style*="display:none"]),
.form-control:not(.select2-hidden-accessible):not([style*="display: none"]):not([style*="display:none"]),
input.custom-input,
select.custom-input,
.chosen-container-single .chosen-single,
.chosen-container-multi .chosen-choices {
    height: 38px !important;
    min-height: 38px !important;
    line-height: 36px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    border: 1px solid var(--border-color) !important;
    background: #fff !important;
    padding: 0 12px !important;
    color: var(--text-color) !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
    width: 100%;
}

/* Preserve input-group single horizontal row layout */
.input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
}

.input-group > .form-control {
    width: 1% !important;
    flex: 1 1 auto !important;
}

.input-group > :not(:first-child):not(.dropdown-menu) {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.input-group > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Ensure form containers never collapse or inherit single-input dimensions */
form,
form.custom-input,
form.row,
.card-body form {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    line-height: normal !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 100% !important;
}

/* KILL DOUBLE BOX: Completely collapse any hidden select element initialized by Select2 or Chosen */
select.select2-hidden-accessible,
select.chosen-done,
select.chzn-done,
select[data-select2-id],
select[style*="display: none"],
select[style*="display:none"],
.form-group select.select2-hidden-accessible,
.form-group select[style*="display: none"],
.form-group select[style*="display:none"],
.contact-form .form-group select.select2-hidden-accessible,
.contact-form .form-group select[style*="display: none"],
.contact-form .form-group select[style*="display:none"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    position: absolute !important;
    pointer-events: none !important;
    clip: rect(0, 0, 0, 0) !important;
}

/* Single Box Select2 Reset — removes nested outer container border */
.select2-container {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    display: block !important;
}

.select2-container .selection {
    display: block !important;
    width: 100% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border: 1px solid var(--border-color, #cbd5e1) !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    min-height: 38px !important;
    height: auto !important;
    padding: 2px 8px !important;
    box-shadow: none !important;
    outline: none !important;
}

.form-group textarea,
.contact-form .form-group textarea,
textarea.form-control,
textarea.modern-input {
    height: 80px !important;
    min-height: 80px !important;
    line-height: 1.4 !important;
    padding: 8px 12px !important;
}

.form-group label,
.contact-form .form-group label {
    font-size: 13px;
    margin-bottom: 4px;
}

.form-group,
.contact-form .form-group {
    margin-bottom: 12px;
}

.chosen-container-single .chosen-single div b {
    background-position: 0 8px !important;
}

.chosen-container-multi .chosen-choices {
    height: auto !important;
    min-height: 38px !important;
    line-height: normal !important;
    padding: 4px 8px !important;
}

/* Select2 compact size (profile/search pages) */
.select2-container--default .select2-selection--single {
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 8px !important;
    padding: 0 8px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
    font-size: 13px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
}
.select2-container--default .select2-selection--multiple {
    min-height: 38px !important;
    border-radius: 8px !important;
}

/* Select2 inline search input & placeholder alignment reset */
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 4px !important;
    list-style: none !important;
}

.select2-container--default .select2-selection--multiple .select2-search--inline {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 32px !important;
    min-height: 32px !important;
}

.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field,
.contact-form .form-group .select2-container input.select2-search__field {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    line-height: 32px !important;
    margin: 0 !important;
    padding: 0 4px !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #1e293b !important;
    vertical-align: middle !important;
    position: static !important;
    display: inline-block !important;
}

.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field::placeholder,
.contact-form .form-group .select2-container input.select2-search__field::placeholder {
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 32px !important;
    vertical-align: middle !important;
    opacity: 1 !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.modern-input:focus,
.form-control:focus,
.custom-input:focus,
.chosen-container-active .chosen-single {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 12px rgba(11, 94, 215, 0.35) !important;
    outline: none !important;
}

/* Register / Sign-up — exclude from compact profile-form sizing */
.signup-card-box .form-group input,
.signup-card-box .form-group select,
.signup-card-box .form-group textarea,
.signup-card-box .form-control,
.signup-card-box .custom-input,
.signup-card-box .modern-input,
.signup-card-box .chosen-container-single .chosen-single,
.signup-card-box .phone-number-input,
.signup-card-box .phone-prefix-box {
    height: 32px !important;
    min-height: 32px !important;
    line-height: 30px !important;
    font-size: 12.5px !important;
    padding: 4px 10px !important;
    border-radius: 5px !important;
}

.signup-card-box .form-group textarea {
    height: 80px !important;
    min-height: 80px !important;
    line-height: 1.4 !important;
    padding: 8px 10px !important;
}

.signup-card-box .form-group label {
    font-size: 12.5px;
    margin-bottom: 3px;
}

.signup-card-box .form-group {
    margin-bottom: 8px;
}

.signup-card-box .chosen-container-single .chosen-single div b {
    background-position: 0 6px !important;
}

.signup-card-box .select2-container--default .select2-selection--single {
    height: 32px !important;
    min-height: 32px !important;
}
.signup-card-box .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px !important;
    font-size: 12.5px !important;
}
.signup-card-box .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 30px !important;
}

/* Homepage quick register modal — keep original size */
#quickRegisterForm input,
#quickRegisterForm select,
#quickRegisterForm textarea,
#quickRegisterForm .form-control {
    height: 45px !important;
    min-height: 45px !important;
    line-height: 43px !important;
    font-size: 14px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
}

/* Fix to ensure original hidden Select2 & Chosen dropdowns don't show up as 'double forms' */
select.select2-hidden-accessible,
.select2-hidden-accessible,
select[style*="display: none"],
select[style*="display:none"],
select.chzn-done,
select.chosen-done {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    position: absolute !important;
    clip: rect(0, 0, 0, 0) !important;
}

/* SECTION TITLES */
.section-title-gradient {
    background: var(--btn-gradient);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 18px;
    box-shadow: var(--shadow-soft);
    animation: shine-effect 2.5s infinite ease-in-out;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

.section-title-gradient i {
    margin-right: 10px;
    color: #fff;
    font-size: 20px;
}

/* TAGS / BADGES */
.modern-tag,
.modern-badge {
    background-color: var(--bg-color);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    margin: 5px;
}

.modern-tag i {
    margin-right: 5px;
}

/* OTHERS */
a {
    color: var(--primary-color);
}

a:hover {
    color: var(--hover-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Form Icons */
.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
}

.input-with-icon input,
.input-with-icon select {
    padding-left: 45px !important;
}

/* Timeline Design for Education */
.timeline-modern {
    position: relative;
    padding-left: 30px;
    margin-top: 20px;
}

.timeline-modern:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -35px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--border-color);
}

.timeline-content {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

/* ==========================================
   TAMIL LANGUAGE FONT THICKNESS & WEIGHT
   ========================================== */
body.lang-ta,
html.lang-ta body,
html[lang="ta"] body,
body.translated-ltr,
body.translated-rtl {
    font-family: 'Anek Tamil', 'Noto Sans Tamil', 'Mukta Malar', 'Noto Sans Tamil Local', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.15px;
    -webkit-font-smoothing: antialiased;
}

body.lang-ta *,
html.lang-ta body *,
html[lang="ta"] body *,
body.translated-ltr *,
body.translated-rtl * {
    font-family: 'Anek Tamil', 'Noto Sans Tamil', 'Mukta Malar', 'Noto Sans Tamil Local', sans-serif;
}

body.lang-ta p,
body.lang-ta span,
body.lang-ta a,
body.lang-ta li,
body.lang-ta label,
body.lang-ta td,
body.lang-ta th,
body.lang-ta div,
body.lang-ta button,
body.lang-ta input,
body.lang-ta select,
body.lang-ta option,
body.lang-ta small,
body.translated-ltr p,
body.translated-ltr span,
body.translated-ltr a,
body.translated-ltr li,
body.translated-ltr label,
body.translated-ltr td,
body.translated-ltr th,
body.translated-ltr div,
body.translated-ltr button,
body.translated-ltr input,
body.translated-ltr select,
body.translated-ltr option,
body.translated-ltr small {
    font-weight: 600 !important;
}

body.lang-ta h1,
body.lang-ta h2,
body.lang-ta h3,
body.lang-ta h4,
body.lang-ta h5,
body.lang-ta h6,
body.lang-ta strong,
body.lang-ta b,
body.lang-ta .title,
body.lang-ta .btn,
body.lang-ta .nav-link,
body.translated-ltr h1,
body.translated-ltr h2,
body.translated-ltr h3,
body.translated-ltr h4,
body.translated-ltr h5,
body.translated-ltr h6,
body.translated-ltr strong,
body.translated-ltr b,
body.translated-ltr .title,
body.translated-ltr .btn,
body.translated-ltr .nav-link {
    font-weight: 700 !important;
}

[lang="ta"],
[data-ta] {
    font-family: 'Anek Tamil', 'Noto Sans Tamil', 'Mukta Malar', 'Noto Sans Tamil Local', sans-serif !important;
    font-weight: 600 !important;
}

/* =========================
   GLOBAL MOBILE RESPONSIVE
========================= */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

img, video, iframe, table, .table-responsive {
    max-width: 100%;
}

@media (max-width: 991px) {
    .auto-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .card-modern,
    .matrimony-form-card,
    .profile-card,
    .info-card {
        padding: 16px !important;
        border-radius: 14px !important;
        margin-bottom: 20px !important;
    }

    .section-title-gradient {
        font-size: 15px !important;
        padding: 8px 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .btn-modern,
    .theme-btn.btn-style-one,
    .theme-btn.btn-style-three,
    .register-btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
        letter-spacing: 0.5px !important;
    }

    .form-group,
    .contact-form .form-group,
    .register-form .form-group {
        margin-bottom: 14px !important;
    }

    .form-column,
    .contact-column {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .astrology-chart {
        min-width: 320px;
    }

    .partner-contact-bar .contact-info,
    .family-contact-bar .contact-info,
    .contact-page-section .partner-contact-bar .contact-info,
    .contact-page-section .family-contact-bar .contact-info {
        flex-direction: column !important;
    }

    .partner-contact-bar .contact-info li,
    .family-contact-bar .contact-info li {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    .page-title {
        padding: 40px 0 30px !important;
    }

    .page-title .bread-crumb {
        font-size: 13px;
    }

    .newsletter-section,
    .contact-page-section,
    .register-section {
        padding-top: 20px !important;
        padding-bottom: 30px !important;
    }

    .form-control,
    .modern-input,
    .custom-input,
    .form-group input,
    .form-group select,
    .form-group textarea,
    .chosen-container,
    .chosen-container-single,
    .select2-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Dashboard */
    .dashboard-stat-cards {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .dashboard-stat-cards > li {
        width: calc(50% - 5px) !important;
        margin: 0 !important;
        float: none !important;
    }

    .dashboard-stat-cards .day {
        font-size: 11px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
    }

    .dash-card {
        margin-bottom: 12px;
    }

    .dash-card-body .item-line {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .profile-modal-content {
        width: 95% !important;
        max-width: 95% !important;
        padding: 16px !important;
        max-height: 85vh !important;
    }

    /* Upload photo fixed widths */
    #photoInput,
    .newsletter-section .form-control {
        max-width: 100% !important;
        width: 100% !important;
    }

    .newsletter-section .theme-btn {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Compatibility / multi-column forms */
    .schedule-timeline .col-md-4,
    .schedule-timeline .col-md-6 {
        margin-bottom: 18px;
    }

    .compact .text {
        text-align: left !important;
        font-size: 14px;
        line-height: 1.5;
    }

    /* Horoscope */
    .astrology-chart td {
        height: 72px !important;
        padding: 2px !important;
    }

    .select2-container--default .select2-selection--multiple {
        min-height: 34px !important;
    }

    /* Header / footer safety */
    .main-header .outer-box,
    .main-footer .widgets-section {
        overflow-x: hidden;
    }

    /* Mobile form controls & Chosen plugin fallback */
    select.chosen-select:not(.select2-hidden-accessible):not([style*="display: none"]):not([style*="display:none"]),
    select.form-control:not(.select2-hidden-accessible):not([style*="display: none"]):not([style*="display:none"]),
    select.modern-input:not(.select2-hidden-accessible):not([style*="display: none"]):not([style*="display:none"]) {
        height: 38px !important;
        min-height: 38px !important;
        width: 100% !important;
        border-radius: 8px !important;
        border: 1px solid var(--border-color) !important;
        background-color: #ffffff !important;
        padding: 0 10px !important;
        font-size: 13px !important;
        color: #333333 !important;
    }
    
    .chosen-container {
        width: 100% !important;
    }
    
    .contact-page-section .form-column {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .card-modern {
        padding: 16px 14px !important;
        margin-bottom: 22px !important;
        display: block !important;
        width: 100% !important;
        clear: both !important;
    }
    
    .form-group {
        margin-bottom: 14px !important;
    }
}

@media (max-width: 480px) {
    .dashboard-stat-cards > li {
        width: 100% !important;
    }

    .section-title-gradient {
        font-size: 14px !important;
    }

    .card-modern {
        padding: 14px 10px !important;
    }

    .partner-contact-bar,
    .family-contact-bar {
        padding: 18px 14px !important;
    }
}

/* Global Card Stacking & Chosen Dropdown Overflow Rules */
.card-modern {
    position: relative !important;
    overflow: visible !important;
    z-index: 1;
}
.card-modern:focus-within,
.card-modern:hover,
.card-modern.card-dropdown-active {
    z-index: 100 !important;
}
.form-group {
    position: relative !important;
    overflow: visible !important;
}
.form-group:focus-within {
    z-index: 9999 !important;
}
.chosen-container {
    position: relative !important;
    overflow: visible !important;
    width: 100% !important;
}
.chosen-container-single .chosen-single {
    height: 42px !important;
    line-height: 40px !important;
    border-radius: 8px !important;
    border: 1px solid var(--border-color, #cbd5e1) !important;
    background: #ffffff !important;
    box-shadow: none !important;
    padding: 0 12px !important;
    font-size: 13.5px !important;
    color: #333333 !important;
}
.chosen-container-single .chosen-single div b {
    background-position: 0 11px !important;
}
.chosen-container-active,
.chosen-container.chosen-with-drop {
    z-index: 99999 !important;
}
.chosen-container-active.chosen-with-drop .chosen-single {
    border-color: var(--primary-color, #E60067) !important;
    box-shadow: 0 0 0 3px rgba(230, 0, 103, 0.12) !important;
}
.chosen-container .chosen-drop {
    z-index: 999999 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18) !important;
    background: #ffffff !important;
    border-radius: 0 0 8px 8px !important;
}

/* ==========================================================================
   GLOBAL LOGO THEME OVERRIDE (Logo Pink #E60067, Royal Blue #0047AB & Radiant Gold #DAA520)
   Derived from uploads/settings/logo_1789476501.webp
   ========================================================================== */

.theme-btn.btn-style-one,
.theme-btn,
.btn-primary,
.btn-submit,
.search-btn,
.login-btn,
.btn-view-contact,
.btn-pink {
    background: linear-gradient(135deg, #FF2A85 0%, #E60067 100%) !important;
    border-color: #E60067 !important;
    color: #ffffff !important;
}

.theme-btn.btn-style-one:hover,
.theme-btn:hover,
.btn-primary:hover,
.btn-submit:hover,
.search-btn:hover,
.login-btn:hover {
    background: linear-gradient(135deg, #E60067 0%, #C70054 100%) !important;
    border-color: #C70054 !important;
    color: #ffffff !important;
}

.yesbt {
    background: #ffffff !important;
    color: #E60067 !important;
    border: 2px solid #E60067 !important;
}

.yesbt:hover {
    background: #E60067 !important;
    color: #ffffff !important;
}

.language-switcher a.active,
.language-switcher-mobile a.active,
#mobile-lang-en.active,
#mobile-lang-ta.active {
    color: #E60067 !important;
    font-weight: 700 !important;
}

.main-header .main-menu .navigation > li.current > a,
.main-header .main-menu .navigation > li > a:hover,
.main-header .outer-box .search-box-btn,
.app-menu a::after,
.mobile-quick-nav a i {
    color: #E60067 !important;
}

.app-menu a::after {
    background-color: #E60067 !important;
}

.logo-title {
    color: #E60067 !important;
}
.logo-subtitle {
    color: #0047AB !important;
}

.accent-gold,
.gold-badge,
.fa-star,
.fa-crown {
    color: #DAA520 !important;
}

.chosen-container-active.chosen-with-drop .chosen-single {
    border-color: #E60067 !important;
    box-shadow: 0 0 0 3px rgba(230, 0, 103, 0.15) !important;
}

.pcm-sidebar-brand,
.pcm-menu-link.active,
.pcm-sidebar .menu-item.active > a {
    background: linear-gradient(135deg, #E60067 0%, #0047AB 100%) !important;
    color: #ffffff !important;
}

.pcm-card-header,
.page-title {
    border-left-color: #E60067 !important;
}

/* ==========================================================================
   GLOBAL TYPOGRAPHY & FONT COLOR OVERRIDES (Logo Theme: Royal Blue & Rich Gold)
   ========================================================================== */

/* Page Titles & Section Headings */
.sec-title h2,
.page-title h1,
.section-title,
.heading-blue,
.profile-title,
.card-header h3,
.card-header h4,
.card-header h5 {
    color: #0047AB !important;
}

/* Secondary Subheadings & Highlight Text */
.sec-title .subtitle,
.sub-heading,
.text-gold,
.highlight-gold,
.gold-text {
    color: #DAA520 !important;
}

/* Links & Hover Font Colors */
a {
    color: #E60067;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #C70054;
    text-decoration: none;
}

/* Header & Menu Font Colors */
.main-header .main-menu .navigation > li > a {
    color: #1e293b !important;
}

.main-header .main-menu .navigation > li.current > a,
.main-header .main-menu .navigation > li > a:hover {
    color: #E60067 !important;
}

/* Card Body Titles & Label Font Colors */
.member-name,
.profile-name,
.user-name,
.card-title {
    color: #0047AB !important;
    font-weight: 700;
}

.detail-label,
.info-label,
.form-label,
label {
    color: #334155 !important;
    font-weight: 600;
}

.detail-value,
.info-value {
    color: #1e293b !important;
}

/* Footer Link Font Colors & Hover */
.main-footer a {
    color: #e2e8f0 !important;
}

.main-footer a:hover {
    color: #DAA520 !important;
}

/* Form Input Focus Font & Border Colors */
.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    border-color: #E60067 !important;
    box-shadow: 0 0 0 3px rgba(230, 0, 103, 0.15) !important;
    color: #1e293b !important;
}

/* Fix Chosen Select HTML5 Validation Focusability on Desktop */
@media (min-width: 769px) {
    select.chosen-select[required] {
        display: inline-block !important;
        position: absolute !important;
        clip: rect(0, 0, 0, 0) !important;
        height: 1px !important;
        width: 1px !important;
        border: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* Mobile View: Ensure all select elements (including chosen-select[required]) are fully visible & accessible */
@media (max-width: 768px) {
    select.chosen-select,
    select.chosen-select[required],
    select.form-control {
        display: block !important;
        position: static !important;
        clip: auto !important;
        height: 48px !important;
        min-height: 48px !important;
        width: 100% !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        visibility: visible !important;
        background-color: #ffffff !important;
        border: 1px solid #ced4da !important;
        border-radius: 6px !important;
        padding: 8px 12px !important;
        font-size: 14px !important;
        color: #333333 !important;
    }
}

/* =========================================================
   ANIMATED PINK BUTTON (Back to Profile / Back to Dashboard)
   ========================================================= */
.btn-back-pink,
.btn-back-profile {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    height: 36px !important;
    padding: 0 18px !important;
    border-radius: 50px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #ff2a85 0%, #ec4899 50%, #e11d48 100%) !important;
    background-size: 200% auto !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(255, 42, 133, 0.4) !important;
    text-decoration: none !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    animation: pulsePinkGlow 2.2s infinite ease-in-out !important;
    z-index: 1 !important;
    cursor: pointer !important;
}

.btn-back-pink::before,
.btn-back-profile::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent) !important;
    animation: pinkShimmer 3s infinite ease-in-out !important;
    z-index: -1 !important;
}

.btn-back-pink:hover,
.btn-back-profile:hover {
    background-position: right center !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.04) !important;
    box-shadow: 0 6px 22px rgba(255, 42, 133, 0.65) !important;
}

.btn-back-pink:active,
.btn-back-profile:active {
    transform: translateY(0) scale(0.97) !important;
    box-shadow: 0 2px 8px rgba(255, 42, 133, 0.45) !important;
}

.btn-back-pink i,
.btn-back-profile i {
    margin-right: 6px !important;
    transition: transform 0.3s ease !important;
}

.btn-back-pink:hover i,
.btn-back-profile:hover i {
    transform: translateX(-4px) !important;
}

@keyframes pulsePinkGlow {
    0% {
        box-shadow: 0 4px 14px rgba(255, 42, 133, 0.35);
    }
    50% {
        box-shadow: 0 4px 22px rgba(255, 42, 133, 0.7), 0 0 0 4px rgba(255, 42, 133, 0.2);
    }
    100% {
        box-shadow: 0 4px 14px rgba(255, 42, 133, 0.35);
    }
}

@keyframes pinkShimmer {
    0% {
        left: -100%;
    }
    30%, 100% {
        left: 100%;
    }
}

/* ==========================================================================
   GLOBAL BUTTON ANIMATIONS, HOVER EFFECTS & SHINING / SHIMMER SUITE
   ========================================================================== */

/* 1. Base button interaction & positioning */
.btn,
.theme-btn,
.btn-login-submit,
.btn-submit,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.btn-dark,
button[type="submit"]:not(.btn-link):not(.btn-close):not(.no-shine),
input[type="submit"],
.btn-outline-primary,
.btn-outline-pink {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    cursor: pointer !important;
    backface-visibility: hidden !important;
    -webkit-font-smoothing: antialiased !important;
}

/* 2. Universal Light Sweep / Shining Effect */
.btn-primary::before,
.theme-btn::before,
.btn-login-submit::before,
.btn-submit::before,
.btn-success::before,
.btn-danger::before,
.btn-warning::before,
.btn-info::before,
.btn-dark::before,
button[type="submit"]:not(.btn-link):not(.btn-close):not(.no-shine):not(.btn-back-pink):not(.btn-back-profile)::before,
.btn-shining::before {
    content: '' !important;
    position: absolute !important;
    top: -60% !important;
    left: -120% !important;
    width: 60% !important;
    height: 220% !important;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 25%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        rgba(255, 255, 255, 0) 100%
    ) !important;
    transform: rotate(25deg) !important;
    animation: globalBtnShineSweep 4s infinite cubic-bezier(0.4, 0, 0.2, 1) !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

/* 3. Hover State Animations */
.btn-primary:hover,
.theme-btn:hover,
.btn-login-submit:hover,
.btn-submit:hover,
.btn-success:hover,
.btn-danger:hover,
.btn-warning:hover,
.btn-info:hover,
.btn-dark:hover,
button[type="submit"]:not(.btn-link):not(.btn-close):not(.no-shine):hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 6px 20px rgba(11, 94, 215, 0.35) !important;
}

.btn-primary:hover::before,
.theme-btn:hover::before,
.btn-login-submit:hover::before,
.btn-submit:hover::before,
.btn-success:hover::before,
.btn-danger:hover::before,
.btn-warning:hover::before,
.btn-info:hover::before,
.btn-dark:hover::before,
button[type="submit"]:not(.btn-link):not(.btn-close):not(.no-shine):hover::before {
    animation: globalBtnShineSweepHover 1.5s infinite linear !important;
}

/* Success button hover glow */
.btn-success:hover {
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
}

/* Danger button hover glow */
.btn-danger:hover {
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4) !important;
}

/* Warning button hover glow */
.btn-warning:hover {
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4) !important;
}

/* 4. Active / Press Animation */
.btn:active,
.theme-btn:active,
.btn-login-submit:active,
.btn-submit:active,
button[type="submit"]:active {
    transform: translateY(0.5px) scale(0.98) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

/* 5. Icon motion inside animated buttons */
.btn i,
.theme-btn i,
.btn-login-submit i,
button[type="submit"] i {
    transition: transform 0.25s ease !important;
    display: inline-block !important;
}

.btn:hover i,
.theme-btn:hover i,
.btn-login-submit:hover i,
button[type="submit"]:hover i {
    transform: scale(1.15) !important;
}

/* 6. Soft Pulse Glow for Main Action Buttons */
.btn-pulse-glow,
#heroQuickRegisterForm button[type="submit"],
#auth-tab-register-btn,
.btn-login-submit {
    animation: globalPulseGlow 3s infinite ease-in-out !important;
}

/* Keyframes */
@keyframes globalBtnShineSweep {
    0% {
        left: -130%;
    }
    20% {
        left: 140%;
    }
    100% {
        left: 140%;
    }
}

@keyframes globalBtnShineSweepHover {
    0% {
        left: -130%;
    }
    100% {
        left: 140%;
    }
}

@keyframes globalPulseGlow {
    0% {
        box-shadow: 0 4px 14px rgba(11, 94, 215, 0.25);
    }
    50% {
        box-shadow: 0 6px 22px rgba(11, 94, 215, 0.45), 0 0 0 3px rgba(11, 94, 215, 0.15);
    }
    100% {
        box-shadow: 0 4px 14px rgba(11, 94, 215, 0.25);
    }
}

/* ========== Admin Footer: Fixed Bottom ========== */
.admin-custom-footer {
    position: fixed !important;
    bottom: 0 !important;
    left: 280px !important;
    right: 0 !important;
    width: calc(100% - 280px) !important;
    background: #ffffff !important;
    border-top: 1px solid #e9ecef !important;
    padding: 12px 25px !important;
    box-sizing: border-box !important;
    z-index: 999 !important;
}
body.pc-sidebar-collapsed .admin-custom-footer {
    left: 0 !important;
    width: 100% !important;
}
.pc-container {
    padding-bottom: 70px !important;
}
@media (max-width: 1024px) {
    .admin-custom-footer {
        left: 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
}

/* ========================================================
   GLOBAL ADMIN UI & BUTTON ENHANCEMENTS
   ======================================================== */

/* --- Modern Buttons --- */
.btn {
    border-radius: 6px !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
}
.btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
}
.btn:active {
    transform: translateY(0) !important;
}

.btn-primary {
    background: linear-gradient(135deg, #FF2A85 0%, #E60067 100%) !important;
    border: none !important;
    color: #ffffff !important;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #E60067 0%, #C70054 100%) !important;
    color: #ffffff !important;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
    color: #ffffff !important;
}
.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    border: none !important;
    color: #111111 !important;
}
.btn-warning:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    color: #111111 !important;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border: none !important;
    color: #ffffff !important;
}
.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
}

.btn-info {
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%) !important;
    border: none !important;
    color: #ffffff !important;
}
.btn-info:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
}

.btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%) !important;
    border: none !important;
    color: #ffffff !important;
}
.btn-secondary:hover {
    background: linear-gradient(135deg, #475569 0%, #334155 100%) !important;
    color: #ffffff !important;
}

.btn-light {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
}
.btn-light:hover {
    background: #e2e8f0 !important;
    color: #1e293b !important;
}

.btn-sm {
    padding: 6px 14px !important;
    font-size: 12.5px !important;
    border-radius: 5px !important;
}

/* --- Action Icons in DataTables --- */
table.dataTable tbody td .btn-activate-plan,
table.dataTable tbody td .btn-update-password,
table.dataTable tbody td a[title*="View"],
table.dataTable tbody td a[title*="Print"],
table.dataTable tbody td a[title*="Edit"],
table.dataTable tbody td a[title*="Delete"],
table.dataTable tbody td .btn-member-delete,
.datatable-table tbody td a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    vertical-align: middle !important;
}
table.dataTable tbody td a:hover,
.datatable-table tbody td a:hover {
    transform: scale(1.18) !important;
    filter: brightness(1.15) !important;
    background: rgba(0, 0, 0, 0.05) !important;
}

/* Specific icon color highlights */
.f-20 {
    font-size: 17px !important;
}

/* --- Cards & Headers --- */
.card {
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 20px !important;
}
.card-header {
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 14px 20px !important;
    border-radius: 10px 10px 0 0 !important;
}
.card-header h5 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin: 0 !important;
}

/* --- DataTables & Tables --- */
.table {
    vertical-align: middle !important;
}
.table thead th {
    background: #f8fafc !important;
    color: #475569 !important;
    font-weight: 600 !important;
    font-size: 12.5px !important;
    letter-spacing: 0.3px !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding: 11px 14px !important;
    white-space: nowrap !important;
}
.table tbody td {
    padding: 10px 14px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 13.5px !important;
    color: #334155 !important;
}
.table-hover tbody tr:hover {
    background-color: #f8fafc !important;
}

/* --- Form Controls --- */
.form-control, .form-select, select.form-control {
    border-radius: 6px !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 13.5px !important;
    padding: 7px 12px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}
.form-control:focus, .form-select:focus, select.form-control:focus {
    border-color: #E60067 !important;
    box-shadow: 0 0 0 3px rgba(230, 0, 103, 0.15) !important;
}
.form-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 5px !important;
}

/* --- Badges --- */
.badge {
    padding: 5px 10px !important;
    font-weight: 600 !important;
    font-size: 11.5px !important;
    letter-spacing: 0.3px !important;
    border-radius: 20px !important;
}
.badge-success, .bg-success {
    background: #dcfce7 !important;
    color: #15803d !important;
    border: 1px solid #bbf7d0 !important;
}
.badge-warning, .bg-warning {
    background: #fef3c7 !important;
    color: #b45309 !important;
    border: 1px solid #fde68a !important;
}
.badge-danger, .bg-danger {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
}
.badge-info, .bg-info {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
}
.badge-secondary, .bg-secondary {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
}

/* ========================================================
   MEMBERS PAGE & ADMIN CARDS, BUTTONS & TABLE ANIMATIONS
   ======================================================== */

/* --- 1. Button Shining Light Sweep & Hover Glow --- */
.btn-primary, .btn-success, .btn-info, .btn-warning, .btn-activate-plan, #btnBulkBiodataTop, #btnBulkBiodata {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

.btn-primary::after, .btn-success::after, .btn-info::after, .btn-warning::after, .btn-activate-plan::after, #btnBulkBiodataTop::after, #btnBulkBiodata::after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -130% !important;
    width: 60% !important;
    height: 200% !important;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 80%
    ) !important;
    transform: rotate(25deg) !important;
    animation: btnShineSweep 4s infinite ease-in-out !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.btn:hover::after {
    animation: btnShineSweepHover 0.75s ease-in-out !important;
}

@keyframes btnShineSweep {
    0% { left: -130%; }
    18% { left: 140%; }
    100% { left: 140%; }
}

@keyframes btnShineSweepHover {
    0% { left: -130%; }
    100% { left: 140%; }
}

/* Button Subtle Pulse */
.btn-success, .btn-activate-plan, #btnBulkBiodataTop {
    animation: pulseGlowSuccess 3.5s infinite ease-in-out !important;
}

@keyframes pulseGlowSuccess {
    0% { box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25); }
    50% { box-shadow: 0 4px 16px rgba(16, 185, 129, 0.45), 0 0 0 2px rgba(16, 185, 129, 0.15); }
    100% { box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25); }
}

/* --- 2. Page Cards: Entrance Animation, Hover Lift & Shining Border --- */
.card, .profile-card, .dashboard-card, .table-card {
    animation: cardFadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
    position: relative !important;
}

.card:hover, .table-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(11, 94, 215, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

@keyframes cardFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Header Accent Line with subtle shimmer */
.card-header {
    position: relative !important;
}
.card-header::after {
    content: '' !important;
    position: absolute !important;
    bottom: -1px !important;
    left: 20px !important;
    width: 60px !important;
    height: 2px !important;
    background: linear-gradient(90deg, #E60067, #10b981) !important;
    border-radius: 2px !important;
}

/* --- 3. Table Animation & Shining Row Hover --- */
.table-responsive {
    animation: tableFadeIn 0.6s ease both !important;
}

@keyframes tableFadeIn {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

.table tbody tr {
    transition: all 0.22s ease !important;
    position: relative !important;
}

.table-hover tbody tr:hover,
.datatable-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(11, 94, 215, 0.04) 0%, rgba(255, 255, 255, 0) 100%) !important;
    transform: scale(1.002) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

/* Action Icon Animation */
.datatable-table tbody td a,
table.dataTable tbody td a {
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.datatable-table tbody td a:hover,
table.dataTable tbody td a:hover {
    transform: scale(1.25) translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

/* Member Thumbnail Photo Hover Shine */
.member-thumb, .table tbody td img {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    border-radius: 6px !important;
}
.member-thumb:hover, .table tbody td img:hover {
    transform: scale(1.2) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
    z-index: 10 !important;
    position: relative !important;
}

/* --- Front-end Members Page: Logo Pink, Royal Blue & Gold Vibrant Theme --- */
.dash-card, .dashboard-stat-cards li {
    animation: cardFadeInUp 0.5s ease both !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1.5px solid rgba(230, 0, 103, 0.18) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(230, 0, 103, 0.06) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fffbfa 100%) !important;
    position: relative !important;
}

.dash-card:hover, .dashboard-stat-cards li:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(230, 0, 103, 0.16), 0 0 20px rgba(255, 215, 0, 0.22) !important;
    border-color: #ffd700 !important;
}

/* Card Top Border Accent: Logo Pink to Royal Blue to Golden Yellow */
.dash-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, #E60067 0%, #0047AB 50%, #ffd700 80%, #ffc400 100%) !important;
    border-radius: 12px 12px 0 0 !important;
}

.dash-card-header h5 {
    color: #0047AB !important;
    font-weight: 700 !important;
}

/* Dashboard Stat Cards: Logo Pink & Gold Shining Cards */
.dashboard-stat-cards {
    gap: 12px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    padding: 0 !important;
    list-style: none !important;
}

.dashboard-stat-cards li {
    flex: 1 1 200px !important;
    background: linear-gradient(135deg, #E60067 0%, #0047AB 100%) !important;
    border: 2px solid #ffd700 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    text-align: center !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(230, 0, 103, 0.25), 0 0 10px rgba(255, 215, 0, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

.dashboard-stat-cards li .day {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    display: block !important;
}

.dashboard-stat-cards li .date {
    color: #ffd700 !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    display: block !important;
    margin-top: 4px !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7), 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.dashboard-stat-cards li::after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -130% !important;
    width: 60% !important;
    height: 200% !important;
    background: linear-gradient(60deg, transparent 20%, rgba(255, 215, 0, 0.45) 50%, transparent 80%) !important;
    transform: rotate(25deg) !important;
    animation: btnShineSweep 3.5s infinite ease-in-out !important;
    pointer-events: none !important;
}

/* --- Logo Themed Buttons with Shining Effect --- */
.theme-btn, .btn-login-submit, .btn-primary {
    background: linear-gradient(135deg, #FF2A85 0%, #E60067 100%) !important;
    border: 1.5px solid #ffd700 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 14px rgba(230, 0, 103, 0.35), 0 0 10px rgba(255, 215, 0, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.theme-btn:hover, .btn-login-submit:hover, .btn-primary:hover {
    background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%) !important;
    border-color: #E60067 !important;
    color: #0f172a !important;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5), 0 0 15px rgba(230, 0, 103, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* Golden Yellow Action Badges & Edit Links */
.edit-link {
    background: linear-gradient(135deg, #fff700 0%, #ffd700 50%, #ffc400 100%) !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 12.5px !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    border: 1.5px solid #eab308 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: all 0.25s ease !important;
}

.edit-link:hover {
    background: linear-gradient(135deg, #FF2A85 0%, #E60067 100%) !important;
    color: #ffffff !important;
    border-color: #ffd700 !important;
    box-shadow: 0 4px 14px rgba(230, 0, 103, 0.4), 0 0 10px rgba(255, 215, 0, 0.5) !important;
    transform: scale(1.08) !important;
}

/* --- Logo Themed Tables & Horoscope Charts --- */
.horo-chart-table {
    border: 3px solid #0047AB !important;
    box-shadow: 0 6px 20px rgba(0, 71, 171, 0.18), 0 0 12px rgba(255, 215, 0, 0.2) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    background: #ffffff !important;
}

.horo-chart-table:hover {
    transform: scale(1.015) !important;
    border-color: #ffd700 !important;
    box-shadow: 0 10px 28px rgba(230, 0, 103, 0.25), 0 0 20px rgba(255, 215, 0, 0.35) !important;
}

.horo-chart-table th, .horo-chart-title {
    background: linear-gradient(135deg, #E60067 0%, #0047AB 100%) !important;
    color: #ffd700 !important;
    font-weight: 800 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

.horo-chart-table td {
    border: 1.5px solid #0047AB !important;
    transition: background 0.2s ease !important;
}

.horo-chart-table td:hover {
    background: rgba(255, 215, 0, 0.15) !important;
}

/* Personal Details Table Polish */
.personal-table tr, .table-details tr {
    transition: all 0.2s ease !important;
}

.personal-table tr:hover, .table-details tr:hover {
    background: linear-gradient(90deg, rgba(230, 0, 103, 0.05) 0%, rgba(255, 215, 0, 0.08) 100%) !important;
    box-shadow: inset 3px 0 0 #ffd700 !important;
}

/* ========================================================
   MEMBERSHIP PLAN PAGE: VIBRANT BLUE & GOLD BUTTONS & CARDS
   ======================================================== */
.plan-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 24px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    border: none !important;
}

/* Paid Plan Button: Radiant Golden Yellow with Navy Text */
.btn-plan-paid {
    background: linear-gradient(135deg, #fff700 0%, #ffd700 40%, #f59e0b 100%) !important;
    color: #0f172a !important;
    border: 2px solid #eab308 !important;
    box-shadow: 0 4px 18px rgba(255, 215, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    animation: pulseGlowGold 3s infinite ease-in-out !important;
}

.btn-plan-paid::after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -130% !important;
    width: 60% !important;
    height: 200% !important;
    background: linear-gradient(60deg, transparent 20%, rgba(255, 255, 255, 0.75) 50%, transparent 80%) !important;
    transform: rotate(25deg) !important;
    animation: btnShineSweep 3.5s infinite ease-in-out !important;
    pointer-events: none !important;
}

.btn-plan-paid:hover {
    background: linear-gradient(135deg, #E60067 0%, #0047AB 100%) !important;
    color: #ffffff !important;
    border-color: #ffd700 !important;
    box-shadow: 0 8px 25px rgba(230, 0, 103, 0.4), 0 0 15px rgba(255, 215, 0, 0.6) !important;
    transform: translateY(-3px) scale(1.02) !important;
}

/* Free Plan Button: Logo Pink with Golden Trim */
.btn-plan-free {
    background: linear-gradient(135deg, #FF2A85 0%, #E60067 100%) !important;
    color: #ffffff !important;
    border: 2px solid #ffd700 !important;
    box-shadow: 0 4px 15px rgba(230, 0, 103, 0.3) !important;
}

.btn-plan-free::after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -130% !important;
    width: 60% !important;
    height: 200% !important;
    background: linear-gradient(60deg, transparent 20%, rgba(255, 215, 0, 0.5) 50%, transparent 80%) !important;
    transform: rotate(25deg) !important;
    animation: btnShineSweep 4s infinite ease-in-out !important;
    pointer-events: none !important;
}

.btn-plan-free:hover {
    background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%) !important;
    color: #0f172a !important;
    border-color: #E60067 !important;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.45) !important;
    transform: translateY(-3px) scale(1.02) !important;
}

@keyframes pulseGlowGold {
    0% { box-shadow: 0 4px 15px rgba(255, 215, 0, 0.35); }
    50% { box-shadow: 0 6px 24px rgba(255, 215, 0, 0.6), 0 0 0 3px rgba(255, 215, 0, 0.25); }
    100% { box-shadow: 0 4px 15px rgba(255, 215, 0, 0.35); }
}

/* Plan Card Polish */
.pricing-block-three .inner-box {
    border: 2px solid rgba(230, 0, 103, 0.15) !important;
    border-radius: 16px !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #ffffff 0%, #fffbfa 100%) !important;
}

.pricing-block-three .inner-box::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, #E60067 0%, #0047AB 50%, #ffd700 100%) !important;
}

.pricing-block-three .inner-box:hover {
    transform: translateY(-8px) !important;
    border-color: #ffd700 !important;
    box-shadow: 0 16px 35px rgba(230, 0, 103, 0.16), 0 0 20px rgba(255, 215, 0, 0.25) !important;
}

/* Plan Ticker Banner Override */
.plan-ticker-wrap {
    background: linear-gradient(135deg, #FF2A85 0%, #E60067 100%) !important;
    border-top: 1px solid #c70054 !important;
    border-bottom: 1px solid #c70054 !important;
}