* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.dark-mode {
    background-color: #101626 !important;
    color: #e0e0e0;
}

/* body {
    font-family: var(--unnamed-font-style-normal) normal var(--unnamed-font-weight-normal) var(--unnamed-font-size-16) / var(--unnamed-line-spacing-19) var(--unnamed-font-family-roboto);
    background-color: #f5f5f5;
    font-size: 0.5rem;
    line-height: 1.5;
    color: #858796;

    letter-spacing: var(--unnamed-character-spacing-0);
    color: var(--light-text);
    font: normal normal normal 14px/15px Roboto;
    letter-spacing: 0px;
    color: #665a72;
    opacity: 1;
} */

/* Header Styles */
.header {
    background: linear-gradient(135deg, #729fd8 0%, #729fd8 100%);
    color: white;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: none;
}

.header h1 {
    font-size: 28px;
    font-weight: 600;
}

.search-box {
    flex: 1;
    max-width: 300px;
    margin: 0 10px;
}

.search-box input {
    width: 100%;
    padding: 10px 20px 10px 45px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 14px;
    outline: none;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-icons button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.3s;
}

.header-icons button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 15px;
}

.theme-toggle span {
    font-size: 14px;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: left 0.3s;
}

.toggle-switch.active::after {
    left: 28px;
}

.profile-card {
    width: 350px;
}

/* Main Card */
.ceremony-card {
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    border: none;
    margin-bottom: 20px;
}

.ceremony-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.flex-grow-1 {
    margin: 0px !important;
}

.timelineDetail h4 {
    margin-bottom: 2px !important;
    margin-top: 5px !important;
}

.timelineDetail h5 {
    margin-bottom: 2px !important;
}

.timelineDetail h6 {
    margin-bottom: 0 !important;
}

.about h5 {
    margin-bottom: 4px !important;
    margin-top: 5px !important;
}

.about p {
    margin-bottom: 0px !important;
}


.ceremony-card .footer-card {
    margin-top: 10px;
}

