@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color: #C40000;
    --secondary-color: #F3F3F3;
    --dark-red: #680000;
    --light-red: #D70000;
    --text-color: #000;
    --muted-text: #666;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

p {
    margin: 0 !important;
}

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

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

.logo-img {
    width: 160px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 40px 35px;
    border-radius: 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.highlight-text {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.sub-text {
    color: var(--muted-text);
    font-size: 14px;
    line-height: 1.6;
}

.pill-input {
    border-radius: 50px;
    padding: 14px 48px 14px 18px;
    border: 1px solid #ddd;
    font-size: 14px;
}


.pill-input:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.password-eye {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #555;
    z-index: 2;
}


.password-eye svg {
    display: block;
}

.password-eye:hover {
    color: #C40000;
}

.primary-button {
    background: var(--primary-color);
    color: #fff;
    padding: 14px;
    border-radius: 50px;
    font-weight: 500;
    border: none;
    transition: 0.3s ease;
}

.primary-button:hover {
    background: #a80000;
    color: #ffffff;
}

.footer-text {
    font-size: 12px;
    color: #777;
    line-height: 1.5;
}

.right-panel {
    background: linear-gradient(107deg, var(--dark-red) 5%, var(--light-red) 100%);
    position: relative;
    overflow: hidden;
}

.city-img {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 100%;
    opacity: 0.9;
}

/* LAYOUT */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
    background: #f3f3f3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    position: relative;
    top: 0;
    left: -280px;
    /* hidden by default */
    width: 280px;
    height: 100vh;
    z-index: 1001;
    transition: left 0.3s ease;
}

.logo {
    width: 140px;
}

.sidebar-menu {
    list-style: none;
    margin-top: 30px;
    padding-left: 0;
}

.sidebar-menu li {
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    color: #333;
    font-weight: 500;
    transition: all 1s ease;
}

.sidebar-menu li i {
    margin-right: 10px;
}

.sidebar-menu li.active {
    background: var(--primary-color);
    color: #fff;
    margin-left: 20px;
}

.sidebar-menu li.active a {
    color: #fff;
}

.sidebar-menu a {
    color: black;
    text-decoration: none;
    font-size: 14px !important;
    transition: all .5s ease;
}

.sidebar-menu li:hover {
    background: var(--primary-color);
    color: #fff;
    margin-left: 10px;
    margin-top: 5px;
    transition: all 1s ease;
}

.sidebar-menu li:hover a {
    color: #fff;
    transition: all .5s ease;
}

/* FOOTER */
.sidebar-footer {
    margin-top: auto;
}

.user-info {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.logout-btn {
    width: 100%;
    border: none;
    padding: 12px;
    border-radius: 25px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 500;
    margin-bottom: 10px;
}

.copyright {
    font-size: 11px;
    color: #555;
    text-align: center;
}

/* MAIN */
.main-content {
    flex: 1;
    padding: 30px;
    background: #fff;
}

.top-header p {
    color: var(--muted);
    font-size: 14px;
}

/* SECTION */
.section-title {
    margin: 30px 0 20px;
}

.section-title p {
    font-size: 13px;
    color: var(--muted);
}

/* STATS */
.stat-card {
    background: #f2f2f2;
    padding: 20px;
    border-radius: 20px;
    height: 90%;
    position: relative;
    cursor: pointer;
}

.stat-card:hover {
    background: linear-gradient(107.04deg, #680000 4.23%, #D70000 103.83%);
    color: #fff;
}

.stat-card h3 {
    font-weight: 600;
}

.stat-card.active {
    background: linear-gradient(107.04deg, #680000 4.23%, #D70000 103.83%);
    color: #fff;
}

.stat-card i {
    position: absolute;
    right: 15px;
    top: 15px;
}

.stat-card p {
    font-size: 14px;
}

/* CHART */
.chart-card {
    padding: 25px;
    border-radius: var(--radius);
}

.chart-placeholder {
    height: 260px;
    background: #eaeaea;
    border-radius: 12px;
    padding: 20px;
}

.chart-card h6 {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 24px;
}

.stat-card .active .icon-arrow {
    width: 32px;
    height: 32px;
}

.icon-arrow {
    width: 24px;
    height: 24px;
    border: 1px solid #000;
    border-radius: 100%;
}

.user-name {
    color: #C40000 !important;
    font-weight: 500;
}



@media screen and (max-width: 767px) {

    .sidebar-menu li.active {
        margin-left: 12px;
    }

    .sidebar-menu li {
        padding: 12px 6px;
    }

    .main-content {
        padding: 30px 13px;
    }

    .chart-card {
        padding: 0px;
    }
}

/* ===== SIDEBAR BASE ===== */

/* Show sidebar */
.sidebar.active {
    left: 0;
}

/* ===== OVERLAY ===== */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 992px) {
    .sidebar {
        left: 0;
        height: auto;
    }

    .sidebar-overlay {
        display: scroll;
    }
}

body.sidebar-open {
    overflow: hidden;
}

.sidebar-toggle {
    background-color: #c90000;
    color: #fff;
    border: none;
    padding: 2px 10px;
    border-radius: 4px;
}



.action-btn:hover {
    background: linear-gradient(107.04deg, #680000 4.23%, #D70000 103.83%);
    color: #fff;
    transition: .5s ease-out;
}

.dt-length label {
    padding-left: 10px;
}

.dt-layout-end {
    text-align: end;
}

.dt-search input {
    border-radius: 30px !important;
    padding: 6px 14px !important;
}

.dt-search label {
    display: none;
}

.dt-search input::placeholder {
    font-size: 11px;
}

table thead th {
    font-size: 14px;
}

table.dataTable th.dt-type-date {
    text-align: start !important;
}

table.dataTable td.dt-type-date {
    text-align: start !important;
}

table.dataTable thead>tr>th.dt-orderable-asc:hover,
table.dataTable thead>tr>th.dt-orderable-desc:hover {
    outline: none !important;
}

table tbody td {
    font-size: 14px;
}

div.dt-container .dt-paging .dt-paging-button.current {
    border: none !important;
    border-radius: 100% !important;
    background-color: var(--primary-color) !important;
    color: #fff !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 13px !important;
    padding: 10px;
}

div.dt-container .dt-paging .dt-paging-button {
    border: none !important;
    border-radius: 100% !important;
    color: #000 !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 13px !important;
    padding: 10px;
}

.dt-layout-row {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}

.dt-layout-table {
    display: block !important;
}

.dt-length select {
    padding: 3px 6px;
}

.first,
.last {
    display: none !important;
}

.dt-paging nav {
    display: flex;
    align-items: center !important;
    gap: 16px;
}

div.dt-container .dt-paging .previous,
div.dt-container .dt-paging .next {
    border: none !important;
    background: none !important;
    font-size: 40px !important;
    padding: 0px 20px;
    color: var(--primary-color) !important;
    font-weight: 500 !important;
    cursor: pointer;
}

/* Responsive stacked table for small screens (mobile) */
@media (max-width: 767.98px) {
    .table-responsive {
        padding: 0 10px;
        overflow-x: auto;
    }

    table#myTable {
        border: 0;
    }

    table#myTable thead {
        display: none;
    }

    table#myTable tbody tr {
        display: block;
        margin-bottom: 15px;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

    table#myTable tbody td {
        display: flex;
        padding: .5rem 0;
        text-align: center;
        white-space: normal;
        padding-left: 16px;
        padding-right: 16px;
    }

    table#myTable tbody td::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: #333;
        margin-bottom: 6px;
    }

    .action-btn {
        padding: 6px 14px;
    }

    table#myTable tbody td input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }
}

