/**
 * CT Organizer Dashboard Styles
	version for ajax. Consolidating all css into one file for better performance.



    --e-global-color-fcbc14f: #38CDE6;
    --e-global-color-e294a6d: #1C6773;
    --e-global-color-4c51f98: #191D20;
    --e-global-color-bf796a6: #FFFFFF00;
    --e-global-color-a1b472a: #BBBBBB;
    --e-global-color-535d23f: #09888D;
 */

.ctod-header-right [type=button], .ctod-header-right [type=submit], .ctod-header-right button, 
.ctod-report-card-actions [type=button], .ctod-report-card-actions [type=submit], .ctod-report-card-actions button,
.ctod-filters-right [type=button], .ctod-filters-right [type=submit], .ctod-filters-right button, 
.ctod-contract-actions [type=button], .ctod-contract-actions [type=submit], .ctod-contract-actions button,
.ctod-info-card-footer [type=button], .ctod-info-card-footer [type=submit], .ctod-info-card-footer button {
    background-color: white;
    border: 1px solid #09888D;
    border-radius: 8px;
    color: #09888D;
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    padding: .5rem 1rem;
    text-align: center;
    transition: all .3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    white-space: nowrap;
}

.ctod-info-card-footer a{
    color:#09888D
}

/* Dashboard Container */
.ctod-dashboard-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Wrapper */
.ctod-page-header-wrapper {
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}


.ctod-header-top h1{
    font-size: 2rem;
}

/* Quick Stats Grid */
.ctod-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* v1.2.1 - Stat card layout fixes */

.ctod-stat-card {
    background: #efefef;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.ctod-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ctod-stat-card .stat-icon {
    display: inline-block;
    font-size: 24px;
    color: #09888D;
    margin-right: 10px;
    vertical-align: middle;
}

.ctod-stat-card .stat-content {
    display: block;
}

.ctod-stat-card .stat-label {
    display: inline-block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    vertical-align: middle;
    margin: 0;
}

.ctod-stat-card .stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #23282d;
    margin: 15px 0 10px;
    text-align: center;
}

.ctod-stat-card .stat-meta,
.ctod-stat-card .stat-link {
    display: block;
    font-size: 13px;
    color: #09888D;
    text-align: center;
    text-decoration: none;
    margin-top: 8px;
}

.ctod-stat-card .stat-link:hover {
    text-decoration: underline;
}

.ctod-stat-card .stat-change {
    font-size: 12px;
    margin-top: 8px;
    display: block;
    text-align: center;
}

.ctod-stat-card .stat-change.positive {
    color: #46b450;
}

.ctod-stat-card .stat-change.negative {
    color: #dc3232;
}

.ctod-stat-card .stat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}


.ctod-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px;
    background: linear-gradient(135deg, #09888D 0%, #47c5e1 100%);
    color: white;
	border-radius: 8px;
	margin-bottom:15px;
}

.overview{
    display:block;
}




/* Section Containers */
.ctod-section {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ctod-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f1;
}

.ctod-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #23282d;
    margin: 0;
}

.ctod-section-actions {
    display: flex;
    gap: 10px;
}

/* Notifications */
.ctod-notifications {
    max-height: 400px;
    overflow-y: auto;
}

.ctod-notification {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border-bottom: 1px solid #f0f0f1;
    transition: background 0.2s;
}

.ctod-notification:hover {
    background: #f9f9f9;
}

.ctod-notification.unread {
    background: #e7f5fe;
}

.ctod-notification-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
}

.ctod-notification-icon.info {
    background: #e7f5fe;
    color: #0073aa;
}

.ctod-notification-icon.success {
    background: #ecf7ed;
    color: #46b450;
}

.ctod-notification-icon.warning {
    background: #fff8e5;
    color: #f0b849;
}

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

.ctod-notification-title {
    font-weight: 600;
    color: #23282d;
    margin-bottom: 5px;
}

.ctod-notification-message {
    font-size: 14px;
    color: #50575e;
    margin-bottom: 5px;
}

.ctod-notification-time {
    font-size: 12px;
    color: #7e8993;
}

/* Events Table */
.ctod-events-table {
    width: 100%;
    border-collapse: collapse;
	display:table;
}

.ctod-events-table thead {
    background: #f9f9f9;
}

.ctod-events-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #50575e;
    border-bottom: 2px solid #e5e5e5;
}

.ctod-events-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f1;
}

.ctod-events-table tr:hover {
    background: #f9f9f9;
}

.ctod-event-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.ctod-event-status.upcoming {
    background: #e7f5fe;
    color: #0073aa;
}