/* Profile Image */
.profile-img {
    width: 310px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

/* Like Icon */
.like_icon {
    margin-right: 4px;
    cursor: pointer;
}

/* Report link */
.ceremony_report_li {
    color: #4b3049;
    text-decoration: none;
}

.owner-actions {
    padding-top: 12px;
    gap: 10px;
}

.owner-btn {
    font-weight: 600;
    color: #665a72;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.owner-btn i,
.owner-btn img {
    background: #c5d4f3;
    padding: 3px;
    border-radius: 50%;
    color: #fff;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    left: 0;
    top: 50px;
    width: 260px;
    height: calc(100vh - 70px);
    background: linear-gradient(135deg, #729fd8 0%, #729fd8 100%);
    color: white;
    padding: 20px;
    /* overflow-y: auto; */
    transition: transform 0.3s;
    z-index: 999;
    height: 100%;
}

.sidebar.hidden {
    transform: translateX(-100%);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin-bottom: 30px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.menu-list {
    list-style: none;
}

.menu-item {
    margin-bottom: 5px;
}

.menu-item a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.menu-item a.active,
.menu-item a:hover {
    background: white !important;
    color: #729fd8 !important;
    font-weight: 600;
}

.menu-item a.active i,
.menu-item a:hover i {
    color: #729fd8 !important;
}

.menu-item a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.menu-item i {
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 18px 0;
}

.social-links img {
    width: 20px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.1);
}


.ceremony-modal {
    position: fixed;
    inset: 0;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.ceremony-modal-content {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    max-width: 370px;
    width: 100%;
    text-align: center;
    position: relative;
}

.ceremony-btn {
    display: block;
    background: #7da2d6;
    color: #fff;
    padding: 14px;
    border-radius: 30px;
    text-decoration: none;
    margin: 8px 0;
    font-weight: 600;
}

.ceremony-btn:hover {
    background: #7da2d6;
    color: #fff;
}

.or-text {
    margin: 15px 0;
    color: #777;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    display: none
}

@media (max-width: 480px) {
    .ceremony-modal-content {
        padding: 25px 16px;
        border-radius: 14px;
        width: 256px;
    }

    .ceremony-btn {
        padding: 10px;
        font-size: 10px;
    }
}

.main-content {
    margin-left: 230px;
    padding-top: 90px;
    /* padding: 30px; */
    transition: margin-left 0.3s;
    /* margin-right: 0px; */
}

.main-content.expanded {
    margin-left: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-date {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: none;
    border: none;
    color: #4caf50;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
    border-radius: 5px;
}

.filter-btn:hover {
    background: #f0f0f0;
}

/* Memorial Card */
.memorial-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.memorial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.card-time {
    color: #999;
    font-size: 14px;
}

.card-body {
    text-align: center;
}

.family-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: left;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s;
}

.action-btn:hover {
    background: #f5f5f5;
}

.like-btn {
    color: #e74c3c;
}

.like_icon {
    font-size: 19px;
    transition: transform 0.2s;
}

.ceremony_like_li:hover .like_icon {
    transform: scale(1.2);
}

.like_count {
    font-size: 15px;
}

.comment-btn {
    color: #666;
}

.share-btn {
    color: #666;
}

.report-btn {
    color: #e74c3c;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
        overflow-y: auto;

    }

    .user-profile {
        display: flex;
        align-items: center;
        padding: 0 !important;
        margin-bottom: 0 !important;
        gap: 0 !important;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .search-box {
        display: none;
    }

    .header h1 {
        font-size: 20px;
    }

    .header-icons button {
        font-size: 18px;
    }

    .filter-bar {
        flex-direction: column;
        gap: 15px;
    }
}

/* Dark Mode */
body.dark-mode {
    background-color: #101626;
    color: #e0e0e0;
    box-shadow: 0px 3px 6px #FFFFFF33;
}

body.dark-mode .ceremony-modal-content {
    background-color: #101626;
    color: #e0e0e0;
    border: none;
    box-shadow: 0px 3px 6px #FFFFFF33;
}

body.dark-mode .filter-box {
    background-color: #101626;
    color: #e0e0e0;
    border: none;
    box-shadow: 0px 3px 6px #FFFFFF33;

}

/* Dark Mode - Sidebar */
body.dark-mode .sidebar {
    background: #585858 !important;
}


/* Dark Mode - Active Menu Items */
body.dark-mode .menu-item a {
    color: rgba(255, 255, 255, 0.8) !important;
}

body.dark-mode .menu-item a.active,
body.dark-mode .menu-item a:hover {
    background: #101626 !important;
    color: white !important;
}

body.dark-mode .menu-item a i {
    color: rgba(255, 255, 255, 0.7) !important;
}

body.dark-mode .menu-item a.active i,
body.dark-mode .menu-item a:hover i {
    color: white !important;
}

body.dark-mode .modern-input,
body.dark-mode .form-control {
    background-color: #1c253b;
    color: white;
    border-color: #5b9bd5;
}

body.dark-mode .modern-input:focus,
body.dark-mode .form-control:focus {
    background-color: #1c253b;
    color: white;
}

body.dark-mode .modern-input::placeholder,
body.dark-mode .form-control::placeholder {
    color: #a8b5c8;
}

/* Dark Mode - Main Content Area */
body.dark-mode .main-content {
    background-color: #101626;
    color: white;
}

/* Dark Mode - Cards */
body.dark-mode .memorial-card,
body.dark-mode .light-card,
body.dark-mode .card,
body.dark-mode .proof-btn {
    background: #101626;
    color: white;
    box-shadow: 0px 3px 6px #FFFFFF33;
}

body.dark-mode .profile-header {
    background: #101626;
    color: white;
}

/* Dark Mode - Select2 visibility fixes */
body.dark-mode .select2-container--default .select2-selection--multiple {
    background-color: #1c253b !important;
    border-color: #5b9bd5 !important;
}

body.dark-mode .select2-selection__choice {
    background-color: #5b9bd5 !important;
    border-color: #5b9bd5 !important;
    color: white !important;
}

body.dark-mode .select2-selection__choice__display {
    color: white !important;
}

body.dark-mode .select2-search__field {
    color: white !important;
}

body.dark-mode .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
}

body.dark-mode .card-title,
body.dark-mode .person-name,
body.dark-mode .profile-name {
    color: white;
}

/* Dark Mode - Color Overrides (#665A72 and #666 to white) */
body.dark-mode *:not(button):not(input) {
    color: inherit;
}

body.dark-mode .detail-label,
body.dark-mode .detail-value,
body.dark-mode .section_title_1,
body.dark-mode p,
body.dark-mode span,
body.dark-mode label,
body.dark-mode .text-muted,
body.dark-mode .text-dark,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode .memorial-dates,
body.dark-mode .card span {
    color: white !important;
}

body.dark-mode .section-header h4 {
    color: white !important;
}

body.dark-mode .family-section {
    background: #1c253b;
}

body.dark-mode .filter-bar {
    background: #101626;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

body.dark-mode .card-actions {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Dark Mode - Header */
body.dark-mode .header {
    background: #585858;
}

/* Dark Mode - Light Theme Wrapper */
body.dark-mode .light-theme-wrapper {
    background: #101626;
}


.btn_3 {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.login_side_box {
    background: #f4edf2;
    padding: 40px;
    color: #fff;
    border-radius: 10px;
    text-align: center;
}

.login_side_box h2 {
    font-size: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.login_side_box a {
    background: #fff;
    color: #1b62d1;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 600;
    margin-top: 10px;
}

#dateDisplay {
    font-size: 14px;
    padding: 20px;
    border-radius: 23px;
    border: 1px solid #ddd;
    width: 120px;
    text-align: center;
}

/* Filter Icon */
#filterToggle {
    font-size: 18px;
    cursor: pointer;
}

#filterToggle:hover {
    transform: scale(1.1);
}

/* Filter Box */
.filter-box {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background-color: white;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    width: 300px;
    z-index: 999;
    left: 100%;
    transform: translateX(-50%);
}

.filter-box.show {
    display: block;
}

#filterClose {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
    cursor: pointer;
}

/* Sticky Header Wrapper */
.sticky-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 500;
    padding: 5px 0;
}

/* Form inside Filter */
.filter_card form {
    flex-wrap: wrap;
    gap: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .timelinne_outer {
        margin-left: 0 !important;
        max-width: 100% !important;
        padding: 0 10px;
    }

    .filter_card {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter_card .d-flex.align-items-center.gap-1.flex-grow-1 {
        width: 100%;
        justify-content: space-between;
    }

    #dateDisplay {
        max-width: 100%;
    }

    #prevDate,
    #nextDate {
        padding: 5px 8px;
        font-size: 14px;
    }

    .d-flex.align-items-center.ms-3 {
        margin-top: 10px;
        width: 100%;
        justify-content: flex-start;
    }

    .filter-box {
        width: 100% !important;
        top: 100%;
        right: 0;
    }

    .profile-card.header_card {
        padding: 10px;
    }

    .timelineDetail img.profile-img {
        width: 100%;
        max-width: 200px;
        height: auto;
    }


}

/* Styling for the filter form elements */

.form-select,
.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
}

