/* Hospital Contact Modal Styles - Version 1.2.8 */

.hospital-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.hospital-modal-overlay.active {
    display: flex;
}

.hospital-modal {
    background: linear-gradient(135deg, #2c5f8d 0%, #1e4a6b 100%);
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
    color: #ffffff;
}

.hospital-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.hospital-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.hospital-modal-header {
    margin-bottom: 30px;
    text-align: center;
}

.hospital-modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.hospital-modal-header p {
    font-size: 16px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.hospital-modal-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.hospital-contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.hospital-contact-item:last-child {
    margin-bottom: 0;
}

.hospital-contact-icon {
    font-size: 24px;
    color: #ffd700;
    min-width: 30px;
    text-align: center;
}

.hospital-contact-details {
    flex: 1;
}

.hospital-contact-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hospital-contact-value {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.hospital-contact-value a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hospital-contact-value a:hover {
    color: #ffd700;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hospital-modal {
        padding: 30px 20px;
        max-width: 95%;
    }

    .hospital-modal-header h2 {
        font-size: 24px;
    }

    .hospital-contact-value {
        font-size: 18px;
    }
}

