    /* ===== بنر خوشامدگویی ===== */
    .dktr-welcome-banner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 24px;
        background: #0ee794;
        padding: 20px 24px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    
    .dktr-welcome-text h2 {
        font-size: 22px;
        font-weight: 600;
        color: #1a1a2e;
        margin: 0 0 6px 0;
    }
    
    .dktr-welcome-text p {
        margin: 0;
        color: #666;
        font-size: 15px;
    }
    
    .dktr-welcome-text p strong {
        color: #1a73e8;
    }
    
    .dktr-welcome-stats {
        display: flex;
        gap: 20px;
        margin-top: 8px;
    }
    
    .dktr-mini-stat {
        font-size: 14px;
        color: #666;
        background: #f5f7fa;
        padding: 4px 14px;
        border-radius: 20px;
    }
    
    .dktr-mini-stat strong {
        color: #1a1a2e;
        font-weight: 700;
    }

    /* ===== ساعت دیجیتال ===== */
    .dktr-modern-clock {
        background: linear-gradient(135deg, #1e293b, #0f172a);
        padding: 12px 24px;
        border-radius: 16px;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        gap: 6px;
        direction: ltr;
        border: 1px solid rgba(255,255,255,0.05);
        flex-shrink: 0;
    }

    .dktr-modern-clock .time-box {
        font-size: 2.2rem;
        font-weight: 700;
        font-family: 'Courier New', monospace, sans-serif;
        background: linear-gradient(to bottom, #38bdf8, #818cf8);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        line-height: 1;
        letter-spacing: 2px;
        min-width: 50px;
        text-align: center;
    }

    .dktr-modern-clock .colon {
        font-size: 1.8rem;
        color: #64748b;
        animation: blink 1s infinite;
        line-height: 1;
        margin-bottom: 4px;
    }

    .dktr-modern-clock .sec-box {
        font-size: 1.1rem;
        font-weight: 600;
        color: #94a3b8;
        margin-left: 4px;
        margin-bottom: -8px;
        min-width: 30px;
        text-align: center;
    }

    @keyframes blink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.3; }
    }

    /* ===== کارت‌های آماری ===== */
    .dktr-stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        margin-bottom: 30px;
    }

    .dktr-stat-card {
        background: #fff;
        border-radius: 12px;
        padding: 20px 18px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        display: flex;
        align-items: center;
        gap: 14px;
        transition: all 0.3s ease;
        border-right: 4px solid #e8ecf1;
    }

    .dktr-stat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    }

    .dktr-stat-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .dktr-stat-icon svg {
        width: 26px;
        height: 26px;
        fill: currentColor;
    }

    .dktr-stat-info {
        flex: 1;
        min-width: 0;
    }

    .dktr-stat-number {
        display: block;
        font-size: 24px;
        font-weight: 700;
        color: #1a1a2e;
        line-height: 1.2;
    }

    .dktr-stat-label {
        display: block;
        font-size: 13px;
        color: #888;
        margin-top: 2px;
    }

    /* ===== رنگ‌های کارت‌ها ===== */
    .dktr-stat-today {
        border-right-color: #1a73e8;
    }
    .dktr-stat-today .dktr-stat-icon {
        background: #e8f0fe;
        color: #1a73e8;
    }

    .dktr-stat-pending {
        border-right-color: #fbbc04;
    }
    .dktr-stat-pending .dktr-stat-icon {
        background: #fef7e0;
        color: #fbbc04;
    }

    .dktr-stat-total {
        border-right-color: #34a853;
    }
    .dktr-stat-total .dktr-stat-icon {
        background: #e6f4ea;
        color: #34a853;
    }

    .dktr-stat-rx {
        border-right-color: #9c27b0;
    }
    .dktr-stat-rx .dktr-stat-icon {
        background: #f3e5f5;
        color: #9c27b0;
    }

    /* ===== بخش‌های کارتی ===== */
    .dktr-section-card {
        background: #fff;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        margin-bottom: 24px;
    }

    .dktr-section-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .dktr-section-header h2 {
        font-size: 18px;
        font-weight: 600;
        color: #1a1a2e;
        margin: 0;
    }

    .dktr-btn-link {
        color: #1a73e8;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
    }

    .dktr-btn-link:hover {
        text-decoration: underline;
    }

    /* ===== لیست نوبت‌ها ===== */
    .dktr-appointments-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .dktr-appt-row {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 12px 16px;
        background: #f8f9fa;
        border-radius: 8px;
        transition: background 0.2s;
        flex-wrap: wrap;
        border-right: 4px solid transparent;
    }

    .dktr-appt-row:hover {
        background: #f1f3f4;
    }

    .dktr-appt-time {
        display: flex;
        align-items: center;
        gap: 6px;
        font-weight: 700;
        color: #1a1a2e;
        font-size: 15px;
        min-width: 70px;
    }

    .dktr-appt-time svg {
        width: 18px;
        height: 18px;
        fill: #1a73e8;
    }

    .dktr-appt-patient {
        flex: 1;
        min-width: 100px;
    }

    .dktr-appt-patient strong {
        display: block;
        font-weight: 600;
        color: #333;
        font-size: 14px;
    }

    .dktr-appt-patient span {
        font-size: 12px;
        color: #888;
    }

    .dktr-appt-status {
        flex-shrink: 0;
    }

    .dktr-status-badge {
        font-size: 12px;
        padding: 3px 14px;
        border-radius: 20px;
        font-weight: 500;
        display: inline-block;
    }

    .dktr-status-pending .dktr-status-badge,
    .dktr-status-pending {
        background: #fef7e0;
        color: #f9ab00;
        border-color: #f9ab00;
    }
    .dktr-status-pending.dktr-appt-row {
        border-right-color: #f9ab00;
    }

    .dktr-status-confirmed .dktr-status-badge,
    .dktr-status-confirmed {
        background: #e6f4ea;
        color: #34a853;
        border-color: #34a853;
    }
    .dktr-status-confirmed.dktr-appt-row {
        border-right-color: #34a853;
    }

    .dktr-status-completed .dktr-status-badge,
    .dktr-status-completed {
        background: #e8f0fe;
        color: #1a73e8;
        border-color: #1a73e8;
    }
    .dktr-status-completed.dktr-appt-row {
        border-right-color: #1a73e8;
    }

    .dktr-status-cancelled .dktr-status-badge,
    .dktr-status-cancelled {
        background: #fce8e6;
        color: #d93025;
        border-color: #d93025;
    }
    .dktr-status-cancelled.dktr-appt-row {
        border-right-color: #d93025;
    }

    .dktr-appt-actions {
        flex-shrink: 0;
    }

    .dktr-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 14px;
        border-radius: 6px;
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
        border: none;
        cursor: pointer;
        transition: all 0.2s;
    }

    .dktr-btn-sm {
        font-size: 12px;
        padding: 4px 12px;
    }

    .dktr-btn-primary {
        background: #1a73e8;
        color: #fff;
    }

    .dktr-btn-primary:hover {
        background: #1557b0;
        color: #fff;
    }

    .dktr-btn-outline {
        background: transparent;
        color: #1a73e8;
        border: 1px solid #1a73e8;
    }

    .dktr-btn-outline:hover {
        background: #e8f0fe;
    }

    /* ===== جدول نسخه‌ها ===== */
    .dktr-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 14px;
    }

    .dktr-table thead th {
        text-align: right;
        padding: 10px 12px;
        background: #f8f9fa;
        font-weight: 600;
        color: #555;
        border-bottom: 2px solid #e8ecf1;
    }

    .dktr-table tbody td {
        padding: 10px 12px;
        border-bottom: 1px solid #f0f0f0;
        vertical-align: middle;
    }

    .dktr-table tbody tr:hover td {
        background: #f8f9fa;
    }

    .dktr-table code {
        background: #f0f0f0;
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 12px;
        color: #1a73e8;
    }

    /* ===== حالت خالی ===== */
    .dktr-empty-state {
        text-align: center;
        padding: 30px 20px;
        color: #999;
    }

    .dktr-empty-state svg {
        width: 48px;
        height: 48px;
        fill: #ddd;
        margin-bottom: 10px;
    }

    .dktr-empty-state p {
        font-size: 15px;
        margin: 0;
    }

    /* ========================================
       پاسخگویی (Responsive)
       ======================================== */

    /* تبلت */
    @media (max-width: 992px) {
        .dktr-stats-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 14px;
        }
        
        .dktr-appt-row {
            gap: 12px;
            padding: 10px 14px;
        }
        
        .dktr-modern-clock .time-box {
            font-size: 1.8rem;
            min-width: 40px;
        }
        
        .dktr-modern-clock .colon {
            font-size: 1.5rem;
        }
        
        .dktr-modern-clock .sec-box {
            font-size: 1rem;
        }
    }

    /* موبایل */
    @media (max-width: 768px) {
        .dktr-welcome-banner {
            flex-direction: column;
            align-items: stretch;
            padding: 16px;
            gap: 16px;
        }
        
        .dktr-welcome-text h2 {
            font-size: 19px;
        }
        
        .dktr-welcome-text p {
            font-size: 14px;
        }
        
        .dktr-modern-clock {
            width: 100%;
            justify-content: center;
            padding: 10px 16px;
        }
        
        .dktr-modern-clock .time-box {
            font-size: 1.6rem;
            min-width: 36px;
        }
        
        .dktr-modern-clock .colon {
            font-size: 1.3rem;
        }
        
        .dktr-modern-clock .sec-box {
            font-size: 0.9rem;
            min-width: 24px;
        }
        
        .dktr-stats-grid {
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        
        .dktr-stat-card {
            padding: 14px;
            gap: 10px;
            border-radius: 10px;
        }
        
        .dktr-stat-icon {
            width: 40px;
            height: 40px;
        }
        
        .dktr-stat-icon svg {
            width: 20px;
            height: 20px;
        }
        
        .dktr-stat-number {
            font-size: 20px;
        }
        
        .dktr-stat-label {
            font-size: 12px;
        }
        
        .dktr-section-card {
            padding: 16px;
            border-radius: 10px;
        }
        
        .dktr-section-header h2 {
            font-size: 16px;
        }
        
        .dktr-appt-row {
            padding: 10px 12px;
            gap: 8px;
        }
        
        .dktr-appt-time {
            font-size: 14px;
            min-width: 60px;
        }
        
        .dktr-appt-time svg {
            width: 16px;
            height: 16px;
        }
        
        .dktr-appt-patient strong {
            font-size: 13px;
        }
        
        .dktr-appt-patient span {
            font-size: 11px;
        }
        
        .dktr-status-badge {
            font-size: 11px;
            padding: 2px 10px;
        }
        
        .dktr-btn {
            font-size: 12px;
            padding: 4px 10px;
        }
        
        .dktr-btn-sm {
            font-size: 11px;
            padding: 3px 8px;
        }
        
        /* جدول در موبایل - اسکرول افقی */
        .dktr-table-wrapper {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
        
        .dktr-table {
            font-size: 13px;
            min-width: 500px;
        }
        
        .dktr-table thead th,
        .dktr-table tbody td {
            padding: 8px 10px;
        }
    }

    /* موبایل خیلی کوچک */
    @media (max-width: 480px) {
        .dktr-stats-grid {
            gap: 8px;
        }
        
        .dktr-stat-card {
            padding: 12px;
            flex-direction: column;
            text-align: center;
            border-right: none;
            border-top: 4px solid #e8ecf1;
            border-radius: 8px;
        }
        
        .dktr-stat-today {
            border-top-color: #1a73e8;
        }
        .dktr-stat-pending {
            border-top-color: #fbbc04;
        }
        .dktr-stat-total {
            border-top-color: #34a853;
        }
        .dktr-stat-rx {
            border-top-color: #9c27b0;
        }
        
        .dktr-stat-icon {
            width: 36px;
            height: 36px;
        }
        
        .dktr-stat-icon svg {
            width: 18px;
            height: 18px;
        }
        
        .dktr-stat-number {
            font-size: 18px;
        }
        
        .dktr-stat-label {
            font-size: 11px;
        }
        
        .dktr-welcome-stats {
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .dktr-mini-stat {
            font-size: 12px;
            padding: 3px 10px;
        }
        
        .dktr-appt-row {
            flex-direction: column;
            align-items: stretch;
            gap: 6px;
            padding: 10px;
        }
        
        .dktr-appt-time {
            font-size: 13px;
            min-width: auto;
        }
        
        .dktr-appt-patient {
            min-width: auto;
        }
        
        .dktr-appt-actions {
            text-align: left;
        }
        
        .dktr-modern-clock .time-box {
            font-size: 1.3rem;
            min-width: 30px;
        }
        
        .dktr-modern-clock .colon {
            font-size: 1.1rem;
        }
        
        .dktr-modern-clock .sec-box {
            font-size: 0.8rem;
            min-width: 20px;
        }
    }

    /* موبایل بسیار کوچک (زیر 360px) */
    @media (max-width: 360px) {
        .dktr-stats-grid {
            grid-template-columns: 1fr 1fr;
            gap: 6px;
        }
        
        .dktr-stat-card {
            padding: 10px;
        }
        
        .dktr-stat-number {
            font-size: 16px;
        }
        
        .dktr-stat-label {
            font-size: 10px;
        }
        
        .dktr-stat-icon {
            width: 30px;
            height: 30px;
        }
        
        .dktr-stat-icon svg {
            width: 16px;
            height: 16px;
        }
        
        .dktr-welcome-text h2 {
            font-size: 17px;
        }
        
        .dktr-section-card {
            padding: 12px;
        }
    }