* {
    margin: 0;
    padding: 0;
    border-sizing: border-box;
}

.dashboard-container .navbar .container {
    max-width: 100% !important;
    width: 100%;
}

.dashboard-container .navbar .logo-img {
    margin-top: 2px;
}

.dashboard-container .nav-item {
    padding: 14px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease;
}

.sidebar .nav-item:hover {
    background: #29293d;
}

.dashboard-container .nav-item i {
    margin-right: 10px;
}

.dashboard-container .nav-item span {
    flex: 1;
    text-align: left;
    font-family: 'Outfit';
}

/* Dropdown Icon */
.nav-item .dropdown-icon {
    transition: transform 0.3s ease;
}

.nav-item.active .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dashboard-container .dropdown-menu {
    background: #212126;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.dashboard-container .dropdown-menu a {
    display: block;
    color: #bfbfbf;
    text-decoration: none;
    padding: 10px 0;
    font-size: 14px;
    transition: color 0.3s;
    padding: 9px 52px;
}

.dashboard-container .dropdown-menu a:hover {
    color: #fff;
}

/* Open State */
.dashboard-container .nav-item.open+.dropdown-menu {
    max-height: 200px;
    /* Adjust depending on content */
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #1b1b1b;
    color: #344767;
    border-bottom: 1px solid #2e2c2c;
}

/* Sidebar */
.dashboard-container .sidebar {
    width: 250px;
    margin-top: 105px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 10px rgb(62 53 53 / 5%);
    background: #1b1b1b;
    border-right: 1px solid #363636;
}

.dashboard-container .logo-text {
    font-weight: 600;
    font-size: 14px;
}

.dashboard-container .nav-section {
    margin-bottom: 30px;
}

.dashboard-container .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    margin-bottom: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
    color: #67748e;
    font-weight: 500;
}

