/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: #f5f6f8;
}

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

/* ================= SIDEBAR ================= */
.admin-sidebar {
    width: 240px;
    background: #fff;
    border-right: 1px solid #eee;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    padding: 20px 0;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #ff9324;
    padding: 0 20px 25px;
}

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

.sidebar-menu li a,
.logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    text-decoration: none;
    color: #555;
    border-radius: 8px;
    transition: 0.25s ease;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
}

.sidebar-menu li a:hover,
.sidebar-menu li.active a {
    background: #ff9324;
    color: #fff;
}


.admin-sidebar {
    width: 240px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background: #fff;
    border-right: 1px solid #eee;
    padding: 20px 0;
}

.main-content {
    margin-left: 240px;
    min-height: 100vh;
}

/* ================= MAIN ================= */
.main-content {
    margin-left: 240px;
    flex: 1;
}

/* ================= TOPBAR ================= */
.topbar {
    background: #fff;
    padding: 16px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar h3 {
    font-size: 20px;
    font-weight: 600;
}

/* ================= PAGE ================= */
.page-content {
    padding: 30px;
}

/* ================= DASHBOARD CARDS ================= */
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 25px;
}

.card {
    background: #fff;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: #ff9324;
    border-radius: 14px 0 0 14px;
}

.card h4 {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}

.card h3 {
    font-size: 30px;
    font-weight: 700;
    color: #222;
}

/* ================= TODAY STATS ================= */
.today-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 30px;
}

.summary-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.summary-card h5 {
    font-size: 14px;
    color: #777;
    margin-bottom: 6px;
}

.summary-card .count {
    font-size: 26px;
    font-weight: 700;
    color: #ff9324;
}

/* ================= CHARTS ================= */
.charts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 22px;
}

.chart-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.chart-card h4 {
    font-size: 15px;
    margin-bottom: 12px;
    color: #555;
}

/* 🔥 EXACT chart sizing */
.chart-card canvas {
    width: 100% !important;
    height: 260px !important;
}



/* ================= PATIENTS PAGE ================= */

