/* ==========================================
   SiteRooster Dashboard - New Sidebar Layout
   Phase 1: Core Layout & Navigation
   ========================================== */

/* ==========================================
   Layout Variables
   ========================================== */
:root {
    --sr-sidebar-width: 260px;
    --sr-header-height: 56px;
}

/* ==========================================
   Hide Old Dashboard Header
   (replaced by sidebar + top header)
   ========================================== */
.sr-app-container .dashboard-header,
.sr-app-container .dashboard-footer {
    display: none !important;
}

/* ==========================================
   App Container - Full Layout
   ========================================== */
.sr-app-container {
    display: flex;
    min-height: 100vh;
    background: var(--gray-50, #f9fafb);
}

/* Override the old siterooster-dashboard max-width */
.sr-app-container .siterooster-dashboard {
    max-width: none;
    width: 100%;
    padding: 0;
    background: transparent;
}

/* ==========================================
   Sidebar
   ========================================== */
.sr-sidebar {
    width: var(--sr-sidebar-width);
    background: #fff;
    border-right: 1px solid var(--gray-200, #e5e7eb);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
}

/* Logo */
.sr-sidebar-logo {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100, #f3f4f6);
}

.sr-sidebar-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.sr-sidebar-logo img {
    height: 32px;
    width: auto;
}

.sr-sidebar-logo span {
    font-weight: 700;
    font-size: 18px;
    color: var(--siterooster-dark, #2a1810);
}

/* Navigation */
.sr-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px 12px;
}

.sr-nav-section {
    margin-bottom: 24px;
}

.sr-nav-section-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-400, #9ca3af);
    padding: 0 12px 8px;
}

.sr-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--gray-600, #4b5563);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s ease;
    margin-bottom: 2px;
}

