/* ================================================
   DOCTOR QUEUE DASHBOARD - STUNNING PROFESSIONAL UI
   ================================================ */

/* Container */
.doctor-queue-container {
    min-height: 100vh;
    background: linear-gradient(135deg,
            #0f172a 0%,
            #1e293b 50%,
            #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Animated Background Particles */
.doctor-queue-container::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    right: -250px;
    animation: float 20s ease-in-out infinite;
}

.doctor-queue-container::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
    animation: float 15s ease-in-out infinite reverse;
}

/* Main Card */
.queue-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s ease-out;
}

/* Header */
.queue-header {
    text-align: center;
    margin-bottom: 2rem;
}

.header-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    animation: float 3s ease-in-out infinite;
}

.queue-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.queue-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(16, 185, 129, 0.12);
    border: 2px solid rgba(16, 185, 129, 0.35);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin: 0 auto 2rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    color: #6ee7b7;
    animation: glow 2s ease-in-out infinite;
}

.status-pulse {
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Patient Info */
.patient-info-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.patient-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.patient-details {
    flex: 1;
}

.patient-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.patient-email {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Appointment Grid */
.appointment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.info-card .icon {
    font-size: 1.5rem;
    color: #10b981;
}

.info-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

/* Notes Section */
.notes-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.notes-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notes-title i {
    color: #10b981;
}

.notes-grid {
    display: grid;
    gap: 1rem;
}

.note-item {
    display: flex;
    gap: 0.75rem;
}

.note-item.full-width {
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 0.5rem;
}

.note-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    min-width: 120px;
}

.note-value {
    font-size: 0.95rem;
    color: white;
    flex: 1;
}

/* Action Section */
.action-section {
    text-align: center;
}

.start-consultation-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1.25rem 3rem;
    border-radius: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.start-consultation-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.start-consultation-btn:hover::before {
    width: 300px;
    height: 300px;
}

.start-consultation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.6);
}

.start-consultation-btn:active {
    transform: translateY(-1px);
}

.start-consultation-btn i {
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.start-consultation-btn span {
    position: relative;
    z-index: 1;
}

.action-hint {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ================================================
   ANIMATIONS
   ================================================ */

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
    }

    50% {
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.45),
            0 0 50px rgba(16, 185, 129, 0.2);
    }
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 768px) {
    .queue-card {
        padding: 2rem 1.5rem;
    }

    .queue-title {
        font-size: 1.5rem;
    }

    .patient-info-section {
        flex-direction: column;
        text-align: center;
    }

    .appointment-grid {
        grid-template-columns: 1fr;
    }

    .start-consultation-btn {
        width: 100%;
        justify-content: center;
    }
}