/* Basic CSS for immediate testing - will be replaced by compiled SCSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.login-box {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    color: #2563eb;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.login-header p {
    color: #64748b;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e293b;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-block {
    width: 100%;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.875rem;
}

/* Loading state */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Dashboard specific styles */
.admin-dashboard {
    background-color: #f5f5f5;
}

.dashboard-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content h1 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.user-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-nav span {
    color: #666;
}

.dashboard-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    gap: 2rem;
}

.sidebar {
    width: 250px;
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: fit-content;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #666;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
    background: #0073aa;
    color: #fff;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    margin: 0 0 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.stat-number.warning {
    color: #f39c12;
}

.stat-number.success {
    color: #27ae60;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.content-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-card h2 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.25rem;
}

.description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.updates-list,
.clients-list,
.api-keys-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.update-item,
.client-item,
.api-key-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fafafa;
}

.update-info h4,
.client-info h4,
.website-info h4 {
    margin: 0 0 0.25rem 0;
    color: #333;
    font-size: 1rem;
}

.update-meta,
.pending-count,
.client-name,
.site-url {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

.update-meta span {
    margin-right: 1rem;
}

.update-meta .site-name {
    font-weight: 500;
}

.update-meta .client-name {
    color: #0073aa;
}

.update-meta .date {
    color: #999;
}

.api-key-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.api-key-info label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.api-key-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.api-key-display code {
    background: #f0f0f0;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #333;
    border: 1px solid #ddd;
}

.copy-btn {
    white-space: nowrap;
}

.no-data {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 2rem;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

/* Website Management Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 600px;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-actions {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

/* Website Table/List */
.websites-table {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.website-row {
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1.5rem;
    background: #f8f9fa;
}

.website-main-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.website-details h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.website-details p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.website-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
}

.stat-label {
    color: #7f8c8d;
}

.stat-value {
    font-weight: 600;
    color: #2c3e50;
}

.stat-value.warning {
    color: #e67e22;
}

.stat-value.success {
    color: #27ae60;
}

.website-api-key {
    margin: 1rem 0;
    padding: 1rem;
    background: #ecf0f1;
    border-radius: 6px;
}

.website-api-key label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.website-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 1rem;
    color: #7f8c8d;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item label {
    font-weight: 600;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.info-item span {
    color: #2c3e50;
}

/* Update Types Grid */
.update-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.update-type-card {
    padding: 1rem;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background: #ffffff;
    text-align: center;
}

.update-type-card h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.update-type-card p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Update Actions */
.update-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Additional Button Styles */
.btn-warning {
    background-color: #f39c12;
    color: white;
}

.btn-warning:hover {
    background-color: #e67e22;
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-success {
    background-color: #27ae60;
    color: white;
}

.btn-success:hover {
    background-color: #229954;
}

/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Info Note */
.info-note {
    background-color: #e7f3ff;
    border: 1px solid #b3d7ff;
    border-radius: 4px;
    padding: 0.75rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #0056b3;
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-warning {
    background-color: #ffc107;
    color: #000;
}

.badge-success {
    background-color: #28a745;
    color: white;
}

/* Client Management Styles */
.clients-table {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.client-row {
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1.5rem;
    background: #f8f9fa;
}

.client-main-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.client-details h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.client-meta {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.user-info {
    margin-top: 1rem;
    padding: 1rem;
    background: #e8f5e8;
    border-radius: 6px;
    border-left: 4px solid #27ae60;
}

.user-info p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.no-user-info {
    margin-top: 1rem;
    padding: 1rem;
    background: #fff3cd;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
}

.no-user-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #856404;
}

.client-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
}

.client-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.modal-content {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0 1.5rem;
    border-bottom: 1px solid #e1e5e9;
    margin-bottom: 1rem;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
}

.close {
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

.modal form {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.modal .form-group {
    margin-bottom: 1rem;
}

.modal .form-actions {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e1e5e9;
}

/* Warning styles */
.warning {
    color: #e67e22 !important;
}

/* Client info with transfer button */
.client-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Alert styles */
.alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin: 1rem 0;
}

/* Website Transfer List Styles */
.websites-transfer-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
}

.website-transfer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    margin-bottom: 1rem;
    background: #f8f9fa;
}

.website-info h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.website-url {
    margin: 0.5rem 0;
}

.website-url a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
}

.website-url a:hover {
    text-decoration: underline;
}

.website-meta {
    margin: 0.5rem 0 0 0;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.website-meta .updates-count {
    font-weight: 600;
    margin-right: 1rem;
}

.transfer-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.transfer-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.transfer-form select {
    padding: 0.375rem 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.875rem;
}

.no-clients {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

/* Additional button style */
.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
}

.btn-info:hover {
    background-color: #138496;
    border-color: #117a8b;
}

/* Updates Management Styles */
.updates-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.bulk-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#bulk-controls {
    display: flex;
    gap: 0.5rem;
}

.filters-form {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.filter-group label {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #495057;
}

.filter-group select,
.filter-group input {
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9rem;
}

.filters-actions {
    display: flex;
    gap: 0.5rem;
}

.update-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    background: #ffffff;
    transition: box-shadow 0.2s;
}

.update-item:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.update-checkbox {
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

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

.update-info h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1rem;
}

.update-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.85rem;
    color: #6c757d;
}

.update-client {
    color: #495057;
}

.update-website a {
    color: #3498db;
    text-decoration: none;
}

.update-website a:hover {
    text-decoration: underline;
}

.update-date {
    color: #6c757d;
}

.update-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

.update-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.update-type-card {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e1e5e9;
    text-align: center;
}

.update-type-card h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.type-count {
    font-size: 1.25rem;
    font-weight: 600;
    color: #e67e22;
    margin: 0.5rem 0;
}

.type-progress {
    background: #e9ecef;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-bar {
    background: #3498db;
    height: 100%;
    transition: width 0.3s ease;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem 0;
    border-top: 1px solid #e1e5e9;
}

.pagination-link {
    padding: 0.5rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s;
}

.pagination-link:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.pagination-link.active {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.pagination-info {
    margin-left: 1rem;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Badge variations */
.badge-info {
    background-color: #17a2b8;
    color: white;
}

.stat-detail {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: normal;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .website-main-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .website-stats {
        text-align: left;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .website-actions {
        justify-content: center;
    }
    
    .client-main-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .client-stats {
        text-align: left;
    }
    
    .client-actions {
        justify-content: center;
    }
    
    .modal-content {
        width: 100%;
        max-width: 95vw;
        margin: 0;
    }
    
    .modal {
        padding: 0.5rem;
    }
    
    .website-transfer-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .transfer-controls {
        min-width: auto;
    }
    
    .transfer-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .client-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .updates-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .bulk-actions {
        justify-content: center;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-actions {
        flex-direction: column;
    }
    
    .update-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .update-actions {
        margin-left: 0;
        justify-content: center;
    }
    
    .update-meta {
        justify-content: center;
        text-align: center;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination-info {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        width: 100%;
    }
}

/* Reports Management Styles */
.report-form {
    max-width: 800px;
}

.report-options {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.report-options h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.option-item {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e1e5e9;
}

.option-item label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.option-item input[type="checkbox"] {
    margin: 0;
}

.option-description {
    margin: 0;
    font-size: 0.875rem;
    color: #6c757d;
}

.reports-list {
    display: grid;
    gap: 1rem;
}

.report-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    transition: all 0.2s ease;
}

.report-item:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.report-info h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.report-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6c757d;
    flex-wrap: wrap;
}

.report-client {
    color: #2c3e50;
    font-weight: 500;
}

.report-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Responsive design for reports management */
@media (max-width: 768px) {
    .report-item {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .report-meta {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .report-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Client Dashboard Styles */
.client-dashboard .welcome-section {
    background: linear-gradient(135deg, #e55625 0%, #c04217 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.client-dashboard .welcome-section h2 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
}

.client-dashboard .welcome-section p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

.client-dashboard .quick-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.client-dashboard .quick-action-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.client-dashboard .quick-action-btn:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.client-dashboard .date-filter {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    color: white;
}

.client-dashboard .date-filter h3 {
    margin: 0 0 1rem 0;
    color: white;
}

.client-dashboard .date-filter select,
.client-dashboard .date-filter input {
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    margin-right: 0.5rem;
}

.client-dashboard .date-filter .custom-date-inputs {
    display: none;
    margin-top: 1rem;
}

.client-dashboard .date-filter .custom-date-inputs.show {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.client-dashboard .chart-container {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.client-dashboard .chart-container h3 {
    margin: 0 0 1.5rem 0;
    color: #333;
    font-size: 1.25rem;
}

.client-dashboard .performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.client-dashboard .performance-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.client-dashboard .performance-card h4 {
    margin: 0 0 1rem 0;
    color: #333;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.5rem;
}

.client-dashboard .performance-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.client-dashboard .performance-metric:last-child {
    border-bottom: none;
}

.client-dashboard .metric-label {
    color: #6c757d;
}

.client-dashboard .metric-value {
    font-weight: bold;
    color: #333;
}

.client-dashboard .metric-value.security { color: #dc3545; }
.client-dashboard .metric-value.performance { color: #20c997; }
.client-dashboard .metric-value.plugin { color: #007bff; }
.client-dashboard .metric-value.theme { color: #6f42c1; }
.client-dashboard .metric-value.core { color: #fd7e14; }

.client-dashboard .website-stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.client-dashboard .website-stat-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s ease;
}

.client-dashboard .website-stat-card:hover {
    transform: translateY(-3px);
}

.client-dashboard .website-stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.client-dashboard .update-item {
    border-left: 4px solid #28a745;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.client-dashboard .update-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.client-dashboard .update-type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-left: 0.5rem;
}

.client-dashboard .update-type-plugin { background: #007bff; color: white; }
.client-dashboard .update-type-theme { background: #6f42c1; color: white; }
.client-dashboard .update-type-wordpress { background: #fd7e14; color: white; }
.client-dashboard .update-type-security { background: #dc3545; color: white; }
.client-dashboard .update-type-performance { background: #20c997; color: white; }
.client-dashboard .update-type-other { background: #6c757d; color: white; }

/* Enhanced Website Management Styles - Client Dashboard Only */
.client-dashboard .website-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.client-dashboard .website-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.client-dashboard .website-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.client-dashboard .website-card.selected {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.client-dashboard .website-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.client-dashboard .website-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.client-dashboard .website-url {
    opacity: 0.9;
    font-size: 0.9rem;
    word-break: break-all;
}

.client-dashboard .website-stats {
    padding: 1.5rem;
}

.client-dashboard .stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.client-dashboard .stat-row:last-child {
    border-bottom: none;
}

.client-dashboard .stat-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.client-dashboard .stat-value {
    font-weight: bold;
    color: #333;
}

.client-dashboard .stat-value.completed { color: #28a745; }
.client-dashboard .stat-value.pending { color: #ffc107; }
.client-dashboard .stat-value.security { color: #dc3545; }
.client-dashboard .stat-value.performance { color: #20c997; }

.client-dashboard .website-details {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.client-dashboard .website-details-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
}

.client-dashboard .website-details-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.client-dashboard .website-details-content {
    padding: 1.5rem;
}

.client-dashboard .metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.client-dashboard .metric-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.client-dashboard .metric-number {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.client-dashboard .metric-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.client-dashboard .website-selector {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.client-dashboard .website-selector h3 {
    margin: 0 0 1rem 0;
    color: #333;
}

.client-dashboard .website-selector p {
    color: #6c757d;
    margin-bottom: 1rem;
}

.client-dashboard .back-to-dashboard {
    display: inline-block;
    background: #6c757d;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.client-dashboard .back-to-dashboard:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Responsive Design for Client Dashboard */
@media (max-width: 768px) {
    .client-dashboard .performance-grid {
        grid-template-columns: 1fr;
    }
    
    .client-dashboard .website-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .client-dashboard .date-filter {
        padding: 1rem;
    }
    
    .client-dashboard .date-filter .custom-date-inputs.show {
        flex-direction: column;
        align-items: stretch;
    }
    
    .client-dashboard .website-grid {
        grid-template-columns: 1fr;
    }
    
    .client-dashboard .metrics-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .client-dashboard .website-details-header {
        padding: 1rem;
    }
    
    .client-dashboard .website-details-content {
        padding: 1rem;
    }
    
    .client-dashboard .quick-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .client-dashboard .quick-action-btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}