/* Improve horizontal scrolling on tablets */
@media (min-width: 768px) and (max-width: 991.98px) {
    .table-responsive {
        overflow-x: auto;
    }

    .action-btn {
        padding: 6px 16px;
        font-size: 13px;
    }
}

/* ===== DataTable Responsive (Mobile) ===== */
@media (max-width: 768px) {

    .table-responsive {
        overflow-x: hidden;
    }

    table.dataTable thead {
        display: none;
    }

    table.dataTable tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 10px;
        background: #fff;
        width: 300px !important;
    }

    table.dataTable tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 10px;
        border: none;
        border-bottom: 1px solid #eee;
        font-size: 14px;
    }

    table.dataTable tbody td:last-child {
        border-bottom: none;
    }

    table.dataTable tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #555;
        flex: 1;
        text-align: left;
        padding-right: 10px;
    }

    table.dataTable tbody td>* {
        flex: 1;
        text-align: center;
    }

    table.dataTable tbody td:first-child {
        justify-content: flex-start;
    }

    table.dataTable tbody td:first-child::before {
        content: "Select";
    }

    .dt-layout-row {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px 0;
    }
}

.booking-section {
    background: #ffffff;
    font-family: "Inter", sans-serif;
}

.back-btn {
    background: #f2f2f2;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 14px;
    border: none;
}

