/**
 * SAW Admin - Visits Module Styles
 * 
 * Main entry point for visits module CSS.
 * Note: Section files loaded directly via asset-loader.php
 * 
 * @package SAW_Visitors
 * @version 3.0.0
 */

/* ============================================
   BENTO WRAPPER CONTENT PADDING
   ============================================ */
.sa-detail-wrapper.bento-wrapper .saw-industrial-section {
    margin-left: 16px;
    margin-right: 16px;
}

/* Cards stack - ensure no overflow */
.saw-detail-cards-stack {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* ============================================
   INDUSTRIAL SECTIONS (visits specific)
   ============================================ */
.saw-industrial-section {
    background: var(--sa-bg-elevated, #ffffff);
    border: 1px solid var(--sa-border, #e2e8f0);
    border-radius: var(--bento-card-radius, 16px);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.saw-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bento-bg-subtle, #f8fafc);
    border-bottom: 1px solid var(--sa-border, #e2e8f0);
}

.saw-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--bento-text-primary, #0f172a);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.saw-section-title-accent {
    color: var(--bento-brand-600, #2563eb);
}

.saw-section-title-icon {
    width: 18px;
    height: 18px;
    color: var(--bento-brand-500, #3b82f6);
}

.saw-section-body {
    padding: 16px;
}

/* ============================================
   STATUS BUTTONS GRID
   ============================================ */
.saw-status-buttons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.saw-status-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 8px;
    background: var(--bento-bg-muted, #f1f5f9);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    position: relative;
}

.saw-status-btn:hover:not(:disabled) {
    background: var(--bento-bg-elevated, #ffffff);
    border-color: var(--bento-brand-300, #93c5fd);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.saw-status-btn:disabled {
    cursor: default;
}

.saw-status-btn-current {
    background: var(--bento-brand-50, #eff6ff);
    border-color: var(--bento-brand-500, #3b82f6);
}

.saw-status-btn-icon {
    font-size: 24px;
    line-height: 1;
}

.saw-status-btn-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--bento-text-secondary, #64748b);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.saw-status-btn-check {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    background: var(--bento-success, #22c55e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* ============================================
   VISIT TIMELINE
   ============================================ */
.saw-visit-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.saw-timeline-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.saw-timeline-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.saw-timeline-dot-start {
    background: var(--bento-success-light, #dcfce7);
    color: var(--bento-success, #22c55e);
}

.saw-timeline-dot-end {
    background: var(--bento-brand-100, #dbeafe);
    color: var(--bento-brand-500, #3b82f6);
}

.saw-timeline-dot-active {
    background: var(--bento-warning-light, #fef3c7);
    color: var(--bento-warning, #f59e0b);
    animation: bento-pulse 2s ease-in-out infinite;
}

.saw-timeline-info {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.saw-timeline-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--bento-text-muted, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.saw-timeline-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--bento-text-primary, #0f172a);
}

.saw-timeline-value-active {
    color: var(--bento-warning, #f59e0b);
}

.saw-timeline-time {
    font-size: 13px;
    color: var(--bento-text-secondary, #64748b);
}

.saw-timeline-connector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0 4px 15px;
}

.saw-timeline-line {
    width: 2px;
    height: 24px;
    background: var(--bento-border, #e2e8f0);
    border-radius: 1px;
}

.saw-timeline-active .saw-timeline-line {
    background: linear-gradient(180deg, var(--bento-success, #22c55e), var(--bento-warning, #f59e0b));
}

.saw-timeline-duration {
    font-size: 11px;
    font-weight: 600;
    color: var(--bento-text-muted, #94a3b8);
    background: var(--bento-bg-muted, #f8fafc);
    padding: 2px 8px;
    border-radius: 10px;
}

.saw-timeline-now {
    background: var(--bento-warning-light, #fef3c7);
    color: var(--bento-warning, #f59e0b);
}

/* ============================================
   SCHEDULE CARDS
   ============================================ */
.saw-visit-schedule-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.saw-schedule-day-card {
    background: var(--bento-bg-muted, #f8fafc);
    border: 1px solid var(--bento-border, #e2e8f0);
    border-radius: 12px;
    overflow: hidden;
}

.saw-schedule-day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: var(--bento-bg-elevated, #ffffff);
    border-bottom: 1px solid var(--bento-border, #e2e8f0);
}

.saw-schedule-day-date {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.saw-schedule-day-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--bento-brand-500, #3b82f6);
    text-transform: uppercase;
}

.saw-schedule-day-number {
    font-size: 15px;
    font-weight: 700;
    color: var(--bento-text-primary, #0f172a);
}

.saw-schedule-day-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--bento-text-secondary, #64748b);
}

.saw-schedule-day-notes {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--bento-text-secondary, #64748b);
}

/* ============================================
   DARK MODE
   ============================================ */
[data-theme="dark"] .saw-industrial-section,
.dark-mode .saw-industrial-section {
    background: var(--bento-bg-card, #1e293b);
    border-color: var(--bento-border, #334155);
}

[data-theme="dark"] .saw-section-head,
.dark-mode .saw-section-head {
    background: var(--bento-bg-elevated, #334155);
    border-color: var(--bento-border, #475569);
}

[data-theme="dark"] .saw-section-title,
.dark-mode .saw-section-title {
    color: var(--bento-text-primary, #f1f5f9);
}

[data-theme="dark"] .saw-status-btn,
.dark-mode .saw-status-btn {
    background: var(--bento-bg-elevated, #334155);
}

[data-theme="dark"] .saw-status-btn:hover:not(:disabled),
.dark-mode .saw-status-btn:hover:not(:disabled) {
    background: var(--bento-bg-muted, #475569);
}

[data-theme="dark"] .saw-timeline-value,
.dark-mode .saw-timeline-value {
    color: var(--bento-text-primary, #f1f5f9);
}

[data-theme="dark"] .saw-schedule-day-card,
.dark-mode .saw-schedule-day-card {
    background: var(--bento-bg-elevated, #334155);
    border-color: var(--bento-border, #475569);
}

[data-theme="dark"] .saw-schedule-day-header,
.dark-mode .saw-schedule-day-header {
    background: var(--bento-bg-card, #1e293b);
    border-color: var(--bento-border, #475569);
}

[data-theme="dark"] .saw-schedule-day-number,
.dark-mode .saw-schedule-day-number {
    color: var(--bento-text-primary, #f1f5f9);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 480px) {

    .sa-detail-wrapper.bento-wrapper .saw-industrial-section,
    .sa-detail-wrapper.bento-wrapper .saw-detail-cards-stack {
        margin-left: 12px;
        margin-right: 12px;
    }

    .saw-status-buttons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .saw-status-btn {
        padding: 12px 6px;
    }

    .saw-status-btn-icon {
        font-size: 20px;
    }
}

/* ============================================
   TABLE COLUMN STYLES
   ============================================ */

/* Visitor Cell */
.saw-visitor-cell {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.saw-visitor-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--bento-text-primary, #0f172a);
    line-height: 1.3;
}

.saw-visitor-name-person {
    color: var(--bento-brand-600, #2563eb);
}

.saw-visitor-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    width: fit-content;
}

.saw-visitor-type-badge .saw-badge-text {
    font-size: 11px;
}

/* Visitor Count */
.saw-visitor-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bento-bg-muted, #f1f5f9);
    padding: 6px 10px;
    border-radius: 8px;
}

.saw-visitor-count svg {
    width: 16px;
    height: 16px;
    color: var(--bento-text-secondary, #64748b);
}

.saw-visitor-count-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--bento-text-primary, #0f172a);
}

/* Risks Status - Missing */
.saw-risks-missing {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bento-danger-light, #fee2e2);
    color: var(--bento-danger, #dc2626);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.saw-risks-missing svg {
    width: 14px;
    height: 14px;
}

.saw-risks-label {
    font-size: 11px;
}

/* Risks Status - OK */
.saw-risks-ok {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--bento-success-light, #dcfce7);
    color: var(--bento-success, #16a34a);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

/* Badge styles for table */
.saw-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.saw-badge-text {
    font-size: 12px;
}

.saw-badge-primary {
    background: var(--bento-brand-100, #dbeafe);
    color: var(--bento-brand-700, #1d4ed8);
}

.saw-badge-info {
    background: var(--bento-info-light, #e0f2fe);
    color: var(--bento-info, #0284c7);
}

.saw-badge-success {
    background: var(--bento-success-light, #dcfce7);
    color: var(--bento-success, #16a34a);
}

.saw-badge-warning {
    background: var(--bento-warning-light, #fef3c7);
    color: var(--bento-warning-dark, #b45309);
}

.saw-badge-danger {
    background: var(--bento-danger-light, #fee2e2);
    color: var(--bento-danger, #dc2626);
}

.saw-badge-secondary {
    background: var(--bento-bg-muted, #f1f5f9);
    color: var(--bento-text-secondary, #64748b);
}

/* Status specific colors */
.saw-badge[data-status="pending"],
.saw-badge--pending {
    background: #fef3c7;
    color: #b45309;
}

.saw-badge[data-status="confirmed"],
.saw-badge--confirmed {
    background: #e0f2fe;
    color: #0284c7;
}

.saw-badge[data-status="in_progress"],
.saw-badge--in-progress {
    background: #dbeafe;
    color: #1d4ed8;
}

.saw-badge[data-status="completed"],
.saw-badge--completed {
    background: #dcfce7;
    color: #16a34a;
}

.saw-badge[data-status="cancelled"],
.saw-badge--cancelled {
    background: #fee2e2;
    color: #dc2626;
}

.saw-badge[data-status="draft"],
.saw-badge--draft {
    background: #f1f5f9;
    color: #64748b;
}

/* Dark mode for table */
[data-theme="dark"] .saw-visitor-name,
.dark-mode .saw-visitor-name {
    color: var(--bento-text-primary, #f1f5f9);
}

[data-theme="dark"] .saw-visitor-count,
.dark-mode .saw-visitor-count {
    background: var(--bento-bg-elevated, #334155);
}

[data-theme="dark"] .saw-visitor-count-number,
.dark-mode .saw-visitor-count-number {
    color: var(--bento-text-primary, #f1f5f9);
}

[data-theme="dark"] .saw-badge-secondary,
.dark-mode .saw-badge-secondary {
    background: var(--bento-bg-elevated, #334155);
    color: var(--bento-text-secondary, #94a3b8);
}

/* ============================================
   INVITATION CARD - PROMINENT GREEN DESIGN
   ============================================ */
.saw-invitation-card {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35) !important;
    color: #ffffff !important;
    border: none !important;
}

.saw-invitation-card * {
    color: #ffffff !important;
}

.saw-invitation-card a {
    color: #ffffff !important;
    text-decoration: underline;
}

/* ============================================
   UNIFIED VISITOR SECTION
   ============================================ */
.saw-visitor-section {
    background: var(--saw-bg-elevated, #ffffff);
    border: 1px solid var(--saw-border, #e2e8f0);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.saw-visitor-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--saw-border, #e2e8f0);
}

.saw-visitor-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.saw-visitor-section-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.saw-visitor-section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--saw-text-muted, #64748b);
}

.saw-visitor-section-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--saw-text-primary, #0f172a);
}

.saw-visitor-section-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.saw-visitor-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.saw-visitor-count-badge svg {
    width: 14px;
    height: 14px;
}

.saw-visitor-section-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
}

.saw-invitation-card-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    background: transparent !important;
    color: #ffffff !important;
}

.saw-invitation-card-inner,
.saw-invitation-card-inner * {
    background-color: transparent !important;
    color: #ffffff !important;
}

.saw-invitation-card-inner svg {
    stroke: #ffffff !important;
    color: #ffffff !important;
}

.saw-invitation-card-left {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    flex: 1;
    min-width: 200px;
}

.saw-invitation-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.saw-invitation-icon svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.saw-invitation-card-info {
    flex: 1;
}

.saw-invitation-card-label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.saw-invitation-card-label>span:first-child {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Invitation status badges */
.saw-invitation-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.saw-invitation-status svg {
    width: 12px;
    height: 12px;
}

.saw-invitation-status-confirmed {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.saw-invitation-status-sent {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.saw-invitation-status-pending {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

.saw-invitation-card-email {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
}

.saw-invitation-card-email:hover {
    text-decoration: underline;
    color: #ffffff;
}

.saw-invitation-sent-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    opacity: 0.85;
}

.saw-invitation-sent-info svg {
    width: 14px;
    height: 14px;
}

.saw-invitation-card-right {
    flex-shrink: 0;
}

/* Send button - prominent white on green */
.saw-invitation-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid #ffffff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.saw-invitation-btn svg {
    width: 18px;
    height: 18px;
}

.saw-invitation-btn-primary {
    background: #ffffff;
    color: #059669;
}

.saw-invitation-btn-primary:hover {
    background: #ecfdf5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.saw-invitation-btn-secondary {
    background: transparent;
    color: #ffffff;
}

.saw-invitation-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.saw-invitation-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    opacity: 0.8;
}

.saw-invitation-note svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   VISITORS LIST SECTION (for detail sidebar)
   ============================================ */
.saw-visitors-list-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid var(--saw-border, #e2e8f0);
    overflow: hidden;
    margin-bottom: 12px;
}

.saw-visitors-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--saw-bg-elevated, #ffffff);
    border-bottom: 1px solid var(--saw-border, #e2e8f0);
}

.saw-visitors-list-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.saw-visitors-list-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.saw-visitors-list-icon svg {
    width: 20px;
    height: 20px;
}

.saw-visitors-list-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--saw-text-primary, #0f172a);
}

.saw-visitors-list-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
}

.saw-visitors-list-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.saw-visitor-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--saw-bg-elevated, #ffffff);
    border: 1px solid var(--saw-border, #e2e8f0);
    border-radius: 10px;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.saw-visitor-list-item:hover {
    border-color: var(--saw-brand-300, #93c5fd);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    background: var(--saw-bg-muted, #f8fafc);
}

.saw-visitor-list-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--saw-brand-600, #4f46e5);
    flex-shrink: 0;
}

.saw-visitor-list-avatar svg {
    width: 22px;
    height: 22px;
}

.saw-visitor-list-info {
    flex: 1;
    min-width: 0;
}

.saw-visitor-list-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--saw-text-primary, #0f172a);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.saw-visitor-list-email,
.saw-visitor-list-profession {
    font-size: 12px;
    color: var(--saw-text-muted, #64748b);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.saw-visitor-list-profession {
    color: var(--saw-brand-600, #6366f1);
    font-weight: 500;
}

.saw-visitor-list-arrow {
    flex-shrink: 0;
    color: var(--saw-text-muted, #94a3b8);
    opacity: 0.5;
    transition: all 0.2s;
}

.saw-visitor-list-item:hover .saw-visitor-list-arrow {
    opacity: 1;
    color: var(--saw-brand-500, #6366f1);
    transform: translateX(2px);
}

.saw-visitor-list-info {
    flex: 1;
    min-width: 0;
}

.saw-visitor-list-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--saw-text-primary, #0f172a);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.saw-visitor-list-email {
    font-size: 12px;
    color: var(--saw-text-muted, #64748b);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.saw-visitors-empty {
    text-align: center;
    padding: 24px;
    color: var(--saw-text-muted, #94a3b8);
}

.saw-visitors-empty svg {
    width: 40px;
    height: 40px;
    opacity: 0.4;
    margin-bottom: 8px;
}

/* ============================================
   DARK MODE - INVITATION & VISITORS
   ============================================ */
[data-theme="dark"] .saw-invitation-card,
.dark-mode .saw-invitation-card {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
}

[data-theme="dark"] .saw-visitors-list-section,
.dark-mode .saw-visitors-list-section {
    background: var(--saw-bg-surface, #0f172a);
    border-color: var(--saw-border, #334155);
}

[data-theme="dark"] .saw-visitors-list-header,
.dark-mode .saw-visitors-list-header {
    background: var(--saw-bg-elevated, #1e293b);
}

[data-theme="dark"] .saw-visitors-list-label,
.dark-mode .saw-visitors-list-label {
    color: var(--saw-text-primary, #f1f5f9);
}

[data-theme="dark"] .saw-visitor-list-item,
.dark-mode .saw-visitor-list-item {
    background: var(--saw-bg-elevated, #1e293b);
    border-color: var(--saw-border, #334155);
}

[data-theme="dark"] .saw-visitor-list-name,
.dark-mode .saw-visitor-list-name {
    color: var(--saw-text-primary, #f1f5f9);
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .saw-invitation-card-inner {
        flex-direction: column;
    }

    .saw-invitation-card-right {
        width: 100%;
    }

    .saw-invitation-btn {
        width: 100%;
        justify-content: center;
    }
}