/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
   
    color: #212b37;
}

h2 {
    font-size: 1.125rem;
    color: #212b37;
}
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}
/* Sidebar */
.sidebar {
    height: 100vh;
    background-color: #202947;
    color: white;
    position: fixed;
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #888 #202947;
    width: max-content;
}


.sidebar h3 {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

th {
    font-size: .95rem;
    font-weight: 500;
}

td {
    font-size: .85rem;
    font-weight: 400;
    color: #666 !important;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 6px;
    border-radius: 5px;
    font-size: .85rem;
}

.sidebar ul li a i {
    margin-right: 17px;
    font-size: 16px;
}

.sidebar ul li a:hover {
    background-color: #343a40;
}
b, strong {
    font-weight: bolder;
    font-size: 15px;
    text-align: left;
    line-height: 19px;
}

.alert-info {
    --bs-alert-color: var(--bs-info-text-emphasis);
    --bs-alert-bg: var(--bs-info-bg-subtle);
    --bs-alert-border-color: var(--bs-info-border-subtle);
    --bs-alert-link-color: var(--bs-info-text-emphasis);
    margin-top: 15px;
}

.card-title {
    margin-bottom: var(--bs-card-title-spacer-y);
    color: var(--bs-card-title-color);
    margin-bottom: 11px !important;
}
/* Main Content */
.main-content {
    width: 85%;
    padding: 20px;
    clear: both;
    float: right;
    display: grid;
    margin-right: 1%;
}

@media screen and (max-width: 1366px) and (max-height: 768px) {
   .main-content {
    width: 82%;
    padding: 20px;
    clear: both;
    float: right;
    display: grid;
    margin-right: 1%;
}
}
.case-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    max-width: 100%;
    min-width: 0;
    /* 👈 optional but helps */
}


.case-section-header {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
}

.table-wrapper {
    margin-top: 20px;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

thead {
    background: #f9fafb;
}

th,
td {
    padding: 10px 12px;
    font-size: 14px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

tbody tr:nth-child(even) {
    background: #f9fafb;
}



/* RESPONSIVE */
@media (max-width: 1024px) {
    .sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        bottom: 0;
        transition: left 0.25s ease;
    }

    .sidebar.open {
        left: 0;
    }

    .sidebar-toggle-btn {
        display: block;
    }

    .main-content {
        padding-top: 56px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 768px) {
    table {
        border: 0;
    }

    thead {
        display: none;
    }

    tbody,
    tr,
    td {
        display: block;
        width: 100%;
    }

    tbody tr {
        margin-bottom: 12px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        background: white;
        padding: 6px 8px;
    }

    td {
        border-bottom: 0;
        white-space: normal;
        position: relative;
        padding-left: 42%;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 600;
        font-size: 12px;
        color: #6b7280;
        width: 30%;
        white-space: normal;
    }
}





/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 5px;
}

.search-bar input {
    border: none;
    outline: none;
    background: none;
    padding-left: 5px;
}

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

.top-icons button {
    background: #f8f9fa;
    border: none;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
}

.profile-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.welcome-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #202947, #3b4b7f);
    color: #fff;
    padding: 22px 26px;
    border-radius: 14px;
    margin: 24px 0;
    box-shadow: 0 12px 30px rgba(32, 41, 71, 0.25);
    overflow: hidden;
    position: relative;
}

.welcome-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: stretch;
    margin: 24px 0;
}

.welcome-compact {
    flex: 1 1 55%;
    max-width: 60%;
    min-width: 280px;
    margin: 0;
}

.welcome-banner::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -120px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 55%);
    transform: rotate(25deg);
}

.welcome-eyebrow {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 6px;
}

.welcome-heading {
    color: #fff;
    font-size: 1.8rem;
    margin: 0 0 6px 0;
}

.welcome-subtitle {
    margin: 0;
    color: #e7e8ee;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.welcome-chip {
    display: inline-block;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    margin-left: 6px;
}

.welcome-meta {
    display: flex;
    align-items: stretch;
    gap: 12px;
    z-index: 1;
}