.form-select-sm,
.form-control-sm {
    font-size: 10px;
}

#filter-posts {
    z-index: 500 !important;
}

@media (max-width: 767px) {
    .filter-box {
        width: 100%;
    }
}

.featured_img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}

.banner_edit_icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #000;
    color: #fff;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
}

.profile_image_wrapper {
    position: relative;
    margin-left: 30px;
    margin-top: -60px;
    float: left;
}

.profile_img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 2px solid #fff;
    border-radius: 50%;
}

.profile_plus_icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    padding: 8px;
    cursor: pointer;
}

.clr-gray2 {
    font-family: normal normal medium 16px/19px Raleway;
    letter-spacing: 0px;
    color: var(--unnamed-color-707070);
    font: var(--unnamed-font-style-normal) normal var(--unnamed-font-weight-medium) var(--unnamed-font-size-16) / var(--unnamed-line-spacing-19) var(--unnamed-font-family-raleway);
}

.custom-card {
    border-radius: 14px !important;
    padding: 20px;
    background: #fff;
    border: none;
}



.section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

.compact-card h5 {
    font-size: 13px !important;
    margin-bottom: 4px;
    font-weight: 600;
}

.locked-card {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(1);
    position: relative;
}

.locked-card::after {
    content: "🔒 Locked until Basic Details saved";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    background: rgba(255, 255, 255, 0.85);
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
}

.modern-input {
    border: 1.5px solid #5b9bd5;
    border-radius: 25px;
    padding: 4px 43px 3px 10px !important;
    font-size: 12px;
    transition: all 0.3s ease;
}

textarea.modern-input {
    border-radius: 14px;
    padding: 4px 3px !important;
}

.modern-input:focus {
    border-color: #729fd8;
    box-shadow: 0 0 0 0.2rem rgba(91, 155, 213, 0.15);
    outline: none;
}

.modern-input::placeholder {
    color: #a8b5c8;
}

