.lyxity-dashboard {

    background: #fff;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

.dashboard-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

/* Dashboard logo sizing (match realtime, keep aspect ratio) */
.dashboard-header .dashboard-logo {
    height: 56px;
    width: auto;
    margin-right: 12px;
    display: inline-block;
    vertical-align: middle;
}

.dashboard-header .dashboard-logo img {
    height: 100%;
    width: auto;
    display: block;
}

.dashboard-header h1 {
    color: #2c3338;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

/* Date selector styling */
.date-selector-label {
    color: #50575e;
    font-weight: 500;
    margin-right: 10px;
    margin-bottom: 0;
}

.date-range-selector {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    width: 100%;
}

/* Ensure date inputs are properly sized on mobile */
.date-range-selector input[type="date"] {
    min-height: 38px;
}

/* Date picker styling handled by Bootstrap */

/* Dashboard Container Layout */
.lyxity-dashboard-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 16px;
    margin-bottom: 24px;
}

.lyxity-dashboard-column {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.lyxity-section-header {
    background: #f8f9fa;
    padding: 12px 16px;
    border-bottom: 1px solid #e9ecef;
}

.lyxity-section-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3338;
}

.lyxity-card-group {
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

/* Card Styling */
.lyxity-card {
    background: white;
    padding: 14px 16px;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 80px;
    height: 100%;
}

.lyxity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.lyxity-card-icon {
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    flex-shrink: 0;
}

.lyxity-card-icon i,
.lyxity-card-icon .dashicons {
    font-size: 18px;
    color: #b19044;
}

.lyxity-card-content {
    flex: 1;
}

.lyxity-card-number {
    font-size: 24px;
    font-weight: 600;
    color: #2c3338;
    margin-bottom: 4px;
    line-height: 1.2;
}

.lyxity-card-label {
    font-size: 13px;
    color: #50575e;
    margin: 0 0 2px 0;
    font-weight: 500;
    line-height: 1.2;
}

.lyxity-card-description {
    font-size: 11px;
    color: #6c757d;
    margin: 0;
    line-height: 1.3;
}

/* Card Color Styling */
.update-card {
    border-left: 3px solid #b19044;
}

.update-card .lyxity-card-icon i {
    color: #b19044;
}

.enhance-card {
    border-left: 3px solid #2271b1;
}

.enhance-card .lyxity-card-icon i {
    color: #2271b1;
}

.stale-card {
    border-left: 3px solid #dc3545;
}

.stale-card .lyxity-card-icon i {
    color: #dc3545;
}

.queued-card {
    border-left: 3px solid #b19044;
}

.processing-card {
    border-left: 3px solid #2271b1;
}

.completed-card {
    border-left: 3px solid #00a32a;
}

.completed-card .lyxity-card-icon .dashicons {
    color: #00a32a;
}

.failed-card {
    border-left: 3px solid #dc3545;
}

.failed-card .lyxity-card-icon .dashicons {
    color: #dc3545;
}

.generated-card {
    border-left: 3px solid #6f42c1;
}

.generated-card .lyxity-card-icon .dashicons {
    color: #6f42c1;
}

.pending-card {
    border-left: 3px solid #17a2b8;
}

.pending-card .lyxity-card-icon .dashicons {
    color: #17a2b8;
}



.dashboard-logo svg {
    width: 100%;
    height: 100%;
}

/* Calendar icon alignment */
.calendar-icon .input-group-text {
    height: 100%;
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-right: none;
    font-size: 20px;  /* Adjusted for better mobile display */
    padding: 0 10px;  /* Adjusted padding for better alignment */
    min-width: 40px;
    justify-content: center;
}

.input-group .form-control {
    border-left: none;
}

.input-group .form-control:focus {
    border-color: #dee2e6;
    box-shadow: none;
}

.input-group .form-control:focus + .input-group-text {
    border-color: #dee2e6;
}

@media (max-width: 1200px) {
    .lyxity-card-group {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 992px) {
    .lyxity-dashboard-container {
        flex-direction: column;
    }
    
    .lyxity-dashboard-column {
        width: 100%;
        margin-bottom: 16px;
    }
    
    .lyxity-card-group {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    /* Date picker responsiveness handled by Bootstrap */
}

@media (max-width: 782px) {
    .lyxity-dashboard {
        margin: 10px;
    }
    
    .dashboard-header {
        flex-direction: column;
    }
    
    /* Date picker responsiveness handled by Bootstrap */
    
    .lyxity-card {
        padding: 12px 14px;
    }
    
    .lyxity-card-group {
        grid-template-columns: 1fr;
    }
    
    .lyxity-card-number {
        font-size: 20px;
    }
}

/* Write Articles Card - Basic Styling */
/* Activity Log Modal Styles */
.update-card, .enhance-card, .generated-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.update-card:hover, .enhance-card:hover, .generated-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Activity Log Table Styles */
#activityLogTable {
    margin-bottom: 0;
}

#activityLogTable th {
    border-top: none;
    font-weight: 600;
    font-size: 0.875rem;
}

#activityLogTable td {
    vertical-align: middle;
    padding: 0.75rem;
}

#activityLogTable td a {
    color: #0d6efd;
    font-weight: 500;
}

#activityLogTable td a:hover {
    color: #0a58ca;
    text-decoration: underline !important;
}

#activityLogTable .badge {
    font-size: 0.75em;
    padding: 0.35em 0.65em;
}

#activityLogTable tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.modal-lg {
    max-width: 900px;
}

.table-responsive {
    border-radius: 0.375rem;
    overflow: hidden;
}/
* Activity Log Table Column Width Optimization */
#activityLogTable .column-url {
    width: 70%;
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#activityLogTable .column-datetime {
    width: 30%;
    white-space: nowrap;
    text-align: right;
    min-width: 150px;
}

#activityLogTable td.column-url {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 0;
}

#activityLogTable td.column-datetime {
    white-space: nowrap;
    text-align: right;
}

/* Ensure URL links don't break the layout */
#activityLogTable td.column-url a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}