﻿
.available-badge {
    background: #28a745;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
}

.available-badge i {
    margin-left: 5px;
}

.clinic-card {
    position: relative;
    overflow: hidden;
}

    .clinic-card:hover .available-badge {
        background: #218838;
        transform: scale(1.05);
    }

.clinic-info {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

.doctor-name {
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

    .doctor-name i {
        color: #007bff;
        margin-left: 5px;
    }

.available-slots {
    color: #28a745;
    font-weight: 600;
    font-size: 0.85rem;
}

    .available-slots i {
        color: #28a745;
        margin-left: 5px;
    }

.clinic-card {
    position: relative;
    overflow: hidden;
}

    .clinic-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 10px;
        height: 100%;
        background: #28a745;
        opacity: 0.1;
        transition: all 0.3s;
    }

    .clinic-card:hover::before {
        width: 100%;
        opacity: 0.05;
    }
/* تخصيصات إضافية */
.portal-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 30px 20px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.logo-container {
    margin-bottom: 20px;
}

.logo-icon {
    font-size: 80px;
    color: white;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2));
}

.portal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.portal-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.form-card, .status-card, .clinics-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #eaeaea;
}

.form-title, .section-title {
    color: #007bff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #007bff;
}

.input-group-custom {
    margin-bottom: 25px;
}

.input-label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

    .input-label i {
        color: #007bff;
        margin-left: 8px;
    }

.input-field {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f9f9f9;
}

    .input-field:focus {
        border-color: #007bff;
        background: white;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
        outline: none;
    }

    .input-field:required {
        border-right: 4px solid #dc3545;
    }

        .input-field:required:valid {
            border-right: 4px solid #28a745;
        }

.next-btn {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

    .next-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
    }

    .next-btn i {
        margin-right: 10px;
    }

.status-card {
    text-align: center;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
}

.queue-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

.queue-number {
    font-size: 5rem;
    font-weight: 900;
    margin: 20px 0;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

.queue-badge {
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
}

.clinic-name {
    font-size: 1.3rem;
    margin: 20px 0;
    font-weight: 700;
}

.refresh-btn {
    background: white;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

    .refresh-btn:hover {
        background: #007bff;
        color: white;
    }

.clinics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.clinic-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid #e0e0e0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

    .clinic-card:hover {
        transform: translateY(-10px);
        border-color: #007bff;
        box-shadow: 0 15px 30px rgba(0, 123, 255, 0.2);
    }

.clinic-icon {
    font-size: 50px;
    color: #007bff;
    margin-bottom: 15px;
}

.clinic-name {
    color: #333;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.clinic-desc {
    color: #666;
    font-size: 0.9rem;
}

.service-card {
    border-radius: 20px;
    padding: 30px;
    margin: 15px 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 3px solid transparent;
}

.clinic-service {
    border-color: #007bff;
}

.online-service {
    border-color: #28a745;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.clinic-service .service-icon {
    color: #007bff;
}

.online-service .service-icon {
    color: #28a745;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.service-desc {
    color: #666;
    font-size: 1rem;
}

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    position: relative;
}

.step {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ddd;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

    .step.active {
        background: #007bff;
        color: white;
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(0, 123, 255, 0.2);
    }

    .step.completed {
        background: #28a745;
        color: white;
    }

.step-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #ddd;
    transform: translateY(-50%);
    z-index: 1;
}

.step-line-fill {
    position: absolute;
    top: 50%;
    left: 25%;
    right: 25%;
    height: 4px;
    background: #28a745;
    transform: translateY(-50%);
    z-index: 1;
    transition: all 0.3s;
}

.back-link {
    display: inline-block;
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 10px;
    border: 2px solid #007bff;
    transition: all 0.3s;
}

    .back-link:hover {
        background: #007bff;
        color: white;
        text-decoration: none;
    }

.recorder-container {
    border: 2px dashed #007bff;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    background: #f8f9fa;
    text-align: center;
}

.record-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: #dc3545;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

    .record-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
    }

    .record-btn.recording {
        animation: pulse 1.5s infinite;
        background: #ff4444;
    }

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(255, 68, 68, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
    }
}

#timer {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 15px 0;
}

.file-preview {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

    .file-preview:hover {
        border-color: #007bff;
        box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
    }

    .file-preview i {
        font-size: 24px;
        margin-left: 10px;
    }

.text-success i {
    color: #28a745;
}

.text-danger i {
    color: #dc3545;
}

.text-warning i {
    color: #ffc107;
}

.visit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 2px solid #eee;
    transition: all 0.3s;
}

    .visit-item:hover {
        background: #f8f9fa;
        border-radius: 10px;
    }

.visit-date {
    font-weight: 600;
    color: #333;
}

.visit-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

    .visit-info .badge {
        font-size: 0.9rem;
        padding: 8px 15px;
        border-radius: 20px;
    }