.position-relative .input-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    pointer-events: none;
}

.position-relative .input-icon_1 {
    position: absolute;
    right: 11px;
    top: 72%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    pointer-events: none;
}

.position-relative .upload-icon {
    border-radius: 50%;
    padding: 5px;
    width: 20px;
    background: #c5d4f3;
    color: white;
    height: 20px;
    position: absolute;
    right: 7px;
}

.removeEvent:hover {
    color: #c82333 !important;
    transform: scale(1.1);
}

.btn-primary {
    background: linear-gradient(135deg, #5b9bd5 0%, #729fd8 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #729fd8 0%, #729fd8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 155, 213, 0.3);
}

.badge {
    padding: 6px 12px;
    font-weight: 500;
}

.file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input-wrapper input[type="file"] {
    width: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    cursor: pointer;
}

.file-name {
    display: block;
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #5b9bd5;
    border-radius: 25px;
    font-size: 0.95rem;
    color: #555;
    pointer-events: none;
    transition: all 0.3s ease;
}

.file-input-wrapper:hover .file-name {
    border-color: #3a7bd5;
}

.small {
    font-size: 12px;
    margin-top: 10px;
}

.section_title_1 {
    color: #665a72 !important;
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
    font-family: "Raleway";
}

/*ceremony index page */
.search-bar {
    background: var(--input-bg);
    border-radius: 20px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    width: 300px;
}

.search-bar input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    outline: none;
    font-size: 14px;
}