.ctod-event-status.ongoing {
    background: #ecf7ed;
    color: #46b450;
}

.ctod-event-status.past {
    background: #f0f0f1;
    color: #7e8993;
}

.ctod-event-status.sold-out {
    background: #fcf0f1;
    color: #dc3232;
}

/* Progress Bar */
.ctod-progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f1;
    border-radius: 4px;
    overflow: hidden;
    margin: 5px 0;
}

.ctod-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0073aa, #00a0d2);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Chart Container */
.ctod-analytics-chart-wrapper {
    margin: 20px 0;
}

.ctod-chart-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.ctod-filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ctod-filter-group label {
    font-size: 12px;
    font-weight: 600;
    color: #50575e;
    text-transform: uppercase;
}

.ctod-filter-group select,
.ctod-filter-group input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.ctod-filter-apply {
    align-self: flex-end;
    padding: 8px 20px;
    background: #09888D;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.ctod-filter-apply:hover {
    background: #09888D;
}

.ctod-analytics-chart-container {
    position: relative;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
}

.ctod-chart-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* File Manager */
.ctod-file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.ctod-file-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
}

.ctod-file-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.ctod-file-icon {
    font-size: 48px;
    color: #0073aa;
    margin-bottom: 10px;
}

.ctod-file-name {
    font-size: 14px;
    font-weight: 600;
    color: #23282d;
    margin-bottom: 5px;
    word-break: break-word;
}

.ctod-file-size {
    font-size: 12px;
    color: #7e8993;
    margin-bottom: 10px;
}

