/* Clean Telehealth Modal - Medical System Design */

/* Modal Container */
.telehealth-modal {
    max-width: 480px;
}

.telehealth-modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

/* Header Styles */
.telehealth-header {
    background: linear-gradient(135deg, #f8f9fc 0%, #eef2ff 100%);
    border-bottom: 1px solid #e3e6f0;
    padding: 24px;
    position: relative;
}

.telehealth-header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.telehealth-icon {
    width: 48px;
    height: 48px;
    background: #4e73df;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.telehealth-title h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #2d3436;
}

.telehealth-subtitle {
    margin: 4px 0 0 0;
    font-size: 14px;
    color: #6c757d;
    font-weight: 400;
}

.telehealth-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #858796;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.telehealth-close:hover {
    background: #f1f1f4;
    color: #5a5c69;
}

/* Body Styles */
.telehealth-body {
    padding: 24px;
    background: white;
}

/* Section Styles */
.telehealth-section {
    margin-bottom: 24px;
}

.telehealth-section:last-child {
    margin-bottom: 0;
}

.telehealth-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #5a5c69;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.telehealth-section-header i {
    font-size: 18px;
    color: #4e73df;
}

/* Actions Container */
.telehealth-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Button Styles */
.telehealth-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    justify-content: center;
    min-height: 44px;
}

.telehealth-btn i {
    font-size: 18px;
}

/* Primary Button */
.telehealth-btn-primary {
    background: #4e73df;
    color: white;
    border-color: #4e73df;
}

.telehealth-btn-primary:hover {
    background: #2e59d9;
    border-color: #2e59d9;
    color: white;
    text-decoration: none;
}

/* Secondary Button */
.telehealth-btn-secondary {
    background: #858796;
    color: white;
    border-color: #858796;
}

.telehealth-btn-secondary:hover {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
}

/* Outline Button */
.telehealth-btn-outline {
    background: white;
    color: #5a5c69;
    border-color: #d1d3e2;
}

.telehealth-btn-outline:hover {
    background: #f8f9fc;
    border-color: #c3c6d4;
    color: #5a5c69;
}

/* WhatsApp Button */
.telehealth-btn-whatsapp {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

.telehealth-btn-whatsapp:hover {
    background: #1ebe57;
    border-color: #1ebe57;
    color: white;
}

/* Email Button */
.telehealth-btn-email {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

.telehealth-btn-email:hover {
    background: #5a6169;
    border-color: #5a6169;
    color: white;
}

/* Warning Section */
.telehealth-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.telehealth-warning-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.telehealth-warning-content i {
    color: #856404;
    font-size: 24px;
    margin-top: 2px;
}

.telehealth-warning-content h5 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #856404;
}

.telehealth-warning-content p {
    margin: 0;
    font-size: 14px;
    color: #856404;
    line-height: 1.4;
}

/* Link Section */
.telehealth-link-section {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fc;
    border-radius: 8px;
    border: 1px solid #e3e6f0;
}

.telehealth-link-container {
    margin-bottom: 16px;
}

.telehealth-label {
    font-size: 12px;
    font-weight: 600;
    color: #5a5c69;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.telehealth-link-input {
    display: flex;
    gap: 8px;
}

.telehealth-link-input .form-control {
    flex: 1;
    font-size: 13px;
    padding: 8px 12px;
    border: 1px solid #d1d3e2;
    border-radius: 6px;
    background: white;
}

.telehealth-copy-btn {
    background: #4e73df;
    color: white;
    border: 1px solid #4e73df;
    border-radius: 6px;
    padding: 8px 12px;
    transition: all 0.2s ease;
}

.telehealth-copy-btn:hover {
    background: #2e59d9;
    border-color: #2e59d9;
    color: white;
}

.telehealth-copy-btn i {
    font-size: 16px;
}

/* Share Actions */
.telehealth-share-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.telehealth-share-actions .telehealth-btn {
    flex: 1;
    min-width: 120px;
    font-size: 13px;
    padding: 8px 12px;
    min-height: 36px;
}

/* Footer */
.telehealth-footer {
    background: #f8f9fc;
    border-top: 1px solid #e3e6f0;
    padding: 16px 24px;
    text-align: center;
}

/* Notification Styles */
.telehealth-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: slideInRight 0.3s ease-out;
}

.telehealth-notification-success {
    background: #28a745;
}

.telehealth-notification-error {
    background: #dc3545;
}

.telehealth-notification-info {
    background: #17a2b8;
}

.telehealth-notification-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.telehealth-notification-content i {
    font-size: 18px;
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Loading State */
.telehealth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.telehealth-btn:disabled:hover {
    transform: none;
}

/* Responsive Design */
@media (max-width: 576px) {
    .telehealth-modal {
        margin: 10px;
        max-width: none;
    }
    
    .telehealth-header {
        padding: 20px;
    }
    
    .telehealth-body {
        padding: 20px;
    }
    
    .telehealth-footer {
        padding: 16px 20px;
    }
    
    .telehealth-share-actions {
        flex-direction: column;
    }
    
    .telehealth-share-actions .telehealth-btn {
        flex: none;
        min-width: auto;
    }
}