.emergency-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.emergency-popup-modal {
    background: white;
    width: 500px;
    max-width: 90%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: scale(0.8) translateY(-50px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.emergency-popup-header {
    background: #dc3545;
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.emergency-popup-body {
    padding: 30px;
    text-align: center;
}

.alert-icon {
    font-size: 60px;
    color: #dc3545;
    margin-bottom: 20px;
}

.popup-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.patient-name {
    font-size: 18px;
    color: #666;
    margin-bottom: 5px;
    font-weight: bold;
}

.patient-address {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}

.patient-phone {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
    font-weight: bold;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.action-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 120px;
}

.btn-accept {
    background: #dc3545;
    color: white;
}

.btn-accept:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.btn-decline {
    background: #6c757d;
    color: white;
}

.btn-decline:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.countdown {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
}