.dashboard-container .nav-item.active {
    background: linear-gradient(45deg, #641def, #02a720);
    color: white;
    box-shadow: 0 4px 15px rgb(59 68 120 / 29%);
    border: 1px solid #2e2c2c;
}

.dashboard-container .nav-item i {
    width: 20px;
    text-align: center;
}

.dashboard-container .account-label {
    font-size: 11px;
    font-weight: 600;
    color: #8392ab;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 15px;
    margin: 25px 0 10px;
}

.dashboard-container .help-box {
    background: linear-gradient(135deg, #42a5f5 0%, #478ed1 100%);
    border-radius: 15px;
    padding: 20px;
    color: white;
    text-align: center;
    margin-top: 30px;
}

.dashboard-container .help-box i {
    font-size: 24px;
    margin-bottom: 10px;
}

.dashboard-container .help-box h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.dashboard-container .help-box p {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.dashboard-container .help-box button {
    background: white;
    color: #42a5f5;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    width: 100%;
}

.dashboard-container .upgrade-btn {
    background: linear-gradient(135deg, #2dce89 0%, #2dcecc 100%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main Content */
.content-grid {
    padding: 20px;
}

.dashboard-container .main-content {
    flex: 1;
    margin-top: 111px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
    padding: 20px;
}

.stat-card {
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 0px 10px rgb(136 141 255 / 16%);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #000000, #fbfbfb0f);
    backdrop-filter: blur(10px);
    border: 1px solid #404040;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.1;
    transform: translate(30%, -30%);
}

.stat-card.blue::before {
    background: #667eea;
}

.stat-card.green::before {
    background: #48bb78;
}

.stat-card.orange::before {
    background: #ed8936;
}

.stat-card.purple::before {
    background: #9f7aea;
}


.status-pending {
    background-color: #ffc107;
    color: #222;
}

.status-inprogress {
    background-color: #17a2b8;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-card.blue .stat-icon {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.stat-card.green .stat-icon {
    background: rgba(72, 187, 120, 0.1);
    color: #48bb78;
}

.stat-card.orange .stat-icon {
    background: rgba(237, 137, 54, 0.1);
    color: #ed8936;
}

.stat-card.purple .stat-icon {
    background: rgba(159, 122, 234, 0.1);
    color: #9f7aea;
}

.stat-change {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.stat-change.positive {
    background: rgba(72, 187, 120, 0.1);
    color: #48bb78;
}

.stat-change.negative {
    background: rgba(245, 101, 101, 0.1);
    color: #f56565;
}

.stat-label {
    color: #FFF;
    font-size: 14px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 22px;
    font-weight: bold;
    color: #FFF;
}

.card {
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    background: rgba(42, 38, 38, 0.21);
    border-width: 1px;
    border-style: solid;
    border-color: rgb(64, 64, 64);
    border-image: initial;

}

.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #FFF;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-small {
    padding: 10px 23px;
    border-radius: 6px;
    border: none;
    background: #1b1b1b;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid #9d9a9a;
}

.btn-small:hover {
    background: #5568d3;
    color: #FFF;
    transform: translateY(-2px);
}

.transaction {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #3d4246;
}

.transaction:last-child {
    border-bottom: none;
}

.transaction-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.transaction-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.transaction-icon.income {
    background: rgba(72, 187, 120, 0.1);
    color: #48bb78;
}

.transaction-icon.expense {
    background: rgba(237, 137, 54, 0.1);
    color: #ed8936;
}

.transaction-details h4 {
    color: #FFF;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 400;
}

.transaction-details p {
    color: #718096;
    font-size: 13px;
}

.transaction-amount {
    text-align: right;
}

.amount {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 4px;
}

.amount.positive {
    color: #48bb78;
}

.amount.negative {
    color: #ed8936;
}

.status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
}

.status.completed {
    background: rgba(72, 187, 120, 0.1);
    color: #48bb78;
}

.status.pending {
    background: rgba(237, 137, 54, 0.1);
    color: #ed8936;
}

.quick-action {
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 14px;
    border-radius: 10px;
    background: rgb(46 46 46);
    transition: 0.3s;
    gap: 15px
}

.quick-action:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.action-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.action-text h4 {
    color: #ffffff;
    margin-bottom: 3px;
    font-size: 14px;
    font-weight: 400;
}

.quick-action:hover .action-text h4 {
    color: #1b1b1b;
}


/* Profile page */

.profile-card,
.info-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 25px;
}

.profile-container {
    background: #4545457a;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px 40px;
    width: 97%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin: 30px auto;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.hire-toggle {
    display: flex;
    align-items: center;
    margin-right: auto;
    /* Push actions to the right */
    margin-left: 20px;
    font-size: 0.9em;
    color: #555;
}

hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

.form-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    /* Spacing between fields */
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 5px;
    font-family: 'Outfit';
}

.input-group input,
select,
textarea {
    padding: 10px 12px;
    border: none;
    border-bottom: 1px solid #6d6d6d;
    font-size: 1em;
    outline: none;
    transition: border-bottom-color 0.2s;
    background: none;
    border-radius: 0;
    color: #FFF;
    font-family: 'Outfit';
}

.input-group select {
    color: #000000;
}

.edit-profile {
    display: flex;
    gap: 10px;
    align-items: center;
}

.edit-profile h2,
p {
    margin: 0;
}

.edit-btn {
    background: #FFF;
    color: #2f2f2f;
    font-size: 15px;
    padding: 7px 14px;
    font-weight: 500;
    font-family: 'Outfit';
}

.edit-btn:hover {
    background: #FFF;
}

.edit-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.save-btn,
.cancel-btn {
    width: 162px;
    height: 41px;
    border-radius: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #FFF !important;
    background: linear-gradient(45deg, #641def, #02a720);
    font-family: 'Outfit';
}

.cancel-btn {
    background: linear-gradient(45deg, #5c5a60, #666666);
}

/*my Booking */
.order-booking {
    max-width: 100% !important;
    margin: 0 auto;
    background: #4545457a;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 85%;
    margin: 130px 20px 37px;
    padding: 18px 0;
}

.order-booking .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 1px solid #e9ecef;
    height: auto;
}

.order-booking h2 {
    font-size: 18px;
    font-weight: 600;
    color: #FFF;
}

.order-booking .header-actions {
    display: flex;
    gap: 12px;
}

.order-booking .filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s;
}

.order-booking+.filter-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.order-booking .export-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #007bff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.order-booking table {
    width: 100%;
    border-collapse: collapse;
}

.order-booking thead {
    background: linear-gradient(45deg, #0c2417, #14742d);
    border-bottom: 1px solid #919395;
}

.order-booking th {
    padding: 14px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #FFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-container {
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 8px 30px 8px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.search-container .search-icon {
    position: absolute;
    left: 10px;
    top: 38%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

.order-booking tbody tr {
    border-bottom: 1px solid #404040;
    transition: background-color 0.2s;
}

.order-booking tbody tr:hover {
    background-color: #1d1d1d;
}

.order-booking td {
    padding: 16px 20px;
    font-size: 14px;
    color: #FFF;
    cursor: pointer;
    font-family: 'Outfit';
}

.order-booking .booking-id {
    color: #FFF;
}

.order-booking .status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    min-width: 80px;
}

.order-booking .header-actions input {
    background: none;
    border: 1px solid #ededed;
    border-radius: 10px;
    padding: 10px 10px 10px 32px;
}

.order-booking .status-confirmed {
    background-color: #e7d4ff;
    color: #7c3aed;
}

.order-booking .status-canceled {
    background-color: #fed7d7;
    color: #dc2626;
}

.order-booking .status-cancelled {
    background-color: #ffe4cc;
    color: #f97316;
}

.order-booking .action-links {
    display: flex;
    gap: 12px;
}

.action-links a {
    background: #9572ff;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    text-align: center;
    place-content: center;
}

.action-links a:nth-child(1) {
    background: #747474;
}

.action-links a:nth-child(3) {
    background: #ff0000;
}

.order-booking .icon {
    width: 16px;
    height: 16px;
}

@media (max-width: 1200px) {
    .order-booking .table-wrapper {
        overflow-x: scroll;
    }

    .order-booking table {
        min-width: 1000px;
    }
}

/* Hide sidebar by default on mobile */
@media (max-width: 768px) {
    .order-booking .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .order-booking .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    #sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 240px;
        height: 100%;
        background: #1e1e2d;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 9;
    }

    .dashboard-container .sidebar {
        margin-top: 0;
        padding: 104px 20px 20px 20px;
    }

    #sidebar.open {
        transform: translateX(0);
    }

    .mobile-toggle {
        display: block;
        position: fixed;
        top: 127px;
        right: -6px;
        background: #fff;
        color: #5420ff;
        padding: 7px 8px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        font-size: 28px;
        cursor: pointer;
        z-index: 1000;
    }

    .order-booking {
        width: 95%;
    }

    .form-section {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }

    .actions {
        display: flex;
        gap: 10px;
    }

    .input-group input,
    select,
    textarea {
        padding: 10px 0;
    }

    .dashboard-container .nav-item {
        padding: 0 15px !important;
    }
}

@media (min-width: 769px) {
    .mobile-toggle {
        display: none;
    }
}

.action-text p {
    color: #718096;
    font-size: 12px;
}

@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* view-details */
.view-details .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 20px;
    transition: color 0.3s;
    margin-left: 10px;
    font-weight: 500;
}

.view-details .back-link:hover {
    color: #fff;
}

.view-details .card-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 30px;
    color: #fff;
    border-bottom: 1px solid #222;
    position: relative;
    overflow: hidden;
}