.sr-nav-item:hover {
    background: var(--gray-50, #f9fafb);
    color: var(--siterooster-dark, #2a1810);
}

.sr-nav-item.active {
    background: var(--siterooster-cream, #fef7f3);
    color: var(--siterooster-orange, #ff6b47);
}

.sr-nav-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Sidebar Footer / User Menu */
.sr-sidebar-footer {
    padding: 12px;
    border-top: 1px solid var(--gray-100, #f3f4f6);
}

.sr-user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.sr-user-menu:hover {
    background: var(--gray-50, #f9fafb);
}

.sr-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--siterooster-orange, #ff6b47), var(--siterooster-coral, #ff8a73));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
}

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

.sr-user-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--siterooster-dark, #2a1810);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sr-user-plan {
    font-size: 11px;
    color: var(--gray-500, #6b7280);
}

.sr-user-settings-icon {
    width: 16px;
    height: 16px;
    color: var(--gray-400, #9ca3af);
    flex-shrink: 0;
}

.sr-logout-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin-top: 4px;
    border-radius: 8px;
    color: var(--gray-500, #6b7280);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.sr-logout-link:hover {
    background: var(--gray-50, #f9fafb);
    color: var(--status-red, #ef4444);
}

.sr-logout-link svg {
    width: 16px;
    height: 16px;
}

/* ==========================================
   Main Content Area
   ========================================== */
.sr-main-content {
    flex: 1;
    margin-left: var(--sr-sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Header */
.sr-top-header {
    height: var(--sr-header-height);
    background: #fff;
    border-bottom: 1px solid var(--gray-200, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 50;
}

/* Breadcrumb */
.sr-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.sr-breadcrumb a {
    color: var(--gray-500, #6b7280);
    text-decoration: none;
    transition: color 0.15s ease;
}

.sr-breadcrumb a:hover {
    color: var(--siterooster-orange, #ff6b47);
}

.sr-breadcrumb span.sr-breadcrumb-separator {
    color: var(--gray-400, #9ca3af);
}

.sr-breadcrumb-current {
    color: var(--siterooster-dark, #2a1810);
    font-weight: 500;
}

/* Header Actions */
.sr-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.sr-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
    text-decoration: none;
}

.sr-btn svg {
    width: 16px;
    height: 16px;
}

.sr-btn-primary {
    background: var(--siterooster-orange, #ff6b47);
    color: #fff;
}

.sr-btn-primary:hover {
    background: #e55a3a;
}

.sr-btn-secondary {
    background: #fff;
    color: var(--gray-700, #374151);
    border: 1px solid var(--gray-200, #e5e7eb);
}

.sr-btn-secondary:hover {
    border-color: var(--gray-300, #d1d5db);
    background: var(--gray-50, #f9fafb);
}

.sr-btn-dark {
    background: var(--siterooster-dark, #2a1810);
    color: #fff;
}

.sr-btn-dark:hover {
    background: #1a0f0a;
}

/* ==========================================
   Page Content
   ========================================== */
.sr-page-content {
    padding: 24px;
    flex: 1;
}

.sr-page-header {
    margin-bottom: 24px;
}

.sr-page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--siterooster-dark, #2a1810);
    margin: 0 0 4px 0;
}

.sr-page-title::before {
    display: none !important;
}

.sr-page-description {
    font-size: 14px;
    color: var(--gray-500, #6b7280);
    margin: 0;
}

/* ==========================================
   Metrics Grid (Stats Cards)
   ========================================== */
.sr-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    max-width: none !important;
    padding: 0 !important;
}

.sr-metric-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--gray-200, #e5e7eb);
    transition: all 0.2s ease;
}

.sr-metric-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Override old stat-card styles */
.sr-metrics-grid .stat-card {
    box-shadow: none;
    border-left: none;
    cursor: default;
    transform: none !important;
}

.sr-metrics-grid .stat-card::before {
    display: none !important;
}

.sr-metrics-grid .stat-card .stat-icon {
    display: none;
}

.sr-metric-label {
    font-size: 13px;
    color: var(--gray-500, #6b7280);
    margin-bottom: 8px;
    font-weight: 500;
}

.sr-metric-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--siterooster-dark, #2a1810);
    line-height: 1;
}

/* Status colors for metric values */
.sr-metrics-grid .stat-card.status-up .sr-metric-value {
    color: var(--status-green, #10b981);
}

.sr-metrics-grid .stat-card.status-down .sr-metric-value {
    color: var(--status-red, #ef4444);
}

.sr-metrics-grid .stat-card.status-warning .sr-metric-value,
.sr-metrics-grid .stat-card.status-error .sr-metric-value {
    color: var(--status-orange, #f59e0b);
}

/* ==========================================
   Status Banner - DEPRECATED
   (Replaced by compact Add Site Card)
   ========================================== */
.sr-status-banner {
    display: none !important;
}

/* ==========================================
   Activity Feed Card
   ========================================== */
.sr-activity-feed {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--gray-200, #e5e7eb);
    margin-bottom: 24px;
    overflow: hidden;
    max-width: none !important;
    box-shadow: none;
}

.sr-activity-feed .sr-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100, #f3f4f6);
}

.sr-activity-feed .sr-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--siterooster-dark, #2a1810);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sr-activity-feed .sr-card-title::before {
    display: none !important;
}

/* Feed Filter Tabs */
.sr-feed-filter-tabs {
    display: flex;
    gap: 6px;
}

.sr-feed-filter-tab {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--gray-200, #e5e7eb);
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600, #4b5563);
    cursor: pointer;
    transition: all 0.15s ease;
}

.sr-feed-filter-tab:hover {
    background: var(--gray-50, #f9fafb);
    border-color: var(--gray-300, #d1d5db);
}

.sr-feed-filter-tab.active {
    background: var(--siterooster-orange, #ff6b47);
    border-color: var(--siterooster-orange, #ff6b47);
    color: #fff;
}

/* Activity Feed List */
.sr-activity-feed-list {
    max-height: 400px;
    overflow-y: auto;
}

.sr-feed-loading {
    padding: 40px 20px;
    text-align: center;
    color: var(--gray-400, #9ca3af);
}

/* ==========================================
   Sites Section
   ========================================== */
.sr-sites-section {
    margin-bottom: 24px;
}

.sr-sites-section .sr-section-header {
    margin-bottom: 16px;
    padding: 0 !important;
    max-width: none !important;
}

.sr-sites-section .sr-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--siterooster-dark, #2a1810);
    margin: 0;
}

.sr-sites-section .sr-section-title::before {
    display: none !important;
}

/* Sites Grid */
.sr-sites-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: none !important;
    padding: 0 !important;
}

/* ==========================================
   Override Old Styles for New Layout
   ========================================== */

/* Remove max-width constraints inside the new layout */
.sr-app-container .stats-grid,
.sr-app-container .add-site-section,
.sr-app-container .activity-feed-section,
.sr-app-container .section-header,
.sr-app-container .sites-list {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Ensure site cards stretch full width */
.sr-app-container .site-card {
    max-width: none;
}

/* Fix activity feed header alignment */
.sr-app-container .activity-feed-header {
    padding: 16px 20px;
}

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

@media (max-width: 1024px) {
    :root {
        --sr-sidebar-width: 220px;
    }
}

/* ==========================================
   Add Site Card - Clean Minimal Style
   ========================================== */
.sr-add-site-card-inline {
    margin-top: 12px;
    border: 1px dashed var(--gray-300, #d1d5db) !important;
    border-left: 1px dashed var(--gray-300, #d1d5db) !important;
    background: #fff;
    cursor: default;
    padding: 20px;
}

.sr-add-site-card-inline:hover {
    border-color: var(--siterooster-orange, #ff6b47) !important;
    box-shadow: none;
}

.sr-add-site-card-inline .sr-site-card-header {
    display: none;
}

/* Simple inline form */
.sr-add-site-inline-form {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
}

.sr-add-icon-small {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--gray-100, #f3f4f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400, #9ca3af);
    flex-shrink: 0;
}

.sr-add-icon-small svg {
    width: 16px;
    height: 16px;
}

.sr-add-site-card-inline:hover .sr-add-icon-small {
    background: var(--siterooster-cream, #fef7f3);
    color: var(--siterooster-orange, #ff6b47);
}

.sr-inline-form-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 1;
}

.sr-inline-form-row input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.15s ease;
    max-width: 350px;
}

.sr-inline-form-row input:focus {
    outline: none;
    border-color: var(--siterooster-orange, #ff6b47);
    box-shadow: 0 0 0 3px rgba(255, 107, 71, 0.1);
}

.sr-inline-form-row .sr-btn {
    padding: 10px 16px;
    white-space: nowrap;
    font-size: 13px;
}

.sr-inline-form-row .sr-btn svg {
    width: 14px;
    height: 14px;
}

/* Expanded form inline */
.sr-add-site-expanded-inline {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100, #f3f4f6);
}

.sr-add-site-expanded-inline .sr-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
    max-width: 500px;
}

.sr-add-site-expanded-inline .sr-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700, #374151);
    margin-bottom: 6px;
}

.sr-add-site-expanded-inline .sr-form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 8px;
    font-size: 14px;
}

.sr-add-site-expanded-inline .sr-form-actions {
    display: flex;
    gap: 12px;
}

.sr-btn-ghost {
    background: transparent;
    color: var(--gray-600, #4b5563);
    border: 1px solid var(--gray-200, #e5e7eb);
}

.sr-btn-ghost:hover {
    background: var(--gray-50, #f9fafb);
}

/* Hide the old styles completely */
.sr-add-site-card {
    display: none !important;
}

.sr-add-site-card-inline {
    display: block !important;
}

/* ==========================================
   Site Cards - Promptwatch-inspired Design
   ========================================== */
.sr-site-card {
    background: #fff;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 12px;
    padding: 0;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
}

.sr-site-card:hover {
    border-color: var(--siterooster-orange, #ff6b47);
    box-shadow: 0 4px 12px rgba(255, 107, 71, 0.08);
}

.sr-site-card.status-down {
    border-left: 3px solid var(--status-red, #ef4444);
}

.sr-site-card.status-up {
    border-left: 3px solid var(--status-green, #10b981);
}

/* Site Card Header */
.sr-site-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100, #f3f4f6);
}

.sr-site-card-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sr-site-favicon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--gray-100, #f3f4f6);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.sr-site-favicon img {
    width: 24px;
    height: 24px;
}

.sr-site-favicon.no-favicon::after {
    content: '🌐';
    font-size: 16px;
}

.sr-site-card-info {
    min-width: 0;
}

.sr-site-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--siterooster-dark, #2a1810);
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sr-site-url {
    font-size: 13px;
    color: var(--gray-500, #6b7280);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Site Card Actions */
.sr-site-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sr-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.sr-status-badge.up {
    background: var(--status-green-bg, #ecfdf5);
    color: var(--status-green, #10b981);
}

.sr-status-badge.down {
    background: var(--status-red-bg, #fef2f2);
    color: var(--status-red, #ef4444);
}

.sr-status-badge.checking {
    background: var(--gray-100, #f3f4f6);
    color: var(--gray-500, #6b7280);
}

.sr-btn-details {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--siterooster-orange, #ff6b47);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.sr-btn-details:hover {
    background: #e55a3a;
}

.sr-btn-details svg {
    width: 14px;
    height: 14px;
}

.sr-btn-delete {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--gray-400, #9ca3af);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.sr-btn-delete:hover {
    background: var(--status-red-bg, #fef2f2);
    color: var(--status-red, #ef4444);
}

.sr-btn-delete svg {
    width: 14px;
    height: 14px;
}

/* Site Card Metrics Row */
.sr-site-card-metrics {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 16px 20px;
    gap: 0;
}

.sr-site-metric {
    padding: 0 16px;
    border-right: 1px solid var(--gray-100, #f3f4f6);
}

.sr-site-metric:first-child {
    padding-left: 0;
}

.sr-site-metric:last-child {
    border-right: none;
    padding-right: 0;
}

.sr-site-metric .sr-metric-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-400, #9ca3af);
    margin-bottom: 6px;
}

.sr-site-metric .sr-metric-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--siterooster-dark, #2a1810);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sr-site-metric .sr-metric-value.up,
.sr-site-metric .sr-metric-value.good {
    color: var(--status-green, #10b981);
}

.sr-site-metric .sr-metric-value.down,
.sr-site-metric .sr-metric-value.bad {
    color: var(--status-red, #ef4444);
}

.sr-site-metric .sr-metric-value.warning {
    color: var(--status-orange, #f59e0b);
}

.sr-site-metric .sr-metric-value.checking {
    color: var(--gray-400, #9ca3af);
}

/* Status dot */
.sr-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* Sparkline */
.sr-metric-sparkline {
    margin-top: 4px;
}

.sr-sparkline {
    color: var(--siterooster-orange, #ff6b47);
    opacity: 0.6;
}

/* Loading dot animation */
.sr-loading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: sr-pulse 1.5s ease-in-out infinite;
}

@keyframes sr-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Placeholder card */
.sr-site-card.status-checking {
    border-left: 3px solid var(--siterooster-orange, #ff6b47);
    opacity: 0.8;
}

/* ==========================================
   Hide Old Site Card Styles
   ========================================== */
.sr-app-container .site-card {
    display: none !important;
}

/* Show new cards */
.sr-app-container .sr-site-card {
    display: block !important;
}

/* ==========================================
   Responsive - Site Cards
   ========================================== */
@media (max-width: 1100px) {
    .sr-site-card-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .sr-site-metric {
        border-right: none;
        padding: 8px 0;
        border-bottom: 1px solid var(--gray-100, #f3f4f6);
    }
    
    .sr-site-metric:nth-child(3n) {
        border-right: none;
    }
    
    .sr-site-metric:nth-last-child(-n+3) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .sr-add-site-card-inner {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sr-add-site-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sr-add-site-card .sr-add-site-form {
        max-width: none;
    }
    
    .sr-form-row {
        grid-template-columns: 1fr;
    }
    
    .sr-site-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .sr-site-card-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .sr-site-card-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sr-site-metric:nth-child(2n) {
        border-right: none;
    }
}

/* ==========================================
   END New Sidebar Layout Styles
   ========================================== */

/* ==========================================
   Dashboard Header with Rooster
   ========================================== */
.dashboard-header {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dashboard-header-left h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--siterooster-dark);
    margin: 0;
}

.dashboard-header-left h1::before {
    display: none;
}

.dashboard-welcome {
    font-size: 16px;
    color: var(--gray-500);
    margin: 0;
}

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

.dashboard-rooster {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .dashboard-header-left h1 {
        font-size: 26px;
    }
    
    .dashboard-rooster {
        width: 70px;
        height: 70px;
    }
}

/* ==========================================
   SiteRooster Dashboard - Refreshed Design
   Modern, clean, Homerun/Segment inspired
   ========================================== */

/* ==========================================
   CSS Variables
   ========================================== */
:root {
    --siterooster-orange: #ff6b47;
    --siterooster-coral: #ff8a73;
    --siterooster-dark: #2a1810;
    --siterooster-navy: #1a1a2e;
    --siterooster-cream: #fef7f3;
    --siterooster-light: #fff9f7;
    
    /* Status colors */
    --status-green: #10b981;
    --status-green-light: #34d399;
    --status-green-bg: #ecfdf5;
    --status-red: #ef4444;
    --status-red-light: #f87171;
    --status-red-bg: #fef2f2;
    --status-orange: #f59e0b;
    --status-orange-light: #fbbf24;
    --status-orange-bg: #fffbeb;
    --status-blue: #6366f1;
    --status-blue-bg: #eef2ff;
    
    /* Neutral colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.06);
    --shadow-green: 0 20px 60px rgba(16, 185, 129, 0.2);
    --shadow-red: 0 20px 60px rgba(239, 68, 68, 0.2);
    --shadow-orange: 0 20px 60px rgba(255, 107, 71, 0.15);
    
    /* Border radius */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;
}

/* ==========================================
   Header Links
   ========================================== */

.dashboard-header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.dashboard-rooster {
    width: 70px;
    height: 70px;
}

.header-links {
    display: flex;
    gap: 16px;
}


/* ==========================================
   Base & Reset
   ========================================== */
.wp-block-post-title {
    display: none;
}

/* ==========================================
   Page Container
   ========================================== */
.siterooster-dashboard {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, var(--siterooster-cream) 0%, #ffffff 100%);
    min-height: 100vh;
}

/* ==========================================
   Dashboard Header
   ========================================== */
.dashboard-header {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 40px 20px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--siterooster-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-header h1::before {
    content: 'ðŸ“';
    font-size: 36px;
}

.dashboard-subtitle {
    display: none;
}

/* Hide old tier badge */
.tier-badge {
    display: none;
}

/* ==========================================
   Stats Grid
   ========================================== */
.stats-grid {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    box-sizing: border-box;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.stat-card::before {
    display: none; /* Remove old top bar */
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Stat card icon */
.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

/* Status-specific icon backgrounds */
.stat-card.status-up .stat-icon {
    background: var(--status-green-bg);
}
.stat-card.status-down .stat-icon {
    background: var(--status-red-bg);
}
.stat-card.status-warning .stat-icon,
.stat-card.status-error .stat-icon {
    background: var(--status-orange-bg);
}
.stat-card.status-info .stat-icon {
    background: var(--status-blue-bg);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--siterooster-dark);
    margin-bottom: 4px;
    line-height: 1;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    opacity: 1;
}

/* ==========================================
   Add Site Section (Status Banner) - DEPRECATED
   Replaced by sr-add-site-card-inline
   ========================================== */
.add-site-section:not(.sr-add-site-card-inline) {
    /* Old styles deprecated - now using minimal inline card */
}

/* Hide old status backgrounds */
.add-site-section.status-up,
.add-site-section.status-down {
    background: none !important;
    box-shadow: none !important;
    color: inherit !important;
}

/* ==========================================
   Sites Section Header
   ========================================== */
.section-header {
    max-width: 1200px;
    margin: 0 auto 24px auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--siterooster-dark);
    margin: 0;
    letter-spacing: 0;
}

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

.section-actions .btn-filter {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    background: white;
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.section-actions .btn-filter:hover {
    border-color: var(--gray-300);
    color: var(--gray-700);
}

.section-actions .btn-filter.active {
    border-color: var(--siterooster-orange);
    background: var(--siterooster-orange);
    color: white;
}

/* ==========================================
   Sites List (Full-Width Cards)
   ========================================== */
.sites-list {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
}

/* ==========================================
   Site Card (Full-Width Design)
   ========================================== */
.site-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: auto;
    padding: 0;
}

.site-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Left status bar */
.site-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.site-card.status-up::before {
    background: linear-gradient(180deg, var(--status-green) 0%, var(--status-green-light) 100%);
}

.site-card.status-down::before {
    background: linear-gradient(180deg, var(--status-red) 0%, var(--status-red-light) 100%);
}

.site-card.status-error::before {
    background: linear-gradient(180deg, var(--status-orange) 0%, var(--status-orange-light) 100%);
}

/* Site card content wrapper */
.site-card-content {
    padding: 24px 28px 24px 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Top row: Site info + actions */
.site-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-card-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Status icon */
.site-status-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.site-card.status-up .site-status-icon {
    background: var(--status-green-bg);
    color: var(--status-green);
}

.site-card.status-down .site-status-icon {
    background: var(--status-red-bg);
    color: var(--status-red);
}

.site-card.status-error .site-status-icon {
    background: var(--status-orange-bg);
    color: var(--status-orange);
}

/* Site name and URL */
.site-card-details h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--siterooster-dark);
    margin: 0 0 2px 0;
}

.site-card-details .site-url {
    font-size: 14px;
    color: var(--gray-400);
    margin: 0;
}

/* Action buttons */
.site-card-actions {
    display: flex;
    gap: 10px;
}

.btn-view-details {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--siterooster-orange);
    background: transparent;
    color: var(--siterooster-orange);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-view-details:hover {
    background: var(--siterooster-orange);
    color: white;
}

.btn-settings {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
    background: white;
    color: var(--gray-500);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-settings:hover {
    border-color: var(--gray-300);
    color: var(--gray-700);
}

/* Stats row */
.site-card-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}

.site-stat {
    display: flex;
    flex-direction: column;
}

.site-stat-label {
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.site-stat-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--siterooster-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Status dot */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.online {
    background: var(--status-green);
}

.status-dot.offline {
    background: var(--status-red);
}

/* Colored stat values */
.site-stat-value.status-up {
    color: var(--status-green);
}

.site-stat-value.status-down {
    color: var(--status-red);
}

.site-stat-value.status-warning {
    color: var(--status-orange);
}

/* Hide old elements */
.site-info-section,
.site-stats-section,
.status-badge-container,
.status-badge,
.site-chart,
.countdown-dial,
.countdown-container,
.expiry-warnings,
.site-footer,
.site-header,
.site-metrics,
.metric {
    display: none;
}

/* ==========================================
   Empty State
   ========================================== */
.empty-state {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    background: white;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-200);
    text-align: center;
}

.empty-state::before {
    content: 'ðŸ“';
    display: block;
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--siterooster-dark);
    margin: 0 0 8px 0;
}

.empty-state p {
    font-size: 14px;
    color: var(--gray-400);
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.empty-state .btn {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: none;
    background: linear-gradient(135deg, var(--siterooster-orange) 0%, var(--siterooster-coral) 100%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
}

/* ==========================================
   Footer
   ========================================== */
.dashboard-footer {
    max-width: 1200px;
    margin: 60px auto 40px auto;
    padding: 0 20px;
    text-align: center;
    color: var(--gray-400);
    font-size: 14px;
}

.dashboard-footer::before {
    content: 'ðŸ“';
    opacity: 0.5;
    margin-right: 8px;
}

/* ==========================================
   Buttons (General)
   ========================================== */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--siterooster-orange) 0%, var(--siterooster-coral) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 71, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 71, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
}

.btn-danger {
    background: linear-gradient(135deg, var(--status-red) 0%, var(--status-red-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

/* Delete button */
.btn-delete-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: white;
    color: var(--gray-400);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-delete-small:hover {
    background: var(--status-red-bg);
    border-color: var(--status-red-light);
    color: var(--status-red);
}

/* ==========================================
   Forms
   ========================================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--siterooster-dark);
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: all 0.2s ease;
    background: white;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--siterooster-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 71, 0.1);
}

#addSiteForm {
    display: none;
    margin-top: 24px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

/* ==========================================
   Loading States
   ========================================== */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--gray-400);
}

.loading::before {
    content: 'ðŸ“';
    display: block;
    font-size: 32px;
    margin-bottom: 12px;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==========================================
   Scrollbar
   ========================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .site-card-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .dashboard-header {
        padding: 30px 20px 0 20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .dashboard-header h1 {
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 15px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .add-site-section:not(.sr-add-site-card-inline) {
        margin: 0 15px 30px 15px;
        padding: 30px 20px;
    }
    
    .add-site-section:not(.sr-add-site-card-inline)::before {
        display: none;
    }
    
    .add-site-section:not(.sr-add-site-card-inline) .add-site-form {
        flex-direction: column;
        max-width: none;
    }
    
    .section-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 0 15px;
    }
    
    .sites-list {
        padding: 0 15px;
    }
    
    .site-card-content {
        padding: 20px 20px 20px 28px;
    }
    
    .site-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .site-card-actions {
        width: 100%;
    }
    
    .site-card-actions .btn-view-details {
        flex: 1;
        justify-content: center;
    }
    
    .site-card-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .form-group input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-card .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
}

/* ==========================================
   Animations
   ========================================== */
@keyframes pulse-green {
    0%, 100% { box-shadow: var(--shadow-green); }
    50% { box-shadow: 0 20px 80px rgba(16, 185, 129, 0.3); }
}

@keyframes pulse-red {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.site-card.status-down::before {
    animation: pulse-red 2s infinite;
}

/* ==========================================
   Legacy Support (hide old elements)
   ========================================== */
.site-info-with-delete,
.header-actions-group,
.header-actions-vertical,
.btn-notifications,
.tier-indicator,
.chart-container,
.response-line-chart,
.chart-stats,
.chart-status-bar,
.chart-legend,
.legend-item {
    /* Keep for functionality but may need restructuring */
}
/* ==========================================
   Activity Feed Section
   ========================================== */
.activity-feed-section {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.activity-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.activity-feed-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feed-header-icon {
    font-size: 20px;
}

.feed-filter-tabs {
    display: flex;
    gap: 8px;
}

.feed-filter-tab {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: white;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feed-filter-tab:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.feed-filter-tab.active {
    background: linear-gradient(135deg, #ff6b47 0%, #ff8a73 100%);
    border-color: transparent;
    color: white;
}

.activity-feed-list {
    max-height: 400px;
    overflow-y: auto;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    border-bottom: 1px solid #f8fafc;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.feed-item:hover {
    background: #fafafa;
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-event-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.feed-event-dot.up { background: #10b981; }
.feed-event-dot.down { background: #ef4444; }
.feed-event-dot.check { background: #94a3b8; }
.feed-event-dot.change { background: #3b82f6; }
.feed-event-dot.keyword { background: #8b5cf6; }
.feed-event-dot.warning { background: #f59e0b; }

.feed-site-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.feed-site-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.feed-site-icon .favicon-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #64748b;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.feed-content {
    flex: 1;
    min-width: 0;
}

.feed-site-name {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-description {
    font-size: 13px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.feed-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.feed-tag {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feed-tag.check { background: #f1f5f9; color: #64748b; }
.feed-tag.up { background: #ecfdf5; color: #059669; }
.feed-tag.down { background: #fef2f2; color: #dc2626; }
.feed-tag.content { background: #eff6ff; color: #2563eb; }
.feed-tag.keyword { background: #f5f3ff; color: #7c3aed; }
.feed-tag.warning { background: #fffbeb; color: #d97706; }

.feed-time {
    font-size: 12px;
    color: #94a3b8;
    white-space: nowrap;
}

.feed-loading,
.feed-empty {
    padding: 40px 24px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

.feed-view-all {
    display: block;
    padding: 14px 24px;
    text-align: center;
    color: #ff6b47;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    border-top: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.feed-view-all:hover {
    background: #fff9f7;
}

/* Activity Feed Responsive */
@media (max-width: 768px) {
    .activity-feed-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .feed-filter-tabs {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }
    
    .feed-item {
        padding: 12px 16px;
    }
    
    .feed-meta {
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
    }
}

/* ==========================================
   Placeholder Site Card (Adding New Site)
   ========================================== */
.site-card.status-checking {
    border-left: 4px solid var(--siterooster-orange);
    background: linear-gradient(135deg, #fffbf5 0%, #fff 100%);
}

.site-card.status-checking .site-status-icon {
    background: var(--siterooster-orange);
    color: white;
}

.setup-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--siterooster-orange) 0%, #ff8c42 100%);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

.setup-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}

.checking-pulse {
    color: var(--gray-400);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.dashboard-logout {
    margin:0px !important;
}
}