.patients-page {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Header */
.patients-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.patients-header h2 {
    font-size: 22px;
    font-weight: 600;
}

/* Search + Add */
.patients-actions {
    display: flex;
    gap: 12px;
}

.search-input {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    width: 220px;
    outline: none;
}

.search-input:focus {
    border-color: #ff9324;
}

/* Add button */
.btn-add {
    background: #ff9324;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
}

.btn-add:hover {
    background: #e67e16;
}

/* Card */
.patients-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Table */
.patients-table {
    width: 100%;
    border-collapse: collapse;
}

.patients-table th,
.patients-table td {
    padding: 14px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    text-align: left;
}

.patients-table th {
    color: #777;
    font-weight: 600;
}

/* Empty state */
.empty-row td {
    padding: 40px;
    text-align: center;
    color: #777;
}

/* Actions */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.btn-edit {
    background: #e8f0fe;
    color: #1a73e8;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
}

.btn-edit:hover {
    background: #d2e3fc;
}

.btn-delete {
    background: #fdecea;
    color: #d93025;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

.btn-delete:hover {
    background: #f9d3ce;
}





/* ===== PAYMENTS HEADER FIX ===== */
.payments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.payments-header .page-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.payments-filters {
    display: flex;
    gap: 12px;
    align-items: center;
}

.payments-filters .search-input {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    width: 240px;
    outline: none;
    transition: 0.2s;
}

.payments-filters .search-input:focus {
    border-color: #ff9324;
}

.payments-filters .status-filter {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
    cursor: pointer;
}

/* Mobile fix */
@media (max-width: 768px) {
    .payments-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .payments-filters {
        width: 100%;
        flex-wrap: wrap;
    }

    .payments-filters .search-input {
        width: 100%;
    }
}



/* ===== ANALYTICS PAGE ===== */

.analytics-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.stat-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: #ff9324;
}

.stat-card h6 {
    font-size: 14px;
    color: #777;
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
}

/* Analytics section */
.analytics-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

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

.status-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.status-list li:last-child {
    border-bottom: none;
}

/* ===== ANALYTICS SPACING & HOVER POLISH ===== */

/* More breathing space between cards */
.analytics-cards {
    gap: 30px;              /* was tight, now airy */
    margin-bottom: 35px;
}

/* Individual stat cards */
.stat-card {
    transition: all 0.25s ease;
}

/* Hover effect */
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

/* Slight glow on left accent on hover */
.stat-card:hover::before {
    box-shadow: 0 0 12px rgba(255,147,36,0.6);
}

/* Booking status section spacing */
.analytics-section {
    margin-top: 30px;
}

/* Booking status card hover */
.analytics-card {
    transition: all 0.25s ease;
}

.analytics-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

/* Booking status list spacing */
.status-list li {
    padding: 14px 0;     /* more vertical spacing */
    font-size: 15px;
}


/* ===== APPOINTMENTS UI FIX ===== */

.status-tabs {
    display: flex;
    gap: 10px;
}

.status-tabs .tab {
    padding: 8px 18px;
    border-radius: 25px;
    border: 2px solid #ff9324;
    color: #ff9324;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.status-tabs .tab:hover,
.status-tabs .tab.active {
    background: #ff9324;
    color: #fff;
}

/* Appointment table empty state */
.patients-table td.text-center {
    font-size: 15px;
    color: #777;
}

/* Hover effect on table rows */
.patients-table tbody tr:hover {
    background: #fff8f1;
}

/* Search input polish */
.page-header input.form-control {
    border-radius: 30px;
    padding: 10px 16px;
    transition: 0.3s;
}

.page-header input.form-control:focus {
    border-color: #ff9324;
    box-shadow: 0 0 0 3px rgba(255,147,36,0.2);
}


/* ===== APPOINTMENTS UI CLEAN ===== */

.appointment-header {
    display: flex;
    align-items: center;
}

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

/* Search */
.appointment-search {
    width: 260px;
    padding: 10px 18px;
    border-radius: 30px;
    border: 2px solid #ddd;
    font-size: 14px;
    transition: all 0.3s ease;
}

.appointment-search:focus {
    outline: none;
    border-color: #ff9324;
    box-shadow: 0 0 0 3px rgba(255,147,36,0.15);
}

/* Tabs */
.status-tabs {
    display: flex;
    gap: 16px;
}

.status-tabs .tab {
    padding: 10px 24px;
    border-radius: 30px;
    border: 2px solid #ff9324;
    color: #ff9324;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.status-tabs .tab:hover,
.status-tabs .tab.active {
    background: #ff9324;
    color: #fff;
    transform: translateY(-2px);
}


/* Status Tabs */
.status-tabs {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.status-tabs .tab {
    padding: 10px 22px;
    border-radius: 999px;
    border: 2px solid #ff9324;
    color: #ff9324;
    font-weight: 500;
    transition: all 0.25s ease;
}

.status-tabs .tab:hover {
    background: rgba(255,147,36,0.12);
    transform: translateY(-1px);
}

.status-tabs .tab.active {
    background: #ff9324;
    color: #fff;
}


/* ===== Appointments Header Fix ===== */
.appointments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.appointments-header .page-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-input {
    width: 280px;
    border-radius: 30px;
    padding: 10px 18px;
    border: 2px solid #ddd;
    transition: all 0.25s ease;
}

.search-input:focus {
    border-color: #ff9324;
    box-shadow: 0 0 0 4px rgba(255,147,36,0.15);
    outline: none;
}



/* ===== Settings Page ===== */

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
}

.settings-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

.settings-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}

.settings-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Form */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 2px solid #e5e5e5;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #ff9324;
    box-shadow: 0 0 0 4px rgba(255,147,36,0.15);
    outline: none;
}

/* Button */
.btn-primary {
    background: #ff9324;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: #e67f16;
    transform: translateY(-1px);
}
.logout-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 10px 14px;
    text-align: left;
    font-size: 15px;
    color: #444;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: rgba(255,147,36,0.15);
    color: #ff9324;
}