.view-details .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, #0dd300, #2f9f0b, #257017);
}

.view-details .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.view-details .booking-id {
    font-size: 15px;
    margin-bottom: 5px;
    text-transform: capitalize;
    font-weight: 500;
}

.view-details .booking-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.view-details .status-badge {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.view-details .status-confirmed {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.view-details .header-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.view-details .stat-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #222;
    transition: all 0.3s;
}

.view-details .stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #333;
}

.view-details .stat-label {
    font-size: 13px;
    color: #38e959;
    margin-bottom: 6px;
    font-weight: 500;
}

.view-details .stat-value {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    font-family: 'Outfit';
}

.view-details .card-body {
    padding: 35px;
    background: #141414;
}

.view-details .section {
    margin-bottom: 35px;
}

.view-details .section:last-child {
    margin-bottom: 0;
}

.view-details .section-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-details .section-title i {
    color: #FFF;
    font-size: 15px;
}

.view-details .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.view-details .info-item {
    background: #1a1a1a;
    padding: 18px;
    border-radius: 12px;
    border-left: 3px solid #3b82f6;
    border: 1px solid #222;
    transition: all 0.3s;
    margin-bottom: 10px;
}

.view-details .info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    border-left: 3px solid #3b82f6;
    border-color: #333;
}

.view-details .info-label {
    font-size: 13px;
    color: #38e959;
    margin-bottom: 6px;
    font-weight: 500;
}

.view-details .info-value {
    font-size: 15px;
    color: #e5e5e5;
    font-weight: 600;
    font-family: 'Outfit';
}

.view-details .notes-box {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid #f59e0b;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.view-details .notes-box .info-label {
    color: #fbbf24;
}

.view-details .notes-box .info-value {
    color: #fde68a;
    font-weight: 500;
    line-height: 1.6;
}