.ctod-file-actions {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.ctod-file-action {
    padding: 5px 10px;
    font-size: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.ctod-file-action.download {
    background: #09888D;
    color: #fff;
}

.ctod-file-action.download:hover {
    background: #09888D;
}

.ctod-file-action.delete {
    background: #dc3232;
    color: #fff;
}

.ctod-file-action.delete:hover {
    background: #a00;
}

/* Upload Area */
.ctod-upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    background: #f9f9f9;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
}

.ctod-upload-area:hover,
.ctod-upload-area.dragging {
    border-color: #09888D;
    background: #e7f5fe;
}

.ctod-upload-icon {
    font-size: 48px;
    color: #0073aa;
    margin-bottom: 15px;
}

.ctod-upload-text {
    font-size: 16px;
    color: #50575e;
    margin-bottom: 10px;
}

.ctod-upload-subtext {
    font-size: 12px;
    color: #7e8993;
}

/* Service Request Cards */
.ctod-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Service Request Cards */
.ctod-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.ctod-service-card {
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ctod-service-card:hover {
    border-color: #09888D;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.1);
}

.ctod-service-icon {
    font-size: 40px;
    color: #0073aa;
    margin-bottom: 15px;
}

.ctod-service-name {
    font-size: 18px;
    font-weight: 600;
    color: #23282d;
    margin-bottom: 10px;
}

.ctod-service-description {
    font-size: 14px;
    color: #50575e;
    margin-bottom: 15px;
    line-height: 1.6;
}

.ctod-service-pricing {
    font-size: 16px;
    font-weight: 600;
    color: #0073aa;
    margin-bottom: 15px;
}

.ctod-service-request-btn {
    width: 100%;
    padding: 10px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.ctod-service-request-btn:hover {
    background: #09888D;
}

/* Service Request Status */
.ctod-request-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.ctod-request-status.pending {
    background: #fff8e5;
    color: #f0b849;
}

.ctod-request-status.in-progress {
    background: #e7f5fe;
    color: #0073aa;
}

.ctod-request-status.completed {
    background: #ecf7ed;
    color: #46b450;
}

.ctod-request-status.cancelled {
    background: #fcf0f1;
    color: #dc3232;
}

/* Forms */
.ctod-form {
    max-width: 600px;
}

.ctod-form-group {
    margin-bottom: 20px;
}

.ctod-form-label {
    display: block;
    font-weight: 600;
    color: #23282d;
    margin-bottom: 8px;
}

.ctod-form-input,
.ctod-form-select,
.ctod-form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.ctod-form-input:focus,
.ctod-form-select:focus,
.ctod-form-textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.ctod-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.ctod-form-help {
    font-size: 12px;
    color: #7e8993;
    margin-top: 5px;
}

.ctod-form-error {
    font-size: 12px;
    color: #dc3232;
    margin-top: 5px;
}

.ctod-form-submit {
    padding: 12px 30px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.ctod-form-submit:hover {
    background: #09888D;
}

.ctod-form-submit:disabled {
    background: #7e8993;
    cursor: not-allowed;
}

/* Modal/Dialog */
.ctod-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.ctod-modal.active {
    display: flex;
}

.ctod-modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.ctod-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ctod-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #23282d;
    margin: 0;
}

.ctod-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #7e8993;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.ctod-modal-close:hover {
    background: #f0f0f1;
}

.ctod-modal-body {
    padding: 20px;
}

.ctod-modal-footer {
    padding: 20px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Alerts */
.ctod-alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ctod-alert-icon {
    font-size: 20px;
}

.ctod-alert.info {
    background: #e7f5fe;
    border-left: 4px solid #0073aa;
    color: #005a87;
}

.ctod-alert.success {
    background: #ecf7ed;
    border-left: 4px solid #46b450;
    color: #2e7d32;
}

.ctod-alert.warning {
    background: #fff8e5;
    border-left: 4px solid #f0b849;
    color: #996800;
}

.ctod-alert.error {
    background: #fcf0f1;
    border-left: 4px solid #dc3232;
    color: #a00;
}

/* Support Tickets */
.ctod-ticket-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ctod-ticket-item {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    transition: background 0.2s;
    cursor: pointer;
}

.ctod-ticket-item:hover {
    background: #f9f9f9;
}

.ctod-ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.ctod-ticket-subject {
    font-weight: 600;
    color: #23282d;
    margin-bottom: 5px;
}

.ctod-ticket-meta {
    font-size: 12px;
    color: #7e8993;
}

.ctod-ticket-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.ctod-ticket-status.open {
    background: #e7f5fe;
    color: #0073aa;
}

.ctod-ticket-status.awaiting {
    background: #fff8e5;
    color: #f0b849;
}

.ctod-ticket-status.resolved {
    background: #ecf7ed;
    color: #46b450;
}

/* Embed Code Display */
.ctod-embed-code {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #23282d;
    overflow-x: auto;
    position: relative;
}

.ctod-embed-copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.ctod-embed-copy-btn:hover {
    background: #09888D;
}

/* Calendar View */
.ctod-calendar {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.ctod-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f9f9f9;
    border-bottom: 1px solid #e5e5e5;
}

.ctod-calendar-nav {
    display: flex;
    gap: 10px;
}

.ctod-calendar-nav-btn {
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.ctod-calendar-nav-btn:hover {
    background: #f0f0f1;
}

.ctod-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e5e5e5;
}

.ctod-calendar-day-header {
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: #50575e;
    background: #f9f9f9;
}

.ctod-calendar-day {
    min-height: 100px;
    padding: 8px;
    background: #fff;
    position: relative;
}

.ctod-calendar-day.other-month {
    background: #f9f9f9;
    color: #7e8993;
}

.ctod-calendar-day-number {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.ctod-calendar-event {
    font-size: 11px;
    padding: 2px 6px;
    background: #e7f5fe;
    color: #0073aa;
    border-radius: 2px;
    margin-bottom: 2px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ctod-calendar-event:hover {
    background: #09888D;
    color: #fff;
}
.ctod-nav-arrow {
    transition: transform 0.2s;
}

.ctod-nav-arrow.rotated {
    transform: rotate(180deg);
}
.ctod-nav-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    background: #f8f9fa;
}

.ctod-nav-submenu.show {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ctod-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .ctod-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .ctod-chart-filters {
        flex-direction: column;
    }
    
    .ctod-filter-apply {
        align-self: stretch;
    }
    
    .ctod-service-grid {
        grid-template-columns: 1fr;
    }
    
    .ctod-file-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .ctod-events-table {
        font-size: 14px;
    }
    
    .ctod-events-table th,
    .ctod-events-table td {
        padding: 8px;
    }
    
    .ctod-calendar-day {
        min-height: 80px;
        padding: 5px;
    }
}

/* Loading States */
.ctod-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.ctod-spinner {
    border: 3px solid #f0f0f1;
    border-top-color: #0073aa;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: ctod-spin 0.8s linear infinite;
}

@keyframes ctod-spin {
    to { transform: rotate(360deg); }
}

/* Empty States */
.ctod-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #7e8993;
}

.ctod-empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.ctod-empty-state-title {
    font-size: 20px;
    font-weight: 600;
    color: #50575e;
    margin-bottom: 10px;
}

.ctod-empty-state-description {
    font-size: 14px;
    margin-bottom: 20px;
}

/* Utility Classes */
.ctod-text-center {
    text-align: center;
}

.ctod-text-right {
    text-align: right;
}

.ctod-mt-10 {
    margin-top: 10px;
}

.ctod-mt-20 {
    margin-top: 20px;
}

.ctod-mb-10 {
    margin-bottom: 10px;
}

.ctod-mb-20 {
    margin-bottom: 20px;
}

.ctod-flex {
    display: flex;
}

.ctod-flex-gap-10 {
    gap: 10px;
}

.ctod-flex-between {
    justify-content: space-between;
}

.ctod-flex-center {
    justify-content: center;
    align-items: center;
}

.ctod-hidden {
    display: none;
}





/* */
/* Elementor Dashboard Widget Navigation Styles */

.ctod-elementor-dashboard {
    width: 100%;
}

/* Horizontal Navigation */
.ctod-nav-horizontal {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: visible;
}

.ctod-nav-horizontal ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ctod-nav-horizontal ul li {
    margin: 0;
}

.ctod-nav-horizontal ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 24px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.ctod-nav-horizontal ul li a:hover {
    background: #f5f5f5;
    color: #0073aa;
}

.ctod-nav-horizontal ul li a.active {
    color: #0073aa;
    border-bottom-color: #0073aa;
    background: #f9f9f9;
}

.ctod-nav-horizontal ul li a .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Vertical Navigation */
.ctod-nav-vertical {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    width: 250px;
    float: left;
    margin-right: 30px;
}

.ctod-nav-vertical ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ctod-nav-vertical ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.ctod-nav-vertical ul li a:hover {
    background: #f5f5f5;
    color: #09888D;
}

.ctod-nav-vertical ul li a.active {
    color: #09888D;
    border-left-color: #09888D;
    background: #f9f9f9;
}

.ctod-nav-vertical + .ctod-dashboard-content {
    margin-left: 280px;
}

/* Dropdown Navigation */
.ctod-nav-dropdown {
    width: 100%;
    max-width: 400px;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 30px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.ctod-nav-dropdown:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

/* Dashboard Content Area */
.ctod-dashboard-content {
    width: 100%;
    clear: both;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ctod-nav-horizontal ul {
        flex-direction: column;
    }
    
    .ctod-nav-horizontal ul li {
        width: 100%;
    }
    
    .ctod-nav-horizontal ul li a {
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .ctod-nav-horizontal ul li a.active {
        border-bottom: none;
        border-left-color: #0073aa;
    }
    
    .ctod-nav-vertical {
        width: 100%;
        float: none;
        margin-right: 0;
    }
    
    .ctod-nav-vertical + .ctod-dashboard-content {
        margin-left: 0;
    }
}
/* Mobile responsive table - compact cards */
@media (max-width: 768px) {
    .ctod-table-controls {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .ctod-pagination-info,
    .ctod-per-page-label,
    .ctod-page-current {
        font-size: 12px;
    }
    
    .ctod-per-page-link {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .ctod-events-table thead {
        display: none;
    }
    
    .ctod-events-table tbody tr {
        display: block;
        margin-bottom: 10px;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        overflow: hidden;
    }
    
    .ctod-events-table tbody td {
        display: block;
        padding: 8px 12px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 13px;
    }
    
    .ctod-events-table tbody td:last-child {
        border-bottom: none;
    }
    
    .ctod-events-table tbody td:before {
        content: attr(data-label);
        font-weight: 600;
        display: inline-block;
        margin-right: 8px;
        color: #666;
        font-size: 11px;
        text-transform: uppercase;
        min-width: 80px;
    }
    
    .ctod-col-event:before { content: "Event:"; }
    .ctod-col-date:before { content: "Date:"; }
    .ctod-col-tickets:before { content: "Tickets:"; }
    .ctod-col-revenue:before { content: "Revenue:"; }
    .ctod-col-actions:before { content: ""; }
    
    .ctod-date-venue {
        display: inline;
    }
    
    .ctod-date,
    .ctod-venue {
        display: inline;
        margin-right: 10px;
    }
}
/* v1.2.0 - Overview Events Table */






/* v1.2.2 - Admin organizer selector */

.ctod-admin-selector {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ctod-selector-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ctod-selector-header .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #856404;
}

.ctod-selector-label {
    font-weight: 600;
    color: #856404;
    font-size: 14px;
}

.ctod-organizer-select {
    flex: 1;
    max-width: 300px;
    padding: 8px 12px;
    border: 1px solid #ffc107;
    border-radius: 4px;
    font-size: 14px;
}

.ctod-clear-selection {
    padding: 6px 10px;
    min-height: 0;
    background: white;
    border-color: #ffc107;
    color: #856404;
}

.ctod-clear-selection:hover {
    background: #ffc107;
    color: white;
}

.ctod-clear-selection .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* v1.2.2 - Custom Navigation */

.ctod-dashboard-container {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}


/* ###############################################
    Navigation Styles
 ###############################################*/    

/* v1.2.2 - Sticky navigation with enhanced active states */

.ctod-navigation {
    flex: 0 0 280px;
    background-color: #09888D ;
    border-radius: 8px;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.ctod-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ctod-nav-item {
    margin: 0;
}

.ctod-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
    gap: 10px;
}

.ctod-nav-link:hover {
    background: #f8f9fa;
    color: #09888D;
}

.ctod-nav-item.active > .ctod-nav-link {
    /*background: linear-gradient(135deg, #09888D 0%, #47c5e1 100%);*/
    color: white;
    font-weight: 600;
}

.ctod-nav-link .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.ctod-nav-text {
    flex: 1;
}

.ctod-nav-arrow {
    font-size: 16px;
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.ctod-nav-item.active .ctod-nav-arrow {
    transform: rotate(180deg);
}

/* Submenu */
.ctod-nav-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    background: #f8f9fa;
}

.ctod-nav-item.active .ctod-nav-submenu {
    display: block;
}

.ctod-nav-subitem {
    margin: 0;
}

.ctod-nav-sublink {
    display: block;
    padding: 10px 20px 10px 50px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

/* Active subpage styling */
.ctod-nav-subitem.active .ctod-nav-sublink {
    color: #09888D;
    font-weight: 600;
    background: #f0f9f9;
}

.ctod-nav-sublink:hover {
    background: #e8e8e8;
    color: #09888D;
}

/* Content Area */
.ctod-dashboard-content {
    flex: 1;
    min-width: 0;
}

/* Mobile */
@media (max-width: 992px) {
    .ctod-dashboard-container {
        flex-direction: column;
    }
    
    .ctod-navigation {
        position: static;
        width: 100%;
    }
    
    .ctod-nav-link {
        font-size: 16px;
    }
}

/* Mobile: collapsed by default */
@media (max-width: 768px) {
    .ctod-nav-submenu {
        display: none;
    }
    .ctod-nav-group.active .ctod-nav-submenu {
        display: block;
    }
}




/* Responsive */
/* v1.2.2 - Final mobile cards for overview table */
@media (max-width: 768px) { 
	.ctod-admin-selector {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ctod-organizer-select {
        max-width: 100%;
    }
}
    /* Pagination controls */
 /* v1.2.0 - Single-line pagination controls duplicate */


.ctod-table-controls{
    padding:10px;
    justify-content: right;
    display:flex;
    gap:10px;
    align-items: center;

}
.ctod-pagination-info {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.ctod-controls-separator {
    color: #ccc;
    font-size: 14px;
}

.ctod-per-page-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.ctod-per-page-link {
    padding: 4px 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.ctod-per-page-link:hover {
    background: #09888D;
    border-color: #09888D;
    color: white;
}

.ctod-per-page-link.active {
    background: #09888D;
    border-color: #09888D;
    color: white;
    pointer-events: none;
}

.ctod-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
}

.ctod-page-btn:hover {
    background: #09888D;
    border-color: #09888D;
    color: white;
}

.ctod-page-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.ctod-page-current {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}
    
    /* Table structure */
    .ctod-table-wrapper {
        overflow: visible;
    }
    
    .ctod-events-table {
        display: block;
    }
    
    .ctod-events-table thead {
        display: none;
    }
    
    .ctod-events-table tbody {
        display: block;
    }
    
    /* Card layout - compact */
    .ctod-events-table tbody tr {
        display: block;
        padding: 10px 12px 8px 12px !important;
        margin-bottom: 10px !important;
        border: 1px solid #ddd;
        border-radius: 8px;
    }
    
    /* Zebra striping*/
   
  
    
   table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th, table tbody>tr:nth-child(even)>td, table tbody>tr:nth-child(even)>th {
    background-color: hsla(0, 0%, 100%, 0) !important;
   }
       .ctod-events-table tbody>tr:nth-child(even):hover, .ctod-events-table tbody>tr:nth-child(odd):hover {
       background-color: #09898d13 !important;
    }
    
    .ctod-events-table tbody td {
        
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        text-align: left !important;
    }

    /* Event title */
    .ctod-col-event {
        margin-bottom: 6px !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .ctod-event-title-link {
        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #09888D;
        text-decoration: none;
        display: block;
    }
    
    /* Date/Venue */
    .ctod-col-date {
        margin-bottom: 6px !important;
    }
    
    .ctod-date-venue {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    .ctod-date,
    .ctod-venue {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        font-size: 12px !important;
        color: #666;
        white-space: nowrap !important;
    }
    
    .ctod-date .dashicons,
    .ctod-venue .dashicons {
        font-size: 14px;
        width: 14px;
        height: 14px;
    }
    
    .ctod-time {
        font-size: 11px;
        color: #999;
    }
    
    /* Tickets */
    .ctod-col-tickets::before {
        content: "Tickets: " !important;
        font-weight: 600 !important;
        color: #666 !important;
    }
    
    .ctod-col-tickets {
        display: inline-block !important;
        font-size: 12px !important;
        margin-right: 15px !important;
        margin-bottom: 0 !important;
    }
    
    .ctod-ticket-stats {
        display: inline !important;
        font-size: 12px;
    }
    
    .ctod-ticket-stats strong {
        font-weight: 600;
        color: #333;
    }
    
    .ctod-ticket-percent {
        font-size: 11px;
        color: #999;
    }
    
    /* Revenue */
    .ctod-col-revenue::before {
        content: "Revenue: " !important;
        font-weight: 600 !important;
        color: #666 !important;
    }
    
    .ctod-col-revenue {
        display: inline-block !important;
        font-size: 12px !important;
        margin-bottom: 0 !important;
    }
    
    .ctod-col-revenue strong {
        font-size: 12px;
        font-weight: 600;
        color: #333;
    }
    
    /* Hide actions */
    .ctod-col-actions {
        display: none !important;
        visibility: hidden !important;
    }

    .ctod-quick-actions{
        display:flex;
        gap:20px;
        align-items: center;
        justify-content: left;
        padding:10px;
    }
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   SHARED COMPONENTS - Overview & Events
   v1.4.0 - Extracted from inline styles
   ============================================ */

/* Dashboard Wrapper */
.ctod-dashboard-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* ============================================
   STAT CARDS - Reusable across modules
   ============================================ */

/*.ctod-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}*/

.ctod-stat-card {
    background: #efefef;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.ctod-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ctod-stat-card .stat-content {
    display: flex;
    flex-direction: column;
}

.ctod-stat-card .stat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ctod-stat-card .stat-icon {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #09888D;
    flex-shrink: 0;
}

.ctod-stat-card .stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin: 0;
}

.ctod-stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 10px 0;
    text-align: center;
}

.ctod-stat-card .stat-meta,
.ctod-stat-card .stat-link {
    display: block;
    font-size: 13px;
    color: #09888D;
    text-align: center;
    text-decoration: none;
    margin: 0;
}

.ctod-stat-card .stat-link:hover {
    text-decoration: underline;
}

.ctod-stat-card .stat-change {
    font-size: 12px;
    display: block;
    text-align: center;
    margin-top: 5px;
}

.ctod-stat-card .stat-change.positive {
    color: #46b450;
}

.ctod-stat-card .stat-change.negative {
    color: #dc3232;
}

/* ============================================
   MULTI-DAY EVENT BADGES
   ============================================ */

.ctod-multi-day-parent {
    background: #f8f9fa;
}

.ctod-multi-day-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 10px;
    background: #09888D;
    color: white;
    font-size: 11px;
    border-radius: 12px;
    font-weight: 600;
    vertical-align: middle;
}

.ctod-col-event {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ctod-event-title-link {
    font-weight: 600;
    color: #09888D;
    text-decoration: none;
}

.ctod-event-title-link:hover {
    text-decoration: underline;
}

/* ============================================
   MOBILE RESPONSIVE - Tables
   ============================================ */

@media (max-width: 768px) {
    .ctod-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .ctod-col-event {
        display: block;
    }
    
    .ctod-multi-day-badge {
        display: block;
        margin-left: 0;
        margin-top: 4px;
        width: fit-content;
    }
    
    /* Mobile table layout */
    .ctod-events-table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 15px;
        background: #fff;
    }
    
    .ctod-events-table tbody td {
        display: block;
        text-align: left;
        padding: 8px 0;
        border: none;
    }
    
    .ctod-col-event {
        margin-bottom: 6px;
        margin-top: 0;
        padding-top: 0;
    }
    
    .ctod-event-title-link {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.3;
        margin: 0;
        padding: 0;
        color: #09888D;
    }
    
    .ctod-col-date {
        margin-bottom: 6px;
    }
    
    .ctod-date-venue {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .ctod-date,
    .ctod-venue {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    .ctod-date .dashicons,
    .ctod-venue .dashicons {
        display: none;
    }
    
    .ctod-col-tickets::before {
        content: "Tickets Sold: ";
        font-weight: 600;
        color: #666;
    }
    
    .ctod-col-tickets {
        display: inline-block;
        font-size: 12px;
        margin-right: 15px;
        margin-bottom: 0;
    }
    
    .ctod-col-revenue::before {
        content: "Revenue: ";
        font-weight: 600;
        color: #666;
    }
    
    .ctod-col-revenue {
        display: inline-block;
        font-size: 12px;
        margin-bottom: 0;
    }
    
    .ctod-col-actions {
        display: none;
        visibility: hidden;
    }
}

/* ============================================
   PAGE HEADER COMPONENT - Reusable
   v1.4.0 - Shared across all modules
   ============================================ */

.ctod-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px;
    background: linear-gradient(135deg, #09888D 0%, #47c5e1 100%);
    color: white;
    border-radius: 8px;
    margin-bottom: 10px;
}

.ctod-header-left {
    flex: 1;
}

.ctod-page-title {
    margin: 0 0 5px 0;
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.ctod-page-subtitle {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.ctod-header-center {
    display: flex;
    align-items: center;
    margin: 0 20px;
}

.ctod-header-right {
    flex-shrink: 0;
}

/* ============================================
   VIEW TOGGLE COMPONENT
   ============================================ */

.ctod-view-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 3px;
    gap: 3px;
}

.ctod-view-toggle .ctod-view-btn {
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

 .ctod-view-toggle .ctod-view-btn:hover {
    background: #38CDE63D
    color: #09888D;
}

 .ctod-view-toggle .ctod-view-btn.active {
    background: white;
    color: #09888D;
}
 .ctod-view-toggle .ctod-view-btn.active:hover {
    background: #09888D;
    color: white;
}

.ctod-view-toggle .ctod-view-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* ============================================
   SEARCH BAR COMPONENT
   ============================================ */

.ctod-search-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ctod-search-wrapper button  {
    padding: 10px 15px;
    background: transparent;
    border: 2px solid white;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctod-search-input {
    width: 300px;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

.ctod-search-input::placeholder {
    color: #999;
}

.ctod-search-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}



.ctod-search-btn:hover {
    background: white;
    color: #09888D;
}

.ctod-search-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* ============================================
   TAB NAVIGATION COMPONENT
   ============================================ */

.ctod-header-nav {
    padding: 0;
    background: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 0 8px 8px;
    margin-bottom: 15px;
}

.ctod-event-tabs {
    display: flex;
    margin: 0;
    padding: 0;
}

.ctod-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 20px;
    text-decoration: none;
    color: #666;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    position: relative;
}

.ctod-tab:hover {
    background: #f8f9fa;
    color: #09888D;
}

.ctod-tab.active {
    color: #09888D;
    border-bottom-color: #09888D;
    background: #f8f9fa;
}

.ctod-tab .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.ctod-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 20px;
    padding: 0 6px;
    background: #e0e0e0;
    color: #666;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.ctod-tab.active .ctod-tab-count {
    background: #09888D;
    color: white;
}

/* ============================================
   ICON BUTTONS - Reusable
   ============================================ */

.ctod-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #09888D;
    background: white;
    color: #09888D;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.ctod-btn-icon:hover, [type="button"]:hover, button:hover {
    background: #0cb1b7 !important;
    color: white !important;
}

.ctod-btn-icon:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(9, 136, 141, 0.2);
}


/* Hide Sessions button for non-multi-day */
.ctod-event-card:not(.has-sessions) .ctod-btn-sessions {
    display: none;
}

/* ============================================
   CARD SHARED COMPONENTS
   ============================================ */

.ctod-events-container {
    width: 100%;
}

.ctod-event-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    transition: all 0.2s;
}

/* Status Badges */
.ctod-status-badge {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255,255,255,0.95);
}

.ctod-badge-upcoming {
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.ctod-badge-past {
    color: #999;
    border: 1px solid #999;
}

.ctod-badge-sold-out {
    color: #f44336;
    border: 1px solid #f44336;
}

/* Card Titles */
.ctod-card-title {
    margin: 0;
    font-weight: 600;
    color: #09888D;
    line-height: 1.3;
}

/* Meta Items */
.ctod-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
}

.ctod-meta-item .dashicons {
    color: #09888D;
}

/* Stats Container */
.ctod-card-stats-section {
    background: #efefef;
    border-radius: 6px;
}

.ctod-stat-item {
    display: flex;
    flex-direction: column;
}

.ctod-stat-label {
    color: #09888D;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.ctod-stat-value {
    font-weight: 600;
    color: #333;
}

/* ============================================
   RESPONSIVE - Header Components
   ============================================ */

@media (max-width: 992px) {
    .ctod-header-top {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    
    .ctod-header-left,
    .ctod-header-center,
    .ctod-header-right {
        width: 100%;
    }
    
    .ctod-header-center {
        margin: 0;
        justify-content: center;
    }
    
    .ctod-search-wrapper {
        width: 100%;
    }
    
    .ctod-search-input {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .ctod-page-title {
        font-size: 24px;
    }
    
    .ctod-event-tabs {
        flex-direction: column;
    }
    
    .ctod-tab {
        justify-content: flex-start;
        border-bottom: 1px solid #e0e0e0;
        border-left: 3px solid transparent;
    }
    
    .ctod-tab.active {
        border-bottom-color: #e0e0e0;
        border-left-color: #09888D;
    }
}

@media (max-width: 480px) {
    .ctod-header-top {
        padding: 20px;
    }
    
    .ctod-page-title {
        font-size: 20px;
    }
    
    .ctod-page-subtitle {
        font-size: 13px;
    }
    
    .ctod-tab {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ============================================
   BADGE SYSTEM - Extended
   v1.4.0 - Reusable status/info badges
   ============================================ */

/* Base badge styles (already have some from events) */
.ctod-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

/* Status badge variants */
.ctod-badge-success,
.ctod-status-badge-completed,
.ctod-status-badge-approved {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ctod-badge-info,
.ctod-status-badge-pending,
.ctod-status-badge-in-progress {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.ctod-badge-warning,
.ctod-status-badge-revision,
.ctod-status-badge-draft {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.ctod-badge-danger,
.ctod-status-badge-cancelled,
.ctod-status-badge-rejected {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ctod-badge-secondary,
.ctod-status-badge-inactive {
    background: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

.ctod-badge-primary {
    background: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}

/* File type badges */
.ctod-badge-pdf {
    background: #dc3232;
    color: white;
}

.ctod-badge-doc,
.ctod-badge-docx {
    background: #2271b1;
    color: white;
}

.ctod-badge-xls,
.ctod-badge-xlsx {
    background: #217346;
    color: white;
}

.ctod-badge-jpg,
.ctod-badge-png,
.ctod-badge-image {
    background: #8854d0;
    color: white;
}

.ctod-badge-zip {
    background: #dba617;
    color: white;
}

/* ============================================
   CARD PATTERN - Generic Reusable Card
   v1.4.0 - Base card component
   ============================================ */

.ctod-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.ctod-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ctod-card-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ctod-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.ctod-card-actions {
    display: flex;
    gap: 8px;
}

.ctod-card-body {
    padding: 20px;
}

.ctod-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Card variants */
.ctod-card-compact .ctod-card-header,
.ctod-card-compact .ctod-card-body,
.ctod-card-compact .ctod-card-footer {
    padding: 12px 15px;
}

.ctod-card-highlight {
    border-left: 4px solid #09888D;
}

.ctod-card-success {
    border-left: 4px solid #46b450;
}

.ctod-card-warning {
    border-left: 4px solid #dba617;
}

.ctod-card-danger {
    border-left: 4px solid #dc3232;
}

/* Service Request Card (extends base card) */
.ctod-service-card {
    position: relative;
}

.ctod-service-card .ctod-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.ctod-service-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.ctod-service-card-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.ctod-service-card-meta-item .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #09888D;
}

.ctod-service-card-description {
    margin: 15px 0;
    color: #666;
    line-height: 1.6;
}

/* File Card (extends base card) */
.ctod-file-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.ctod-file-card:hover {
    background: #f8f9fa;
    border-color: #09888D;
}

.ctod-file-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 6px;
}

.ctod-file-icon .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: #666;
}

.ctod-file-info {
    flex: 1;
    min-width: 0;
}

.ctod-file-name {
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ctod-file-meta {
    font-size: 12px;
    color: #666;
}

.ctod-file-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* Metric Card (extends stat card for analytics) */
.ctod-metric-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s;
}

.ctod-metric-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.ctod-metric-label {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.ctod-metric-value {
    font-size: 32px;
    font-weight: 700;
    color: #09888D;
    margin: 10px 0;
}

.ctod-metric-change {
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

.ctod-metric-change.positive {
    color: #46b450;
}

.ctod-metric-change.negative {
    color: #dc3232;
}

.ctod-metric-change .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* ============================================
   CARD GRID LAYOUTS
   ============================================ */

.ctod-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.ctod-cards-grid-2col {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.ctod-cards-grid-4col {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

@media (max-width: 768px) {
    .ctod-cards-grid,
    .ctod-cards-grid-2col,
    .ctod-cards-grid-4col {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RESPONSIVE - Cards
   ============================================ */

@media (max-width: 768px) {
    .ctod-card-header,
    .ctod-card-body,
    .ctod-card-footer {
        padding: 15px;
    }
    
    .ctod-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .ctod-card-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .ctod-file-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ctod-file-actions {
        width: 100%;
    }
}