.details-card {
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 20px;
    font-size: 14px;
}

.details-row {
    display: flex;
    margin-bottom: 8px;
}

.details-row span:first-child {
    width: 120px;
    color: #555;
    font-weight: 500;
}

.details-row span:last-child {
    color: #000;
    font-weight: 600;
}

/* Stepper */
.stepper {
    position: relative;
    padding-left: 30px;
}

.step {
    position: relative;
    padding-bottom: 35px;
}

.step:last-child {
    padding-bottom: 0;
}

.step::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 2px;
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border-radius: 50%;
}

.step.pending::before {
    background: #cfcfcf;
}

.step::after {
    content: "";
    position: absolute;
    left: -11px;
    top: 12px;
    width: 2px;
    height: 100%;
    background: #e0e0e0;
}

.step:last-child::after {
    display: none;
}

.status-select {
    background: #f3f3f3;
    border-radius: 20px;
    padding: 6px 16px;
    border: none;
    font-size: 14px;
}

.schedule-emi {
    font-family: "Inter", sans-serif;
    background: #ffffff;
}

.schedule-emi label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.schedule-emi .form-control,
.schedule-emi .form-select {
    height: 44px;
    font-size: 14px;
    border-radius: 6px;
}

.emi-btn {
    background: #e00000;
    color: #fff;
    border-radius: 30px;
    padding: 12px 28px;
    border: none;
    font-weight: 600;
    font-size: 14px;
}

.emi-btn:hover {
    background: #c40000;
}

.emi-result {
    background: #f1f1f1;
    border-radius: 14px;
    padding: 20px;
}

.emi-result h6 {
    font-weight: 700;
    margin-bottom: 16px;
}

.emi-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.emi-row span:first-child {
    color: #555;
    font-weight: 500;
}

.emi-row span:last-child {
    font-weight: 700;
}

.table-bg {
    padding: 20px 20px 20px 40px;
    border-radius: 20px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th {
    text-align: left;
    width: 180px;
    font-weight: 600;
    padding: 8px 6px;
    vertical-align: top;
}

.info-table td {
    padding: 8px 6px;
    vertical-align: top;
}

.info-table td:nth-child(2) {
    width: 10px;
    text-align: center;
}


/* tabs */

.plot-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
}

/* Tabs */
.plot-tabs {
    display: flex;
    background: #f5f5f5;
    border-radius: 6px;
    overflow: hidden;
}

.tab-btn {
    flex: 1;
    border: none;
    padding: 12px;
    background: transparent;
    font-size: 16px;
}

.tab-btn.active {
    background: #c40000;
    color: #fff;
}

/* Labels */
.section-label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

/* Select */
.custom-select {
    padding: 12px;
    border-radius: 10px;
}

/* Plot Counter */
.plot-counter {
    background: #f2f2f2;
    border-radius: 20px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.plot-text {
    font-weight: 500;
}

.counter-btns {
    display: flex;
    gap: 12px;
}

.counter-btns button {
    border: none;
    background: transparent;
    font-size: 20px;
}

/* Status */



/* Save */
.save-btn {
    background: #c40000;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 16px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.notes-border {
    border: 2px solid #CACACA;
    border-radius: 5px 5px 0px 5px;
}

.notes-border p {
    font-size: 14px;
}

.primary-p-font p {
    font-size: 16px;
}

@media screen and (max-width: 767px) {
    .status-group {
        flex-direction: column;
    }

    .plot-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 6px;
    }

    .plot-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex: 0 0 auto;
        padding: 8px 10px;
        font-size: 14px;
    }

    .position {
        position: relative !important;
    }
}