.hidden-date-trigger {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.search-bar i {
    color: rgba(255, 255, 255, 0.8);
}

.main-wrapper {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    padding-bottom: 50px;
    /* margin-left: 15px; */
}

.content-area {
    width: 100%;
    max-width: 500px;
    /* margin-left: 20px; */
    position: relative;
}

/* Custom Date Input (The Rectangle Box) */
.custom-date-input {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f8f8f8;
    /* Light background for the box */
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* filter and post detail page css */
/* Banner */
.profile-banner {
    height: 250px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Profile Header */
.profile-header {
    margin-bottom: 30px;
    position: relative;
}

.profile-avatar-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 15px;
    /* Square with rounded corners */
    overflow: hidden;
    /* border: 4px solid #fff; */
    /* White border for light theme */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
    margin-top: -60px;
    /* Overlap banner by ~40% */
    position: relative;
    z-index: 20;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    color: #101626;
    font-weight: 800;
    font-size: 28px;
    /* margin-bottom: 5px; */
}

.profile-dates {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

/* Interaction Bar */
.interaction-bar {
    display: flex;
    gap: 15px;
    align-items: center;
}

@media (max-width: 768px) {
    /* .interaction-bar {
        padding-left: 0;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 20px;
    } */

    .main-container {
        margin-top: 0;
    }

    .profile-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-avatar-wrapper {
        margin-top: -70px;
    }

    .profile-info {
        margin-left: 0 !important;
        margin-top: 15px;
    }
}


/* Light Cards */
.light-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.tribute-text {
    white-space: normal;
    /* line break allow */
    word-break: break-word;
    /* long word break */
    overflow-wrap: anywhere;
    /* safety */
}

.detail-row {
    margin-bottom: 0px;
    font-size: 15px / 18px Raleway;
    margin-bottom: 0;
    /* color: #000000; */
}

.tribute-text {
    /* color: #333; */
    line-height: 1.6;
    font-size: 15px;
}

/* Timeline */
/* Timeline */
/* ================= TIMELINE WRAPPER ================= */
.timeline-container {
    position: relative;
    padding-left: 10px;
}

/* ================= TIMELINE ITEM ================= */
.timeline-item {
    position: relative;
    padding-left: 25px;
    padding-bottom: 35px;
    margin-left: 0px;
}

/* Vertical line (proper centered) */
.timeline-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 2px;
    height: 100%;
    background-color: #729fd8;
}

/* Remove line for last item */
.timeline-item.timeline-last::before {
    height: 0;
}

/* ================= DOT ================= */
.timeline-dot {
    position: absolute;
    left: -7px;
    /* Perfect center on line */
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Dot colors */
.dot-blue {
    background-color: #665a72;
    border-color: #729fd8;
}

.dot-purple {
    background-color: #fff;
    border-color: #665a72;
}

/* ================= CONTENT ================= */
.timeline-content {
    margin-top: -4px;
}

/* Text styling (optional refinement) */
.event-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.event-time {
    font-size: 13px;
    color: #666;
}

.event-location {
    font-size: 14px;
    margin-top: 5px;
}

.event-actions a {
    font-size: 13px;
}

/* Wrapper */
.time-wrapper {
    position: relative;
}

/* Remove default time picker icon (Chrome, Edge, Safari) */
input[type="time"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    cursor: pointer;
}

/* Extra right padding for input so text doesn't overlap */
.event-time {
    padding-right: 40px;
}

/* ONLY last event */

.event-title {
    color: #000 !important;
    font-weight: 700;
    margin-bottom: 4px;
}

.event-meta {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.event-time {
    color: #333;
}

.add-event-btn {
    color: #b0b0b0;
    /* Light gray for "Add" */
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s;
}

.add-event-btn:hover {
    color: #729fd8;
}

.add-event-btn i {
    color: #bfaec2;
    /* Icon color */
    font-size: 18px !important;
}

.event-location {
    color: #555;
    font-size: 14px;
    /* margin-bottom: 8px; */
    line-height: 1.4;
}

.action-link {
    color: #665a72;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
    margin-right: 15px;
}

.action-link:hover {
    color: #729fd8;
}

.timeline-footer {
    margin-top: 25px;
    font-style: italic;
    color: #888;
    font-size: 14px;
}

/* Proof Documents */
.proof-btn {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 12px 30px;
    border-radius: 30px;
    /* Pill shape */
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.proof-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.proof-btn a {
    color: black;
}

/* ceremony css */
.relation-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#saveRelations {
    padding-left: 50px;
    padding-right: 50px;
    border-radius: 30px;
}

.relation-item {
    background: linear-gradient(135deg, #729fd8 0%, #729fd8 100%);
    border-radius: 30px !important;
    padding: 14px 18px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: white;
}

.relation-text {
    font-size: 14px;
    color: white;
    font-size: bold;
}

.relation-add {
    width: 26px;
    height: 26px;
    background: #cfe0ff;
    color: #3f6fd8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.relation-add-indicator {
    width: 26px;
    height: 26px;
    background: #cfe0ff;
    color: #3f6fd8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    pointer-events: none;
    /* click disable */
}

.relation-input-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0;
    background: #fff;
    border-radius: 30px;
    padding: 6px 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.relation-input-row input[type="text"] {
    flex: 1;
    border-radius: 20px;
    padding-right: 32px;
    font-size: 14px;
    border: none;
}

.relation-input-row .input-add,
.relation-input-row .remove-rel {
    width: 26px;
    height: 26px;
    background: #ffcfcf;
    color: #d83f3f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    flex-shrink: 0;
}

.relation-input-row input[type="text"] {
    flex: 1;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
}

.relation-input-row input:focus {
    border-color: #fff !important;
    box-shadow: none !important;
    outline: none;
}

.relation-ui-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comment-scroll::-webkit-scrollbar {
    display: none;
}

.comment-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* faq css */
/* Remove default details marker */
details>summary {
    list-style: none;
}

details>summary::-webkit-details-marker {
    display: none;
}

.faq-item {
    transition: all 0.2s ease;

}

.faq-item[open] {
    border-color: #c5d4f3;
    background-color: #fff;
}

.faq-summary {
    cursor: pointer;
    transition: background-color 0.2s;
}

.faq-summary:hover {
    background-color: #fafafa;
}

.faq-item[open] .faq-summary {
    border-bottom: 1px solid #f8f9fa;
}


/* Rotate icon when open */
details[open] summary .faq-icon i {
    transform: rotate(180deg);
}

.faq-icon i {
    transition: transform 0.2s ease;
}

body.dark-mode .faq-summary {
    color: #ffffff;
    background-color: #101626;
    border: none;
}

body.dark-mode .faq-item {
    background-color: #101626;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .faq-item[open] {
    background-color: #101626;
    border-color: #729fd8;
}

body.dark-mode .faq-item[open] .faq-summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .faq-content,
body.dark-mode .faq-content .description {
    color: #e0e0e0 !important;
}

body.dark-mode .relation-input-row {
    background: #101626;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

body.dark-mode .relation-input-row input {
    background: transparent;
    color: white;
}


.faq-title {
    font-size: 1.1rem;
    color: #333;
}

/* toggle bar */
.mini-toggle-wrap {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.mini-toggle {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
}

.mini-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.mini-toggle-slider {
    position: absolute;
    inset: 0;
    background-color: #d1d5db;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.mini-toggle-slider::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    left: 3px;
    top: 3px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* Checked state */
.mini-toggle input:checked+.mini-toggle-slider {
    background-color: #3a7bd5;
}

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

.modern-input::placeholder {
    padding-left: 5px;
    color: #9aa0a6;
}

.filter-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 10px 20px;
    background: transparent;
    margin-bottom: 20px;
    margin-left: 60px;
}

.date-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    /* background: #e8ecf3; Light background for date pill if needed, or transparent */
    padding: 8px 0;
    border-radius: 20px;
    font-size: 14px;
    color: #6c757d;
}

body.dark-mode .form-control:not(.form-control-navbar):not(.form-control-sidebar),
.dark-mode .custom-select,
.dark-mode .custom-file-label,
.dark-mode .custom-file-label::after,
.dark-mode .custom-control-label::before,
.dark-mode .input-group-text {
    background-color: #101626 !important;
    color: #fff;
}

bo .date-picker-wrapper img {
    width: 18px;
    height: 18px;
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #6c757d;
    font-weight: 500;
    margin-right: 50px;
}

.filter-toggle-icon-wrap {
    position: relative;
}

.filter-toggle img {
    width: 20px;
    height: 20px;
}

.filter-box {
    display: none;
    position: absolute;
    top: 50px;
    z-index: 10;
    background: #fff;
    width: 330px;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #f0f0f0 !important;
    text-align: left;
    left: auto !important;
    transform: none !important;
}

/* Pointer arrow */
/* .filter-box::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 26px;
    width: 16px;
    height: 16px;
    background: #fff;
    transform: rotate(45deg);
    border-top: 1px solid #f0f0f0;
    border-left: 1px solid #f0f0f0;
} */

/* Location Section */
.location-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0px;
    color: #333;
    font-weight: 700;
}

.location-icon i {
    color: #5b9bd5;
    font-size: 16px;
}

.filter-title {
    font-size: 16px;
    font-weight: 700;
}

.city-selector-placeholder {
    position: relative;
}

.current-city-display {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
    margin-left: 24px;
    /* Align with text not icon */
}

/* Select2 Customization to match "Pills" */
.select2-container--default .select2-selection--multiple {
    border: none !important;
    background: transparent !important;
    padding-bottom: 5px;
    border-bottom: 2px solid #5b9bd5 !important;
    border-radius: 0 !important;
    outline: none !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: none !important;
    border-bottom: 2px solid #5b9bd5 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #fff !important;
    border: 1px solid #5b9bd5 !important;
    color: #5b9bd5 !important;
    border-radius: 20px !important;
    padding: 3px 12px !important;
    font-size: 13px !important;
    margin-right: 8px !important;
    margin-top: 5px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #5b9bd5 !important;
    margin-right: 5px !important;
    border-right: none !important;
    font-weight: bold;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #333 !important;
    background: none !important;
}

.filter-separator {
    margin: 25px 0;
    border-top: 2px solid #6fa6e7;
    opacity: 1;
    border-radius: 2px;
}

/* Date Range */
.dates-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 30px;
}

.dates-row .col-6 {
    padding: 0 5px;
    position: relative;
    text-align: center;
}

.dates-row label {
    display: block;
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 8px;
    text-align: center;
}

.dates-row input[type="date"] {
    border: none;
    /* border-bottom: 1px solid #ccc; */
    font-size: 14px;
    color: #555;
    width: 100%;
    padding: 5px 0;
    outline: none;
    text-align: center;
    background: transparent;
}

/* Add calendar icon visuals if needed to input, or rely on browser default */

/* Apply Button */
.btn-apply {
    width: 100%;
    background: #6fa6e7;
    /* Matching the screenshot blue */
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(111, 166, 231, 0.4);
    transition: all 0.3s;
}

.btn-apply:hover {
    background: #5b9bd5;
    box-shadow: 0 8px 20px rgba(91, 155, 213, 0.5);
    transform: translateY(-2px);
}

/* Refined Select2 Styles for "Pill" look with Minus Icon */

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #fff !important;
    border: 1px solid #729fd8 !important;
    /* Blue border */
    color: #729fd8 !important;
    /* Blue text */
    border-radius: 20px !important;
    padding: 2px 10px 2px 25px !important;
    /* Extra padding left for icon */
    font-size: 13px !important;
    position: relative;
    margin-right: 8px !important;
    margin-top: 5px !important;
}

/* Hide default 'x' */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    position: absolute !important;
    left: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: transparent !important;
    /* Hide text x */
    border: none !important;
    width: 16px !important;
    height: 16px !important;
}

/* Insert Minus Circle Icon via CSS */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove::before {
    content: "\f056";
    /* FontAwesome minus-circle code */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #729fd8;
    /* Blue icon */
    font-size: 14px;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover::before {
    color: #c82333;
    /* Red on hover */
}

/* Counter Badge visual fix if needed */
.filter-badge-green {
    background-color: #4caf50 !important;
}

/* Responsive fix for Header Date Text */

/* Mobile Timeline Tweaks */
@media (max-width: 767px) {
    .timeline-item {
        padding-left: 20px;
    }

    .event-meta {
        font-size: 13px;
    }

    .event-actions {
        flex-wrap: wrap;
        gap: 10px;
    }

    .action-link {
        margin-bottom: 5px;
        margin-right: 15px;
    }
}

/* Ceremony Card Refinements */
.ceremony-img-wrapper {
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
    border-radius: 0;
}

@media (max-width: 576px) {
    .ceremony-card {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0;
        margin-bottom: 1px !important;
        box-shadow: none !important;
        border-bottom: 1px solid #eee;
    }
}

.ceremony-dates,
.ceremony-age {
    margin-bottom: 5px !important;
}

.ceremony-relations {
    margin-bottom: 10px !important;
}

@media (max-width: 767px) {
    .date-picker-wrapper {
        width: 100%;
        position: relative;
    }

    .date-picker-wrapper input[type="date"] {
        width: 100%;
        min-height: 40px;
        font-size: 14px;
    }

    .filter-strip {
        margin-left: -10px;
    }
}

.date-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 767px) {
    .filter-box {
        width: 95%;
        left: 50%;
        transform: translateX(-50%);
        top: 60px;
    }
}

/* ========================================
   Ceremony Detail Page - Profile Section Responsive
   ======================================== */

/* Profile Banner */
.profile-banner {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Profile Avatar */
.profile-avatar-wrapper {
    position: relative;
    margin-top: -80px;
    z-index: 10;
}

.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 20px;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Profile Info */
.profile-name {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.profile-dates {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Interaction Bar */
.interaction-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    padding-top: 15px;
}

/* ========================================
   MOBILE RESPONSIVE - Profile Section
   ======================================== */

@media (max-width: 768px) {

    /* Banner adjustments for mobile */
    .profile-banner {
        height: 180px;
        border-radius: 0;
    }

    /* Center profile avatar on mobile */
    .profile-header-content {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }

    .profile-avatar-wrapper {
        margin-top: -70px;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 15px;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
        border-radius: 20px;
    }

    /* Center profile info on mobile */
    .profile-info {
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center;
    }

    .profile-name {
        font-size: 22px;
    }

    .profile-dates {
        font-size: 13px;
    }

    /* Interaction bar mobile layout */
    /* .interaction-bar {
        justify-content: flex-start;
        gap: 10px;
    }

    .interaction-item {
        font-size: 13px;
    } */

    /* Main container mobile */
    .main-container {
        margin-top: -50px !important;
        padding: 0 15px;
    }
}

@media (max-width: 576px) {

    /* Extra small devices */
    .profile-banner {
        height: 150px;
    }

    .profile-avatar-wrapper {
        margin-top: -30px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .profile-avatar {
        width: 100%;
        height: 100%;
        border-radius: 15px;
    }

    .profile-name {
        font-size: 20px;
    }

    .interaction-bar {
        gap: 8px;
        font-size: 12px;
    }

    .main-container {
        padding: 0 10px;
    }
}

/* ========================================
   Mobile Responsive Header
   ======================================== */

@media (max-width: 768px) {

    /* Header adjustments */
    .header {
        padding: 10px 15px;
        justify-content: space-between;
    }

    /* Hide logo h1 on mobile */
    .header-left h1 {
        display: none !important;
    }

    /* Show search box on mobile */
    .search-box {
        display: flex !important;
        flex: 1;
        margin: 0 15px;
        max-width: none;
    }


    /* Header icons - show only essential ones */
    .header-icons {
        gap: 8px;
    }

    .header-icons button {
        padding: 4px 8px;
        font-size: 18px;
    }

    .header {
        padding: 8px 10px;
    }

    .header h1 {
        font-size: 16px;
    }

    .header-icons {
        gap: 5px;
    }

    .header-icons button {
        padding: 3px 6px;
        font-size: 16px;
    }

    .header-icons button img {
        width: 14px;
        height: 14px;
    }
}

.shadow2 {
    box-shadow: 0px 3px 6px #00000028 !important;
}

.shadow3 {
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.shadow4 {
    box-shadow: 1px 1px 12px #0000001a !important;
}

/* Dark Mode Shadows */
body.dark-mode .shadow2 {
    box-shadow: 0px 3px 6px rgba(255, 255, 255, 0.05) !important;
}

body.dark-mode .shadow3 {
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .shadow4 {
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.add-event-card {
    width: 100%;
    max-width: 100%;
    min-height: 54px;
    padding: 10px 24px;
    background: #FFFFFF;
    box-shadow: 0px 3px 6px #00000028;
    border-radius: 40px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-event-card:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.add-event-card:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.add-event-card .card-text {
    font-size: 16px;
    color: #665a72;
    font-weight: 500;
}

.add-plus-circle {
    width: 32px;
    height: 32px;
    background: #c5d4f3;
    /* Light blue shade from image */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

/* Dark Mode Extensions */
body.dark-mode .add-event-card {
    background: #101626;
    box-shadow: 0px 3px 6px #FFFFFF33;
}

body.dark-mode .add-event-card .card-text {
    color: #e0e0e0;
}

body.dark-mode .add-plus-circle {
    background: #2a3b5c;
    color: #729fd8;
}


/* Relation Modal Styles */
.relation-input-row {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.relation-input-row:hover {
    background: #f1f3f5;
    border-color: #dee2e6;
}

.rel-is-dead {
    width: 1.25rem !important;
    height: 1.25rem !important;
    cursor: pointer;
    margin-right: 5px;
}

.form-check-label {
    user-select: none;
    font-weight: 500;
}

.remove-rel {
    opacity: 0.6;
    transition: opacity 0.2s;
    font-weight: bold;
    font-size: 24px;
    color: #dc3545;
    cursor: pointer;
}

.remove-rel:hover {
    opacity: 1;
}

/* Dark Mode Relation Modal */
body.dark-mode .relation-input-row {
    background: #1a2234;
    border-color: #2d3748;
}

body.dark-mode .relation-input-row:hover {
    background: #242f47;
}

body.dark-mode .relation-input-row input.form-control {
    background: #101626;
    border-color: #3d4a61;
    color: #e0e0e0;
}

body.dark-mode .relation-item {
    color: #e0e0e0;
}

/* Responsive Theme Toggles */
.sidebar-theme-toggle {
    display: none !important;
    padding: 20px;
    margin-top: auto;
    justify-content: space-between;
    align-items: center;
}

body.dark-mode .sidebar-theme-toggle {
    border-top-color: #2d3748;
}

@media (max-width: 991px) {

    .header-theme-toggle {
        display: none !important;
    }

    .sidebar-theme-toggle {
        display: flex !important;
    }
}

@media (min-width: 992px) {
    .header-theme-toggle {
        display: flex !important;
    }

    .sidebar-theme-toggle {
        display: none !important;
    }
}

.report-text {
    display: block;
    margin-top: 4px;
}

/* Card */
.rc-card {
    border-radius: 12px;
}

/* Container */
.rc-container {
    position: relative;
}

/* Title */
.rc-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Item */
.rc-item {
    position: relative;
    padding-left: 42px;
    margin-bottom: 14px;
}

/* Vertical connector (line) */
.rc-connector {
    position: absolute;
    left: 18px;
    top: -14px;
    bottom: 0;
    width: 2px;
    background: #cfd3ff;
}

/* Parent ke upar line nahi */
.rc-item-parent .rc-connector {
    display: none;
}

/* Last item – neeche line band */
.rc-item-last .rc-connector {
    bottom: 50%;
}

/* Nodes (dots) */
.rc-node {
    position: absolute;
    left: 11px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    z-index: 2;
}

.rc-node-parent {
    background-color: white;
    border: 2px solid #665a72;
    ;
}

.rc-node-child {
    background-color: #665a72;
    border: 2px solid #729fd8;
}


/* Content */
.rc-content h6,
.rc-content p {
    margin: 0;
    color: #4b5563;
}