.support-dashboard {
    padding: 20px;
    background: #f5f5f5;
}

.dashboard-title {
    text-align: center;
    font-weight: 600;
}

.dashboard-desc {
    text-align: center;
    color: red;
    margin-bottom: 30px;
    font-size: 14px;
}

.section-title {
    font-size: 26px;
    margin: 25px 0 15px;
    font-weight: 600;
}

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

.card {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    min-height: 90px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

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

/* GLOBAL */
.support-dashboard {
    background: #ffffff;
    color: #111;
    font-family: Arial, sans-serif;
}

/* SECTION TITLE */
.section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 15px;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
}

/* FILTER BAR */
.sales-top-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.filters select {
    padding: 8px 12px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    margin-left: 10px;
    cursor: pointer;
}

/* DASHBOARD GRID */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* CARD */
.dashboard-card {
    /* background: #000;
    color: #fff; */
    background: #e7e7e7;
    color: #000;
    padding: 20px;
    border-radius: 6px;
    transition: 0.2s ease;
}

/* HOVER EFFECT */
.dashboard-card:hover {
    /* background: #111; */
    border: 1px solid #cbcbcb;
    transform: translateY(-3px);
}

/* CARD TITLE */
.card-title {
    font-size: 13px;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* VALUE */
.dashboard-card h2 {
    margin-top: 10px;
    font-size: 26px;
    font-weight: bold;
}

/* RESPONSIVE */
@media(max-width:768px){
    .sales-top-bar {
        justify-content: space-between;
    }
}

.staff-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.staff-block {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
}

.staff-block h4 {
    margin-bottom: 15px;
}

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

.dryver-table th {
    background: #111;
    color: #fff;
    padding: 10px;
    font-size: 13px;
}

.dryver-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.dryver-table tr:hover {
    background: #fafafa;
}

/* Pagination */
.pagination {
    margin-top: 10px;
    text-align: right;
}

.pagination a {
    padding: 6px 10px;
    margin-left: 5px;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
}

.pagination a.active {
    background: #000;
    color: #fff;
}

/* TABS */
.myryde-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 8px 16px;
    border: 1px solid #000;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
}

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

/* CONTENT */
.tab-content {
    display: none;
}

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

/* HEADINGS */
.tab-content h3 {
    margin-bottom: 10px;
}

/* TABLE */
.widefat {
    width: 100%;
    border-collapse: collapse;
}

.widefat th {
    background: #111;
    color: #fff;
    padding: 10px;
}

.widefat td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.widefat tr:hover {
    background: #fafafa;
}

.fc-daygrid-day-bg,
.fc-highlight,
.fc-bg-event {
    pointer-events: none !important;
}
.fc-event,
.fc-event * {
    pointer-events: auto !important;
}

body {
    font-family: Arial, sans-serif;
}

/* Filters */
.ryde-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.ryde-filters input,
.ryde-filters select {
    padding: 6px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
}

.ryde-filters button {
    padding: 6px 12px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
}

/* Table */
#ryde_table {
    width: 100%;
    border-collapse: collapse;
}

#ryde_table th,
#ryde_table td {
    border: 1px solid #000;
    padding: 8px;
    text-align: left;
}

#ryde_table th {
    background: black;
    color: white;
}

/* Rows */
#ryde_table tr:nth-child(even) {
    background: #f5f5f5;
}

/* Pagination */
#pagination {
    margin-top: 15px;
}

.page-btn {
    padding: 5px 10px;
    margin: 2px;
    border: 1px solid #000;
    background: white;
    cursor: pointer;
}

.page-btn.active {
    background: black;
    color: white;
}

/* Wrapper */
#myryde-settings-form {
    max-width: 900px;
    margin: 30px auto;
    font-family: Arial, sans-serif;
}

/* Card */
.settings-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

/* Headings */
#myryde-settings-form h2 {
    font-size: 26px;
    margin-bottom: 20px;
}

#myryde-settings-form h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 18px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    color: #333;
}

/* Labels */
#myryde-settings-form label {
    display: block;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #444;
}

/* Inputs */
#myryde-settings-form input,
#myryde-settings-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

/* Focus effect */
#myryde-settings-form input:focus,
#myryde-settings-form textarea:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2);
}

/* Textarea */
#myryde-settings-form textarea {
    min-height: 120px;
}

/* Small helper text */
#myryde-settings-form p {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

/* Button */
#save-settings {
    margin-top: 25px;
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Button hover */
#save-settings:hover {
    background: #135e96;
}

/* Success state */
#save-settings.saved {
    background: #28a745;
}

/* Number fields smaller */
#myryde-settings-form input[type="number"] {
    max-width: 200px;
}

/* Responsive */
@media (max-width: 768px) {
    .settings-card {
        padding: 15px;
    }
}


.support-title {
    margin-bottom: 15px;
    font-size: 22px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.support-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 15px;
    border-radius: 8px;
}

.support-card h3 {
    margin-bottom: 10px;
    font-size: 16px;
}

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

/* 🔹 Status colors */
.status {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.status.in-progress {
    background: #fff3cd;
    color: #856404;
}

.status.completed {
    background: #d4edda;
    color: #155724;
}

/* 🔹 Chat */
.chat-box {
    max-height: 150px;
    overflow-y: auto;
    background: #f9f9f9;
    padding: 10px;
    margin-bottom: 10px;
}

.chat-msg {
    font-size: 13px;
    margin-bottom: 6px;
}

.chat-msg span {
    color: #888;
    margin-right: 5px;
}

/* 🔹 Inputs */
textarea {
    width: 100%;
    min-height: 60px;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.support-select {
    width: 100%;
    padding: 6px;
    margin-top: 5px;
}

/* 🔹 Buttons */
.btn-primary {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
}

.btn-success {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
}