.welcome-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 16px;
    border-radius: 12px;
    min-width: 150px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.welcome-pill .label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #dfe3f0;
    margin-bottom: 6px;
}

.welcome-pill strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.quick-links-card {
    flex: 1 1 35%;
    min-width: 240px;
    background: linear-gradient(145deg, #f8fbff, #f1f4ff);
    border: 1px solid #dfe5f4;
    border-radius: 16px;
    padding: 18px;
    position: relative;
    box-shadow: 0 18px 40px rgba(22, 33, 68, 0.12);
    overflow: hidden;
}

.quick-links-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.quick-links-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.16), transparent 50%);
    pointer-events: none;
}

.quick-links-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #202947;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.quick-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.quick-link-btn.primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
    border: none;
}

.quick-link-btn.outline {
    border: 1px solid #d3dbea;
    background: #f9fbff;
    color: #1f2a44;
    box-shadow: 0 6px 14px rgba(22, 33, 68, 0.08);
}

.quick-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(22, 33, 68, 0.16);
}

.quick-link-btn:active {
    transform: translateY(0);
    box-shadow: 0 10px 18px rgba(22, 33, 68, 0.12);
}

@media (max-width: 768px) {
    .welcome-compact {
        max-width: 100%;
        flex-basis: 100%;
    }

    .quick-links-card {
        flex-basis: 100%;
    }
}

/* Stats Number Boxes */
.stats-boxes {
    display: flex;
    gap: 18px;
    padding: 0;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 26px 0;
}

.stats-card {
    flex: 1 1 220px;
    padding: 16px 18px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 30px rgba(22, 33, 68, 0.06);
    border: 1px solid #eef1f6;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 36px rgba(22, 33, 68, 0.12);
}

.stats-card .d-flex {
    align-items: center;
    gap: 14px;
    padding-left: 12px;
    padding-top: 11px;
}

.stats-icon-wrap {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.25);
    color: #fff;
    margin-right: 12px;
   
}

.stats-icon {
    font-size: 1.1rem;
    color: #fff;
}

.bg-primary1 {
    background-color: rgb(243 97 228) !important;
    border: none;
}

.bg-primary2 {
    background-color: rgb(237 163 6) !important;
    border: none;

}

.bg-primary3 {
    background-color: rgb(207 113 87) !important;
    border: none;
}

.stats-card h5 {
    font-size: 14px !important;
    font-weight: 400;
    color: #6e829f !important;
}

.stats-card p {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 5px;
}

.stats-card h4 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #202947;
    margin: 0;
}

.stats-card small {
    display: block;
    color: #8b99b2;
}

/* Reports Section */
.section-heading {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #212b37;
}

/* Analytics Boxes */
.analytics-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.chart-card {
    flex: 1 1 calc(48% - 20px);
    min-width: 300px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 6px 16px 2px #0000000d;
    text-align: left;
    border: none;
}

.chart-card h5 {

    color: #212b37;
    position: relative;
    margin-block-end: 0;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.5;
}


.chart-card canvas {
    width: 100% !important;
    height: 250px !important;
}


/* Task Section */
.task-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.task-input {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.task-input input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    padding: 8px;
    font-size: 1rem;
    border-radius: 5px;
}

.task-input .add-task {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 7px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 400;
}

.task-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.task-item span {

    font-size: 13px;

}

.task-text {
    width: 60%;
}

.task-status {
    font-size: 0.9rem;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    width: 18%;
}

.task-date {
    width: 7%;
}

/* Status Colors */
.task-status .in-progress {
    background: #e0e0ff;
    color: #6c5ce7;
    text-transform: capitalize;
    font-weight: 400;
    text-align: center;
    display: inline-block;
    padding: 0 10px;
    border-radius: 3px;
}

.task-status .pending {
    background: #ffe0e0;
    color: #e74c3c;
    text-transform: capitalize;
    font-weight: 400;
    text-align: center;
    display: inline-block;
    padding: 0 10px;
    border-radius: 3px;
}