.btn-action {
    border: none;
    padding: 6px 14px;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 6px;
}

.btn-edit {
    background: #e8f0ff;
    color: #2563eb;
}

.btn-edit:hover {
    background: #dbe7ff;
}

.btn-delete {
    background: #fde8e8;
    color: #dc2626;
}

.btn-delete:hover {
    background: #fbd5d5;
}



/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .charts-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        display: none;
    }

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

    .cards,
    .today-summary {
        grid-template-columns: 1fr;
    }
}




/* ADD PATIENT FORM CSS */

.add-patient-card {
    max-width: 800px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #ff8c1a;
    box-shadow: 0 0 0 2px rgba(255,140,26,0.15);
    outline: none;
}

.full-width {
    grid-column: span 2;
}

.form-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: #ff8c1a;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
}

.btn-primary:hover {
    background: #e67600;
}

.btn-secondary {
    background: #f3f4f6;
    color: #333;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #e5e7eb;
}






/* FORM LAYOUT */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff8c1a;
}

/* Full width row */
.full-width {
    grid-column: span 2;
}

/* Actions */
.form-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-cancel {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.btn-cancel:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }
}



/* Header layout (Patients / Payments / etc) */
.patients-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.patients-header h2 {
    font-size: 26px;
    font-weight: 600;
}

/* Right side actions */
.patients-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Search input */
.search-input {
    width: 260px;
    padding: 10px 14px;
    border-radius: 30px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 14px;
}

/* Status dropdown */
.filter-select {
    padding: 9px 14px;
    border-radius: 30px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

/* Hover polish */
.search-input:focus,
.filter-select:focus {
    border-color: #ff8c1a;
    box-shadow: 0 0 0 2px rgba(255,140,26,0.15);
}


.custom-select {
    position: relative;
    width: 160px;
}

.custom-select select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding: 10px 40px 10px 16px;
    border-radius: 30px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

/* Arrow */
.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
    color: #555;
}

/* Hover & focus */
.custom-select select:hover {
    border-color: #ff8c1a;
}

.custom-select select:focus {
    outline: none;
    border-color: #ff8c1a;
    box-shadow: 0 0 0 2px rgba(255,140,26,0.15);
}




/* ===== Custom Select Clean UI ===== */
.custom-select-wrapper {
    position: relative;
    width: 160px;
}

.custom-select {
    width: 100%;
    padding: 10px 38px 10px 14px;
    border-radius: 999px;
    border: 2px solid #ff8c1a;
    background-color: #fff;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Dropdown arrow */
.custom-select-wrapper::after {
    content: "▾";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
    color: #ff8c1a;
}

/* Hover */
.custom-select:hover {
    border-color: #ff7a00;
}

/* Focus */
.custom-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 140, 26, 0.15);
}

/* Dropdown options */
.custom-select option {
    padding: 10px;
    background: #fff;
    color: #333;
}



