body.tv-body {
    background-color: #090d16;
    color: #f8fafc;
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 20px;
    direction: rtl;
    overflow: hidden;
}

/* تنسيق شريط العروض المتحرك بخطوط عملاقة وواضحة جداً من مسافات بعيدة */
.tv-ticker-wrapper {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    border: 2px solid rgba(56, 189, 248, 0.4);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    height: 75px;
    position: relative;
}

.tv-ticker-wrapper::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: #38bdf8;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
}

.ticker-title {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 20px;
    white-space: nowrap;
    margin-left: 20px;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-content-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    white-space: nowrap;
}

.ticker-track {
    display: inline-block;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    margin-left: 100px;
    font-size: 28px; /* حجم خط كبير جداً وواضح للإعلانات */
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 0.5px;
}

.ticker-item span.highlight {
    color: #fde047; /* أصفر فاقع ساطع يشد الانتباه وواضح من مسافة بعيدة */
    font-size: 30px;
    font-weight: 900;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.tv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1e293b;
    padding: 15px 30px;
    border-radius: 14px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.tv-header h1 {
    margin: 0;
    font-size: 30px;
    color: #38bdf8;
    font-weight: 800;
}
.tv-clock {
    font-size: 28px;
    font-weight: bold;
    color: #f8fafc;
    background: #0f172a;
    padding: 8px 20px;
    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}
.tv-container {
    display: flex;
    gap: 20px;
    height: calc(100vh - 180px);
}
.tv-section {
    flex: 1;
    background: #1e293b;
    border-radius: 14px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.tv-section h2 {
    text-align: center;
    font-size: 28px;
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #334155;
    font-weight: 800;
}
.waiting-section h2 { color: #facc15; }
.doctor-section h2 { color: #4ade80; }

.tv-cards-container {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.tv-card {
    background: #334155;
    padding: 20px 25px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    animation: fadeIn 0.5s ease-in-out;
    border-right: 6px solid #38bdf8;
}
.doctor-card {
    background: #065f46;
    border-right: 6px solid #34d399;
}
.ticket-number {
    font-size: 42px; /* أرقام التذاكر بحجم عملاق وبارز */
    font-weight: 900;
    color: #38bdf8;
}
.patient-name {
    font-size: 26px; /* أسماء المرضى بحجم كبير جداً */
    font-weight: 700;
    color: #f8fafc;
}
.doctor-name, .room-number {
    font-size: 24px; /* أسماء الأطباء وأرقام الغرف واضحة للغاية */
    font-weight: 600;
    color: #cbd5e1;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}