.task-status .done {
    background: #e0ffe0;
    color: #27ae60;
    text-transform: capitalize;
    font-weight: 400;
    text-align: center;
    display: inline-block;
    padding: 0 10px;
    border-radius: 3px;
}

/* Delete Task Icon */
.delete-task {
    color: #e74c3c;
    cursor: pointer;
    font-size: .8rem;
}

/* Notifications Section */
.notifications-section {
    background: white;
    /* padding: 20px; */
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    border: none;
}

.notifications-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notification-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-bottom: 1px solid #ddd;
    background: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 8px;
}

.notification-item.unread {
    background: #e0f7fa;
}

.notification-item.read {
    opacity: 0.6;
}

.notification-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.notification-content {
    flex-grow: 1;
}

.notification-content strong {
    font-size: .9rem;
    color: #007bff;
}

.notification-content p {
    font-size: .8rem;
    margin-bottom: 0px;
}

.notification-time {
    font-size: 0.8rem;
    color: #666;
    padding: 0 0 0 10px;
}

.status.waiting {
    background: #ffcc00;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}

.status.confirm {
    background: #28a745;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}

.clear-all {
    width: 100%;
    background: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    font-size: 1rem;
}

.clear-all:hover {
    background: #0056b3;
}




/* Popup styling */
.popup {
    /* display: none; */
    /* Hidden by default */
    position: fixed;
    top: 50%;
    right: 0px;
    transform: translate(-5%, -50%);
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    max-height: 600px;
    /* Set a fixed max height */
    width: 400px;
    /* Set width of the popup */
    overflow-y: auto;
    /* Add scrollbar if content overflows */
}

button {
    cursor: pointer;
}

/* Optional: Style for button hover effect */
button:hover {
    opacity: 0.8;
}

.defaulters-table td .btn-primary {
    background-color: rgb(92 103 247 / 13%);
    color: rgb(92 103 247);
    font-size: .8rem;
    border: none;
}

.defaulters-table td .btn-primary:hover {
    background-color: rgb(92 103 247);
    color: #fff;
}

.defaulters-table td .btn-danger {
    background-color: rgb(251 66 66 / 19%);
    color: rgb(251 66 66);
    font-size: .8rem;
    border: none;
}

.defaulters-table td .btn-danger:hover {
    background-color: rgb(251 66 66);
    color: rgb(255, 255, 255);
}

.defaulters-table td .btn-light {
    font-size: .8rem;
    border: none;
}

#notification-tab {
    padding: 20px;
}

.form-label {
    color: #212b37;
    font-size: .85rem;

}

.form-control {
    border-color: #dee7f1;
}

.authentication-background {

    background-color: rgb(227 167 7);
}

.authentication-background:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/1-vOC-hecw.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: .15;
}

.card.custom-card {
    border-radius: .5rem;
    background-color: #ffffff;
    box-shadow: 0 6px 16px 2px #0000000d;
    border: 0;
    position: relative;
    margin-block-end: 1.5rem;
    width: 100%;
}

.cus-logo {
    text-align: center;
}

.cus-logo a img {
    width: 50%;
}

.authentication-basic p {
    font-size: .85rem;
}

.h5,
h5 {
    font-size: 1.25rem !important;
}

span.avatar.avatar-xs img {
    width: 21px;
}

.fs-13 {
    font-size: .8125rem;
}

.form-label {
    font-size: .8rem;
    font-weight: 500;
}

.form-control {
    font-size: .8125rem;
}

.fs-14 {
    font-size: .875rem;
}

.form-check {
    font-size: .85rem;
}

.btn.btn-primary-light {
    background-color: rgb(92 103 247 / 12%);
    color: rgb(92 103 247);
}

.fs-17 {
    font-size: 1.0625rem;
}

.btn.btn-primary-light:hover {
    background-color: rgb(92 103 247);
    color: #fff;
    border-color: rgb(92 103 247);
}

.btn.btn-primary1-light {
    background-color: rgb(227 84 212 / 16%);
    color: rgb(227 84 212);
}

.btn.btn-primary1-light:hover {
    background-color: rgb(227 84 212);
    color: #fff;
}