.action-btns {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-action {
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

/* View */
.btn-view {
    background: #eef2ff;
    color: #3730a3;
}

/* Verify */
.btn-verify {
    background: #dcfce7;
    color: #166534;
}

/* Reject */
.btn-reject {
    background: #fff7ed;
    color: #9a3412;
}

/* Delete */
.btn-delete {
    background: #fee2e2;
    color: #991b1b;
}

.btn-action:hover {
    opacity: 0.85;
}





/* Sidebar base */
.sidebar-item > .sidebar-link {
    background: transparent;
    color: #333;
    border-radius: 8px;
    padding: 12px 16px;
}

/* Active parent (Careers) */
.sidebar-item.open > .sidebar-link {
    background: #fff3e6;
    color: #ff8c1a;
    font-weight: 600;
}

/* Submenu */
.submenu {
    margin-top: 6px;
    padding-left: 18px;
}

.submenu li a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    color: #555;
    border-radius: 6px;
}

/* Active child */
.submenu li.active a {
    background: #ff8c1a;
    color: #fff;
    font-weight: 500;
}
/* Hide submenu by default */
.sidebar-item .submenu {
    display: none;
    padding-left: 18px;
    margin-top: 6px;
}

/* Show only when open */
.sidebar-item.open .submenu {
    display: block;
}

/* Arrow rotation */
.sidebar-item .arrow {
    transition: transform 0.3s ease;
}

.sidebar-item.open .arrow {
    transform: rotate(180deg);
}



/* Page layout */
.admin-page {
    padding: 24px;
}

.page-header h2 {
    margin-bottom: 4px;
}

.page-header p {
    color: #777;
    margin-bottom: 20px;
}

/* Card */
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.card-body {
    padding: 20px;
}

/* Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: #f9fafb;
}

.admin-table th {
    text-align: left;
    padding: 12px;
    font-size: 14px;
    color: #555;
    font-weight: 600;
}

.admin-table td {
    padding: 12px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

/* Badge */
.badge {
    background: #fff2e6;
    color: #ff8a00;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Links */
.link {
    color: #ff8a00;
    font-weight: 500;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state h3 {
    margin-bottom: 6px;
}

.empty-state p {
    color: #777;
}

.empty-icon {
    font-size: 42px;
    margin-bottom: 10px;
}

.page-header select {
    border-radius: 6px;
    font-size: 14px;
}
.admin-table tbody tr:hover {
    background: #fafafa;
}



/* ================================
   Caregiver Profile – Clean UI
================================ */

/* Card polish */
.card {
    background: #ffffff;
}

.card-body {
    font-size: 14.5px;
}

/* Headings */
.card h5 {
    font-size: 16px;
    letter-spacing: 0.3px;
}

/* Table alignment */
.table th {
    text-align: left;
    vertical-align: middle;
    padding: 8px 4px;
}

.table td {
    padding: 8px 4px;
    color: #111;
}

/* Status pills */
.badge {
    font-weight: 500;
    font-size: 13px;
}

/* Soft status colors */
.bg-success-subtle {
    background-color: #e8f7ef !important;
}

.bg-warning-subtle {
    background-color: #fff3cd !important;
}

/* Action buttons */
.card .btn {
    border-radius: 10px;
    font-weight: 500;
}

.card .btn-outline-danger {
    border-color: #dc3545;
}

.card .btn-light {
    background: #f8f9fa;
}

/* Page spacing */
.page-header h2 {
    font-size: 22px;
}

/* Grid breathing space */
/* .row > [class*="col-"] {
    margin-bottom: 20px;
} */
/* ==== ACTIONS CARD FIX ==== */
.card .actions,
.card .d-grid {
    text-align: left;
}

/* DELETE BUTTON */
.card .btn-danger {
    border-radius: 12px !important;
    font-weight: 600;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* REMOVE WEIRD BLACK OUTLINE */
.card .btn-danger:focus,
.card .btn-danger:active {
    outline: none !important;
    box-shadow: none !important;
}

/* BACK LINK FIX */
.card a.btn-light {
    text-decoration: none !important;
    color: #555 !important;
    border-radius: 12px;
    border: 1px solid #ddd !important;
    background: #f8f9fa;
    font-weight: 500;
}

/* REMOVE UNDERLINE COMPLETELY */
.card a.btn-light:hover,
.card a.btn-light:focus {
    text-decoration: none !important;
    color: #000 !important;
    background: #f1f1f1;
}

/* ICON SPACING */
.card .btn i {
    margin-right: 6px;
}
/* Caregiver Login Fix */
.caregiver-input {
    width: 100%;
    height: 45px;
    padding: 10px 14px;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.caregiver-input:focus {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.15rem rgba(255, 140, 0, 0.25);
}


/* Action buttons container */
.action-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Base button */
.btn-action {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* View */
.btn-view {
    color: #6b21a8;
    background: #f3e8ff;
}
.btn-view:hover {
    background: #e9d5ff;
}

/* Assign */
.btn-assign {
    color: #0369a1;
    background: #e0f2fe;
}
.btn-assign:hover {
    background: #bae6fd;
}

/* OTP */
.btn-otp {
    color: #fff;
    background: #f97316;
}
.btn-otp:hover {
    background: #ea580c;
}

/* Approve */
.btn-approve {
    color: #fff;
    background: #16a34a;
}
.btn-approve:hover {
    background: #15803d;
}

/* Cancel */
.btn-cancel {
    color: #991b1b;
    background: #fee2e2;
}
.btn-cancel:hover {
    background: #fecaca;
}

.service-banner {
  width: 100%;
  background: #fff;
}

.service-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0; /* banner should NOT be rounded */
}



.mark-paid-btn {
    background: #e9f9f0;
    color: #1e7e34;
    border: 1px solid #b7e4c7;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mark-paid-btn i {
    font-size: 12px;
}

.mark-paid-btn:hover {
    background: #1e7e34;
    color: #fff;
    border-color: #1e7e34;
    box-shadow: 0 4px 10px rgba(30, 126, 52, 0.25);
}




td form {
    margin: 0;
}











/*.action-wrapper {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 10px;*/
/*    white-space: nowrap;*/
/*}*/

/*.action-text {*/
/*    font-size: 13px;*/
/*    color: #6c757d;*/
/*}*/

/*.action-btn {*/
/*    border: none;*/
/*    padding: 6px 10px;*/
/*    border-radius: 6px;*/
/*    font-size: 13px;*/
/*    cursor: pointer;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

/*.action-btn.success {*/
/*    background: #28a745;*/
/*    color: white;*/
/*}*/

/*.action-btn.danger {*/
/*    background: #dc3545;*/
/*    color: white;*/
/*}*/

/*.action-btn.delete {*/
/*    background: transparent;*/
/*    color: #dc3545;*/
/*    font-size: 16px;*/
/*}*/

/*.action-btn.delete:hover {*/
/*    background: rgba(220, 53, 69, 0.1);*/
/*}*/













.action-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.action-wrapper form {
    margin: 0;
}

.action-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}

/* Shortlist */
.action-btn.success {
    background: #e6f4ea;
    color: #1e7e34;
}

.action-btn.success:hover {
    background: #c3e6cb;
}

/* Reject */
.action-btn.danger {
    background: #fdecea;
    color: #c82333;
}

.action-btn.danger:hover {
    background: #f5c6cb;
}

/* Delete */
.action-btn.delete {
    background: #f8d7da;
    color: #721c24;
    padding: 6px 8px;
}

.action-btn.delete:hover {
    background: #f1b0b7;
}
























.action-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-action {
    border: none;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

/* Approve */
.btn-success {
    background: #e7f8ef;
    color: #0f9d58;
}
.btn-success:hover {
    background: #0f9d58;
    color: #fff;
}

/* Reject */
.btn-danger {
    background: #fdeaea;
    color: #e53935;
}
.btn-danger:hover {
    background: #e53935;
    color: #fff;
}

/* Complete */
.btn-primary {
    background: #e8f0fe;
    color: #1a73e8;
}
.btn-primary:hover {
    background: #1a73e8;
    color: #fff;
}

/* No actions text */
.status-muted {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}







.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.action-buttons form {
    margin: 0;
}

/* Edit button */
.btn-edit {
    background: #e0edff;
    color: #2563eb;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

/* Delete button */
.btn-delete {
    background: #fee2e2;
    color: #dc2626;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.btn-delete:hover {
    background: #fecaca;
}