.plot-tabs-1 {
    width: 50%;
    margin-bottom: 20px;
}

.plot-tabs-1 button {
    font-size: 14px;
}

/* Date Input Styles */
.date-input {
    outline: none !important;
    width: 100%;
    padding: 5px 0 !important;
    font-size: 14px;
}

.date-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

/* Flatpickr Calendar Styles */
.flatpickr-calendar {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    border: none;
}

.flatpickr-day.selected {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    border-radius: 8px;
}

.flatpickr-day:hover {
    background: var(--light-red) !important;
    border-color: var(--light-red) !important;
    border-radius: 8px;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: white;
}

.date-input {
    background: transparent;
    border: none;
    outline: none;
    color: inherit;
    width: 120px;
}

.flatpickr-months {
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.flatpickr-current-month {
    font-size: 18px;
    font-weight: 600;
}

.primary-btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--text-color);
    background: transparent;
    padding: 8px 16px;
    border-radius: 30px;
    transition: 0.3s ease;
}

.primary-btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transition: all 0.3s ease;
}

.reset-card {
    background: #f5f5f5;
    border-radius: 16px;
    padding: 18px;
    border: 1px solid #e5e5e5;
    max-width: 620px;
}

.reset-title {
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 30px;
}



.form-row label {
    min-width: 160px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.form-row input {
    flex: 1;
    height: 46px;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 0 16px;
    font-size: 15px;
    background: transparent;
}

.form-row input:focus {
    outline: none;
    border-color: #c00;
    box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.08);
}

.reset-btn {
    background: #d50000;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    transition: 0.2s;
}

.reset-btn:hover {
    background: #b80000;
}

@media (max-width: 576px) {
    .form-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .form-row label {
        min-width: auto;
    }
}

.profile-card {
    background: #f4f4f4;
    border-radius: 18px;
    padding: 20px;
    border: 1px solid #e5e5e5;
}

.card-title {
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 28px;
}

.emp-id {
    font-weight: 600;
    font-size: 20px;
}

.role-text {
    color: #666;
    margin-bottom: 10px;
}

/* Photo section */

.photo-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 35px;
}

.profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #e9eef3;
}

/* Upload */

.upload-block {
    text-align: center;
}

.upload-btn {
    border: 2px solid #bbb;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    background: #f8f8f8;
    transition: 0.2s;
}

.upload-btn:hover {
    background: #eee;
}

.upload-note {
    font-size: 11px;
    color: #555;
    padding-top: 12px;
    line-height: 1.4;
}

/* Form layout */

.info-form {
    margin-top: 10px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 18px;
}

.info-row.align-top {
    align-items: flex-start;
}

.info-row label {
    min-width: 160px;
    font-size: 16px;
    font-weight: 500;
}

.info-row input,
.info-row textarea {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    background: transparent;
}

.info-row textarea {
    height: 120px;
    resize: none;
}

.info-row input:focus,
.info-row textarea:focus {
    outline: none;
    border-color: #c00;
    box-shadow: 0 0 0 2px rgba(200, 0, 0, 0.08);
}


@media screen and (max-width: 767px) {
    .info-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
}

.bg-image-profile {
    background-image: url('../img/login/bg-1.png');
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 60% auto;
}

.title {
    font-size: 20px;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 20px;
}


.file-border {
    border: 1.5px dashed #000000;
    padding: 20px;
    border-radius: 8px;
}

.upload-btn-1 {
    background-color: var(--primary-color);
    color: #fff;
    border: 0;
}

.upload-btn-1:hover {
    color: #000;
}

.add-btn {
    background: #d40000;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 600;
}

.search-box {
    background: #eee;
    border-radius: 25px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 320px;
}

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

.per-page {
    width: 80px;
    border-radius: 6px;
}

.per-page-text {
    font-size: 14px;
    color: #444;
}

.custom-table thead th {
    border: none;
    font-weight: 600;
    padding: 16px;
}

.custom-table tbody td {
    padding: 16px;
    vertical-align: middle;
}

.custom-table tbody tr {
    background: #f3f3f3;
}

.custom-table tbody tr:nth-child(even) {
    background: #e9e9e9;
}