.btn.btn-primary2-light {
    background-color: rgb(255 93 159 / 12%);
    color: rgb(255 93 159);
}

.btn.btn-primary2-light:hover {
    background-color: rgb(255 93 159);
    color: #fff;
}

a.float-end.fw-normal.text-muted {
    font-size: .85rem;
}

.card.custom-card .card-header {
    padding: 1rem 1rem .5rem 0;
    background-color: transparent !important;
    border-block-end: 0 solid #ecf3fb;
    display: flex;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    gap: .25rem;
}

.card.custom-card .card-header .card-title {
    position: relative;
    margin-block-end: 0;
    font-size: .95rem !important;
    font-weight: 500;
    line-height: 1.5;
}

.btn.btn-sm {
    padding: .26rem .5rem;
    border-radius: .25rem;
    font-size: .75rem;
}

.bg-success-transparent,
.bg-success-transparent:hover {
    background-color: rgb(33 206 158 / 21%) !important;
    color: rgb(33 206 158) !important;
}

.badge {
    padding: .25rem .45rem;
    font-weight: 500;
    border-radius: .25rem;
    font-size: 11px;
}

.bg-warning-transparent,
.bg-warning-transparent:hover {
    background-color: rgb(255 198 88 / 19%) !important;
    color: rgb(255 198 88) !important;
}

.bg-danger-transparent,
.bg-danger-transparent:hover {
    background-color: rgb(251 66 66 / 13%) !important;
    color: rgb(251 66 66) !important;
}

input#date-checkin {
    padding: .375rem .75rem;
    width: 100%;
    border: 1px solid #dee7f1;
    border-radius: 5px;
}

.bg-primary-transparent,
.bg-primary-transparent:hover {
    background-color: rgb(92 103 247 / 14%) !important;
    color: rgb(92 103 247) !important;
}

.completed {
    text-decoration: line-through;
}

.avatar img {
    width: 100%;
    height: 100px;
    border-radius: .25rem;
}

.fw-medium {
    font-weight: 500 !important;
}

.fs-12 {
    font-size: .75rem;
}

.cus-name {
    display: flex;
    flex-wrap: wrap;
}

.wp-cus-name {
    width: 33.33%;
    margin-bottom: 20px;
}

.wp-cus-name p {
    font-size: 13px;
    color: #666;
}

.cus-cus-name .wp-cus-name {
    width: 50%;
}

.card.custom-card .card-header {
    padding: 1rem 1rem .5rem;
    background-color: transparent !important;
    border-block-end: 0 solid #eef6ff;
    display: flex;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    gap: .25rem;
}

.timeline .timeline-end {
    position: relative;
    margin-inline-start: -16px;
    margin-block-start: 3px;
}

.border.border-primary2 {
    border: 1px solid rgb(245 96 157) !important;
    opacity: 1;
}

.border.border-primary2.border-opacity-10 {
    border-color: rgb(241 92 153 / 10%) !important;
}

.fs-11 {
    font-size: .6875rem;
}

.timeline .timeline-continue {
    position: relative;
    padding-block-start: 2rem;
    width: 100%;
}

.timeline .timeline-content {
    margin-inline-start: 4rem;
    margin-inline-end: 6%;
    position: relative;
}

.text-fixed-white {
    color: #fff !important;
}

.timeline .timeline-content {
    margin-inline-start: 4rem;
    margin-inline-end: 6%;
    position: relative;
}

.timeline .timeline-date {
    font-size: .875rem;
    position: relative;
}

.text-muted {
    color: #6a7f9d !important;
}

.timeline .timeline-content:after {
    display: block;
    content: "";
    width: 12px;
    position: absolute;
    inset-block-start: .1875rem;
    height: 12px;
    background-color: #ffffff;
    border: 3px solid rgb(84 96 247);
    z-index: 1;
    border-radius: 50%;
    inset-inline-start: -2.83rem;
    box-shadow: 0 0 1px 3px rgb(82 93 231 / 30%);
}