/* تحسين الاستجابة */
@media (max-width: 768px) {
    .portal-title {
        font-size: 2rem;
    }

    .clinics-grid {
        grid-template-columns: 1fr;
    }

    .step {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .queue-number {
        font-size: 4rem;
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


:root {
    --primary-blue: #2563eb;
    --light-blue: #3b82f6;
    --sky-blue: #60a5fa;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #475569;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Tajawal', sans-serif;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: var(--text-dark);
    min-height: 100vh;
    direction: rtl;
}
/* إضافة هذه الأنماط لملف trac.css */

/* كروت الخدمات */
.service-card {
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 25px;
    margin: 10px 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

.clinic-service {
    border-color: #007bff;
}

.online-service {
    border-color: #28a745;
}

.clinic-service:hover {
    background: linear-gradient(135deg, #f8f9ff, #e3f2fd);
}

.online-service:hover {
    background: linear-gradient(135deg, #f0fff4, #e8f5e9);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.clinic-service .service-icon {
    color: #007bff;
}

.online-service .service-icon {
    color: #28a745;
}

.service-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.service-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* تحسين كروت العيادات */
.clinic-card {
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px;
    margin: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

    .clinic-card:hover {
        border-color: #007bff;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
    }

.clinic-desc {
    color: #666;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* عناصر التاريخ */
.visit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

    .visit-item:hover {
        background: #f8f9fa;
        border-radius: 8px;
    }

.visit-date {
    font-weight: 500;
    color: #333;
}

.visit-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

/* تصميم المودال باللغة العربية */
.modal-arabic .modal-header {
    direction: rtl;
    justify-content: space-between;
}

.modal-arabic .modal-footer {
    direction: rtl;
}

.modal-arabic .form-label {
    font-weight: 500;
    color: #444;
    margin-bottom: 8px;
    display: block;
}

/* تحسين أزرار التسجيل */
.record-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.4);
}

.record-btn:active {
    transform: scale(0.95);
}

/* معاينة الملفات */
.file-preview {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px 15px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #dee2e6;
    transition: all 0.3s;
}

    .file-preview:hover {
        background: #e9ecef;
        border-color: #adb5bd;
    }

/* تصميم الخطوات */
.step {
    position: relative;
    font-weight: bold;
    transition: all 0.3s;
}

    .step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -50px;
        width: 40px;
        height: 2px;
        background: #ddd;
        transform: translateY(-50%);
    }

    .step.completed:not(:last-child)::after {
        background: #28a745;
    }

/* تحسين الاستجابة */
@media (max-width: 768px) {
    .service-card {
        padding: 20px 15px;
    }

    .clinic-card {
        margin: 8px 5px;
        padding: 15px 10px;
    }

    .modal-dialog {
        margin: 10px;
    }

    .step:not(:last-child)::after {
        width: 30px;
        right: -40px;
    }
}
.option-card {
    background: white;
    border: 2px solid #eee;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .option-card:hover {
        border-color: var(--primary-blue);
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

.option-icon {
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.online-special {
    background: #f0fff4; /* لون أخضر خفيف */
}

    .online-special .option-icon {
        color: #28a745;
    }

/* Main Container */
.main-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px 15px;
    min-height: 100vh;
}

/* Header */
.portal-header {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
}

.logo-container {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(37, 99, 235, 0.1);
}

.logo-icon {
    font-size: 36px;
    color: var(--primary-blue);
}

.portal-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portal-subtitle {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

/* Status Card - حالة الحجز الحالي */
.status-card {
    background: var(--white);
    border-radius: 28px;
    padding: 0;
    margin-bottom: 25px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(37, 99, 235, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .status-card:hover {
        transform: translateY(-5px);
    }

.status-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .status-header::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
        background-size: 20px 20px;
        opacity: 0.2;
    }

.queue-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.queue-number {
    font-size: 100px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin: 10px 0;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    font-family: 'Segoe UI', sans-serif;
}

.queue-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

    .queue-badge i {
        font-size: 16px;
    }

.status-body {
    padding: 30px;
    text-align: center;
}

.clinic-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .clinic-name i {
        color: var(--primary-blue);
    }

.refresh-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

    .refresh-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(37, 99, 235, 0.3);
    }

/* Patient Form - نموذج المريض */
.form-card {
    background: var(--white);
    border-radius: 28px;
    padding: 35px 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.form-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

    .form-title i {
        color: var(--primary-blue);
        font-size: 22px;
    }

.input-group-custom {
    margin-bottom: 25px;
}

.input-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .input-label i {
        color: var(--primary-blue);
        font-size: 16px;
    }

.input-field {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid var(--medium-gray);
    border-radius: 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background: var(--white);
}

    .input-field:focus {
        outline: none;
        border-color: var(--primary-blue);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

    .input-field::placeholder {
        color: var(--text-light);
        opacity: 0.7;
    }

.next-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 17px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
    margin-top: 10px;
}

    .next-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(37, 99, 235, 0.3);
    }

/* Clinics Grid - شبكة العيادات */
.clinics-section {
    background: var(--white);
    border-radius: 28px;
    padding: 35px 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .section-title i {
        color: var(--primary-blue);
        font-size: 22px;
    }

.clinics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.clinic-card {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

    .clinic-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .clinic-card:hover {
        transform: translateY(-8px);
        background: var(--white);
        border-color: var(--medium-gray);
        box-shadow: var(--shadow-md);
    }

        .clinic-card:hover::before {
            opacity: 1;
        }

.clinic-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.clinic-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.clinic-specialty {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
    width: fit-content;
    margin: 0 auto;
}

    .back-link:hover {
        color: var(--primary-blue);
    }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Loading Animation */
.loading-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

    .loading-dots span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--primary-blue);
        animation: bounce 1.4s infinite ease-in-out both;
    }

        .loading-dots span:nth-child(1) {
            animation-delay: -0.32s;
        }

        .loading-dots span:nth-child(2) {
            animation-delay: -0.16s;
        }

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .main-container {
        padding: 15px 12px;
    }

    .queue-number {
        font-size: 85px;
    }

    .clinics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-card,
    .clinics-section,
    .status-card {
        padding: 25px 20px;
    }
}

@media (max-width: 350px) {
    .queue-number {
        font-size: 70px;
    }

    .clinic-card {
        padding: 20px 12px;
    }
}