.view-details .payment-info {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-details .payment-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.view-details .payment-icon {
    width: 50px;
    height: 50px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #10b981;
}

.view-details .payment-details .payment-method {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
}

.view-details .payment-amount {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Outfit';
}

.view-details .action-buttons {
    display: flex;
    gap: 15px;
    padding-top: 20px;
    width: 28% !important;
    margin: 0 auto;
}

.generals-section #document-type,
#place-of-issue {
    color: #FFF;
}

.generals-section #document-type option,
#place-of-issue option {
    color: black;
}

.generals-section #date-of-issue::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.generals-section #valid-until::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.view-details .btn {
    flex: 1;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.view-details .btn-primary {
    background: linear-gradient(45deg, #641def, #02a720);
    color: #fff;
}

.view-details .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.view-details .btn-secondary {
    background: #1a1a1a;
    color: #f9f9f9;
    border: 1px solid #ffffff;
}

.view-details .btn-secondary:hover {
    background: #02a720;
    color: #fff;
}

@media (max-width: 768px) {
    .view-details body {
        padding: 20px 15px;
    }

    .view-details .booking-title {
        font-size: 22px;
    }

    .view-details .header-stats {
        grid-template-columns: 1fr;
    }

    .view-details .card-body {
        padding: 25px 20px;
    }

    .view-details .info-grid {
        grid-template-columns: 1fr;
    }

    .view-details .payment-info {
        flex-direction: column;
        gap: 20px;
        text-align: left;
    }

    .view-details .action-buttons {
        flex-direction: column;
    }
}

/* insurance-details */
.insurance-details .page-title {
    font-size: 28px;
    font-weight: 700;
    color: #FFF;
    margin: 0;
}

.insurance-details .header-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
}

.insurance-details .btn-add {
    padding: 9px 24px;
    background: linear-gradient(135deg, #572fd4, #0c9935);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    line-height: 9px !important;
    height: 43px;
}

.insurance-details .btn-add:hover {
    transform: translateY(-2px);
}

.insurance-details .page-subtitle {
    color: #666;
    font-size: 14px;
}

.insurance-details .content-section {
    background: #141414;
    border: 1px solid #222;
    border-radius: 16px;
    overflow: hidden;
}

.insurance-details .table-wrapper {
    overflow-x: auto;
}

.insurance-details .insurance-table {
    width: 100%;
    border-collapse: collapse;
}

.insurance-details .insurance-table thead {
    background: #1a1a1a;
}

.insurance-details .insurance-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Outfit';
}

.insurance-details .insurance-table td {
    padding: 10px;
    border-top: 1px solid #222;
    color: #e5e5e5;
    font-size: 14px;
}

.insurance-details .insurance-table tbody tr {
    transition: all 0.3s;
}

.insurance-details .insurance-table tbody tr:hover {
    background: #1a1a1a;
}

.insurance-details .policy-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.insurance-details .policy-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.insurance-details .policy-details {
    display: flex;
    flex-direction: column;
}

.insurance-details .policy-name {
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
}

.insurance-details .policy-number {
    font-size: 12px;
    color: #666;
}

.insurance-details .status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.insurance-details .status-active {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.insurance-details .status-expired {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.insurance-details .status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.insurance-details .coverage-amount {
    font-weight: 600;
    color: #3b82f6;
}

.insurance-details .action-buttons {
    display: flex;
    gap: 8px;
}

.insurance-details .btn-action {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s;
}

.insurance-details .btn-view {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.insurance-details .btn-view:hover {
    background: #3b82f6;
    color: #fff;
}

.insurance-details .btn-edit {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.insurance-details .btn-edit:hover {
    background: #f59e0b;
    color: #fff;
}

.insurance-details .btn-delete {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.insurance-details .btn-delete:hover {
    background: #ef4444;
    color: #fff;
}

.insurance-details .pagination-controls {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.insurance-details .pagination-controls button {
    padding: 6px 12px;
    border: 1px solid #333;
    background: #1a1a1a;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.insurance-details .pagination-controls button:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

.insurance-details .pagination-controls button.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}




@media (max-width: 768px) {
    .insurance-details .page-title {
        font-size: 24px;
    }

    .insurance-details .header-top {
        display: block;
    }

    .input-group {
        margin-top: 0 !important;
    }

    .insurance-details .insurance-table {
        min-width: 800px;
    }

    .stats-grid {
        display: block;
    }

    .insurance-details {
        overflow: scroll;
        width: 520px !important;
    }

    .stat-card{
        margin-bottom: 20px !important;
    }
}