.action-btn {
    background: linear-gradient(107.04deg, #D70000 103.83%, #680000 4.23%);
    color: #fff;
    border: none;
    padding: 2px 22px;
    border-radius: 20px;
    font-size: 13px;
    transition: .5s ease-in;
}

.dataTables_wrapper .dataTables_paginate {
    margin-top: 20px;
}

.dataTables_wrapper .paginate_button {
    border: none !important;
    background: transparent !important;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    line-height: 34px;
    padding: 0 !important;
}

.dataTables_wrapper .paginate_button.current {
    background: #d40000 !important;
    color: #fff !important;
}

.dataTables_info {
    font-size: 14px;
    color: #555;
}

.table-responsive {
    overflow-x: inherit
}

.custom-modal {
    border-radius: 24px;
    background: #f4f4f4;
    border: none;
}

.form-grid {
    display: grid;
}

.form-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    gap: 16px;
}

.status-toggle {
    display: flex;
    gap: 12px;
}

.status-btn.active {
    background: #d40000;
    color: white;
}

.id-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    width: 320px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    position: relative;
    height: 70%;
}

.id-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d40000;
    font-weight: 700;
    justify-content: center;
    margin-bottom: 24px;
}

.copy-field {
    background: #efefef;
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}


.modal-dialog-1 {
    margin: 2rem 15rem !important;
}

@media screen and (max-width: 767px) {
    .modal-dialog-1 {
        margin: 2rem 2rem !important;
    }

    .show {
        padding: 10px !important;
    }
}

.upload-card {
    position: relative;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.upload-preview {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}

.modal-header {
    align-items: flex-start !important;
}

.success-button {
    background-color: #49BF00;
    color: white;
}

.reset-otp-btn {
    font-size: 14px;
}

/* Modal shape */
.otp-modal {
    border-radius: 18px;
    padding: 10px 20px 25px;
}

/* Image size */
.otp-img {
    width: 200px;
    max-width: 80%;
}

/* OTP field */
.otp-input {
    width: 140px;
    height: 48px;
    border-radius: 12px;
    background: #eee;
    border: none;
    text-align: center;
    font-weight: 500;
}

/* Verify button */
.verify-btn {
    background: #39b000;
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 25px;
    font-weight: 600;
}

/* Success text */
.success-msg {
    color: #222;
    font-size: 13px;
    white-space: nowrap;
}

/* Resend link */
.resend-btn {
    color: #000;
    font-size: 14px;
    text-decoration: none;
}

/* Activate EMI button */
.activate-btn {
    background: #d50000;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
}

.modal-dialog {
    margin: 1rem auto !important;
}



.status-group {
    display: flex;
    gap: 10px;
    font-size: 12px;
}

.status-btn {
    padding: 8px 15px;
    border: 1px solid #ccc;
    border-radius: 20px;
    cursor: pointer;
    background: #f3f3f3;
    transition: 0.2s;
}

/* hide radios */
.status-group input[type="radio"] {
    display: none;
}

/* active state */
.status-group input[type="radio"]:checked+.status-btn {
    background: #39b000;
    color: #fff;
    border-color: #39b000;
}

/* optional hover */
.status-btn:hover {
    background: #e5e5e5;
}

/* ===== RESPONSIVE DESIGN FOR REPORT PAGE ===== */

/* Tablet Responsive (768px - 991px) */
@media (max-width: 991.98px) {
    .filter-section {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        align-items: center;
    }

    .date-box {
        flex: 1 1 calc(50% - 8px);
        min-width: 150px;
    }

    .filter-btn {
        flex: 0 1 auto;
        cursor: pointer;
        transition: 0.3s ease;
    }

    .filter-btn:hover {
        background: var(--primary-color) !important;
        color: #fff;
    }

    .plot-tabs-1 {
        width: 100%;
        margin-bottom: 20px;
    }

    .plot-tabs-1 button {
        flex: 1;
        font-size: 14px;
        padding: 10px 8px;
    }

    .button-group {
        flex-wrap: wrap;
    }

    .button-group button {
        flex: 1 1 calc(50% - 8px);
        min-width: 120px;
    }

    .greeting-title {
        font-size: 20px !important;
        line-height: 1.2;
    }

    .greeting-subtitle {
        font-size: 14px;
        line-height: 1.4;
    }
}

/* Mobile Responsive (576px - 767px) */
@media (max-width: 767.98px) {
    .plot-card {
        padding: 16px;
        border-radius: 10px;
    }

    .filter-section {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
    }

    .date-box {
        flex: 1 1 100%;
        min-width: 100%;
        padding: 10px 12px !important;
        font-size: 13px;
    }

    .date-box input {
        font-size: 12px !important;
    }

    .filter-btn {
        flex: 0 1 auto;
        padding: 10px 12px !important;
        cursor: pointer;
        transition: 0.3s ease;
    }

    .filter-btn:hover {
        background: var(--primary-color) !important;
        color: #fff;
    }

    .plot-tabs-1 {
        width: 100%;
        margin-bottom: 16px;
    }

    .plot-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 8px;
    }

    .plot-tabs::-webkit-scrollbar {
        height: 4px;
    }

    .plot-tabs::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .plot-tabs::-webkit-scrollbar-thumb {
        background: #c40000;
        border-radius: 2px;
    }

    .plot-tabs-1 button {
        flex: 0 0 auto;
        font-size: 12px;
        padding: 8px 12px;
        white-space: nowrap;
        min-width: 120px;
    }

    .tab-content {
        padding: 10px 0;
    }

    .table-responsive {
        font-size: 12px;
    }

    .table {
        margin-bottom: 0;
    }

    .table thead {
        font-size: 11px;
    }

    .table tbody td {
        padding: 8px 8px !important;
        font-size: 11px;
        word-break: break-word;
    }

    .table th {
        font-weight: 600;
        padding: 10px 8px !important;
        background: #f5f5f5;
    }

    .button-group {
        flex-direction: column;
    }

    .button-group button {
        width: 100%;
        padding: 10px 16px !important;
        font-size: 14px;
    }

    .primary-btn-outline {
        padding: 10px 16px;
        font-size: 14px;
    }

    .greeting-title {
        font-size: 18px !important;
        font-weight: 600;
        line-height: 1.2;
        margin-bottom: 4px;
    }

    .greeting-subtitle {
        font-size: 12px;
        line-height: 1.4;
        color: var(--muted-text);
    }

    .responsive-header {
        margin-bottom: 20px;
    }

    .responsive-header>div {
        width: 100%;
    }

    .date-input {
        width: 100% !important;
        padding: 4px 0 !important;
        font-size: 12px !important;
    }
}