.timeline .timeline-continue:after {
    content: "";
    position: absolute;
    height: 100%;
    inset-inline-start: 24px;
    inset-block-start: 8px;
    margin-inline-start: -1px;
    border-inline-start: 1px dashed rgb(92 103 247 / 53%);
}

.timeline .timeline-box {
    position: relative;
    padding: 1rem;
    margin-block-end: 15px;
    border-radius: 6px;
    border: 1px solid #e4ecf5;
    background: #ffffff;
    box-shadow: 0 2px #768afe08;
}

p {
    font-size: 13px;
}

.fs-18 {
    font-size: 1.125rem;
}

.popup-container {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform: scale(1.3);
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 17, 17, 0.61);
    display: flex;
    align-items: center;
}

.popup-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 30%;
    border-radius: 11px;

}

.popup-content p {
    font-size: 17px;
    padding: 10px;
    line-height: 20px;
}

.popup-content a.close {
    color: #000 !important;
    float: right;
    font-size: 28px;
    font-weight: bold;
    background: none;
    padding: 0;
    margin: 0;
    text-decoration: none;
    cursor: pointer;
    z-index: 999;
    position: relative;
    opacity: 1;
}


.popup-content a.close:hover {
    color: #333;
}

.popup-content span:hover,
.popup-content span:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.popup-container:target {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

.modal-body h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.modal-body h4 {
    font-size: 1.1rem;
    color: #212b37;
}

.form-label {
    width: 100%;
}

input[type="date"] {
    width: 100%;
    margin-bottom: 7px;
    border: none;
    border: 1px solid #dee7f1;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 13px;
}

.comment-box {
    padding: 5px 27px;
}

.comment-box .timeline .timeline-content {
    margin-inline-start: 0rem;
}

.comment-box .timeline .timeline-continue:after {
    display: none;
}

.comment-box .timeline .timeline-content:after {
    display: none;
}

.comment-box .timeline .timeline-continue {
    padding-block-start: 0.5rem;

}

.comment-box .timeline .timeline-end {
    margin-inline-start: 0px;
    margin-block-start: 5px;
}

.comment-box .bg-primary2 {
    background: #fff !important;
    color: rgb(237 163 6) !important;
    font-size: 13px;
    border: none !important;
    padding: 0px !important;
}

.comment-box .timeline .timeline-date {
    font-size: 1.1rem;
}

p.case {
    color: #202947;
    font-size: 15px;
    /* text-decoration: underline; */
    font-weight: 600;
    border: 1px solid #2029477d;
    display: inline-block;
    padding: 3px 14px;
    border-radius: 4px;
}

.cus-ring .btn {
    margin: 8px 5px;
}

.time-popup p {
    font-size: 15px;
    padding: 10px 0;
}

.time-popup .case {
    padding: 5px 8px;
}

body.no-scroll {
    overflow: hidden;
}

.backdrop {
    position: fixed;
    /* display:flex can be used to center modal. But not recommended*/
    /*   display:flex;
    justify-content:center;
    align-items:center; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-color: rgb(80 80 80 / 0%);
}

.backdrop.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.modal1 {
    position: absolute;
    top: 41%;
    right: 0;
    transform: translate(-4%, -50%);
    width: 310px;
    padding: 21px;
    background-color: #fff;
    user-select: none;
    box-shadow: 0px 0px 9px #00000073;
    border-radius: 7px;
}

button.closed {
    position: absolute;
    right: 8px;
    border: none;
    padding: 0px;
    background: #fff;
    font-size: 30px;
    top: 0;
}

.right-comment p.case {
    color: #198754;
    font-size: 13px;
    /* text-decoration: underline; */
    font-weight: 600;
    border: 0;
    display: inline-block;
    padding: 0;
    border-radius: 0;
    margin-bottom: 4px;
}

.right-comment p.timeline-date {
    font-size: 15px !important;
}

.modal1 .timeline .timeline-end {
    position: relative;
    margin-inline-start: 3px;
    margin-block-start: 3px;
}

.timeline-content span {
    font-size: 14px;
}
