/* ============================================
   ANTRIAN FARMASI STYLES
   ============================================ */

/* Main Container */
.main-container {
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 0;
}

.breadcrumbs .back-arrow {
    margin-right: 10px;
    font-size: 20px;
}

.breadcrumbs .back-arrow a {
    color: #0cb299;
    text-decoration: none;
}

.breadcrumbs .title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

/* Refresh Button */
.refresh-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.refresh-btn:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
    transform: translateY(-2px);
}

.refresh-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.3);
}

.refresh-btn i {
    font-size: 18px;
}

/* Card Wrapper */
.card-wrapper {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

/* Antrian Grid */
.antrian-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Antrian Box */
.antrian-box {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.antrian-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.antrian-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.antrian-box.racik::before {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.antrian-box.non-racik::before {
    background: linear-gradient(90deg, #2ecc71, #27ae60);
}

.antrian-box h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: 600;
}

/* Antrian Label */
.antrian-label {
    color: #34495e;
    margin-top: 5px;
    font-size: 0.9em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Antrian Number */
.antrian-number {
    font-size: 6rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.antrian-number.racik {
    color: #e74c3c;
}

.antrian-number.non-racik {
    color: #2ecc71;
}

/* Antrian Name */
.antrian-name {
    font-size: 1.1em;
    color: #34495e;
    margin-top: 10px;
    font-weight: 500;
}

/* No Antrian */
.no-antrian {
    font-size: 1.1em;
    color: #95a5a6;
    padding: 30px 20px;
    font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-container {
        padding: 10px;
    }

    .antrian-grid {
        flex-direction: column;
        gap: 10px;
    }

    .antrian-box {
        padding: 15px;
        min-width: unset;
    }

    .antrian-box h3 {
        font-size: 1.1em;
        margin-bottom: 10px;
    }

    .antrian-label {
        font-size: 0.75em;
    }

    .antrian-number {
        font-size: 3rem;
    }

    .antrian-spinner i {
        font-size: 3rem;
    }

    .antrian-name {
        font-size: 0.9em;
    }

    .no-antrian {
        font-size: 0.9em;
        padding: 20px 10px;
    }

    .card-wrapper {
        padding: 15px;
    }

    .card-title {
        font-size: 1.2em;
    }

    .breadcrumbs .title {
        font-size: 16px;
    }

    .refresh-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ============================================
   ANTRIAN FARMASI POPUP STYLES (from Home)
   ============================================ */

/* Antrian Container Styles */
.antrian-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.antrian-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.antrian-content-wrapper-single {
    display: flex;
    align-items: center;
    justify-content: center;
}

.antrian-spinner {
    text-align: center;
    padding: 20px;
    color: #999;
}

.antrian-spinner i {
    font-size: 6rem;
}

/* Refresh Antrian Button */
.refresh-antrian-btn-container {
    text-align: center;
}

.refresh-antrian-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.refresh-antrian-btn:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
    transform: translateY(-2px);
}

.refresh-antrian-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.3);
}

/* Error state for no-antrian */
.no-antrian.error {
    color: #dc3545;
}

/* My Ticket Card */
.my-ticket-card {
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.my-ticket-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f39c12, #e67e22);
}

.my-ticket-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4em;
    font-weight: 600;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 600;
    margin: 8px 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-menunggu {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
}

.status-dipanggil {
    background: linear-gradient(135deg, #d4edda, #55efc4);
    color: #155724;
}

/* Tunggu Info */
.tunggu-info {
    margin: 20px 0;
    font-size: 1.1em;
    color: #2c3e50;
    padding: 15px;
    background: rgba(0,0,0,0.03);
    border-radius: 8px;
}

/* No Ticket Message */
.no-ticket-message {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 20px;
}

.no-ticket-message i {
    font-size: 3.5em;
    color: #95a5a6;
    margin-bottom: 20px;
    display: block;
}

.no-ticket-message p {
    font-size: 1.15em;
    color: #7f8c8d;
}

/* Override antrian-number for my-ticket */
.antrian-number.my-ticket {
    color: #f39c12;
}