/* Extra Small Devices (max-width: 575px) */
@media (max-width: 575.98px) {
    .main-content {
        padding: 15px 12px;
    }

    .plot-card {
        padding: 12px;
        border-radius: 8px;
        margin-bottom: 16px;
    }

    .filter-section {
        gap: 8px;
        margin-bottom: 16px;
    }

    .date-box {
        flex: 1 1 100% !important;
        padding: 8px 10px !important;
        font-size: 12px;
        border-radius: 6px;
    }

    .date-box i {
        font-size: 14px;
    }

    .filter-btn {
        padding: 8px 10px !important;
        border-radius: 6px;
    }

    .plot-tabs-1 button {
        min-width: 100px;
        font-size: 11px;
        padding: 6px 10px;
    }

    .tab-content {
        padding: 8px 0;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table {
        font-size: 10px;
    }

    .table thead {
        font-size: 10px;
    }

    .table tbody td {
        padding: 6px 6px !important;
        font-size: 10px;
    }

    .table th {
        padding: 8px 6px !important;
    }

    .button-group {
        gap: 8px;
    }

    .button-group button {
        padding: 8px 12px !important;
        font-size: 13px;
    }

    .greeting-title {
        font-size: 16px !important;
        margin-bottom: 2px;
    }

    .greeting-subtitle {
        font-size: 11px;
    }

    /* Optimize spacing */
    .gap-3 {
        gap: 8px !important;
    }

    .px-3 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .py-2 {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    /* Hide extra columns on very small screens */
    .table-responsive {
        margin-bottom: 16px;
    }

    /* Stack action buttons */
    .primary-btn-outline {
        display: block;
        width: 100%;
        margin-top: 6px;
    }

    .primary-btn-outline:first-child {
        margin-top: 0;
    }
}

.status-msg {
    font-size: 12px;
    margin-left: 12px !important;
}