/* Hospital Page Appointment Styles */
.appointment-float-btn {
    position: fixed !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px !important;
    border-radius: 50px !important;
    cursor: pointer;
    z-index: 9999;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
    font-size: 14px;
    white-space: nowrap;
    height: auto !important;
    line-height: 1.4 !important;
    display: inline-block !important;
    min-height: 0 !important;
    overflow: visible !important;
}
.appointment-float-btn:hover {
    background-color: #45a049;
}
.appointment-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
.appointment-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 35px;
    border: 1px solid #e0e0e0;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
#modalTitle {
    margin: 0 0 20px 0;
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .appointment-modal-content {
        width: 70%;
        min-width: 800px;
        max-width: 1300px;
    }
}
.appointment-modal-close {
    color: #aaa;
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}
.appointment-modal-close:hover,
.appointment-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.appointment-modal-body {
    padding: 20px 0 10px;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.form-group textarea {
    height: 100px;
}
.submit-btn {
    padding: 8px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
.submit-container {
    text-align: center;
    margin-top: 20px;
}
.submit-btn:hover {
    background-color: #45a049;
}
.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}
.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.file-upload-area {
    border: 2px dashed #ddd;
    border-radius: 4px;
    padding: 20px;
    margin: 10px 0;
    text-align: center;
    cursor: pointer;
    background-color: #f9f9f9;
}
.file-upload-area:hover {
    border-color: #4CAF50;
    background-color: #f0f8f0;
}
.file-upload-area.dragover {
    border-color: #4CAF50;
    background-color: #e8f5e8;
}
.file-list {
    margin-top: 15px;
}
.file-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
}
.file-item .file-name {
    flex: 1;
    margin-left: 10px;
}
.file-item .file-size {
    margin-right: 10px;
    font-size: 12px;
    color: #666;
}
.file-item .file-remove {
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
}
.file-item .file-remove:hover {
    background-color: #d32f2f;
}
.file-upload-error {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}
.form-group.checkbox-group {
    display: block !important;
    text-align: left !important;
}
.form-group.checkbox-group label {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    font-weight: normal !important;
    margin-bottom: 0 !important;
    width: 100% !important;
}
.form-group.checkbox-group input[type="checkbox"] {
    width: auto !important;
    margin-top: 3px !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
}
.form-group.checkbox-group label span {
    text-align: left !important;
    flex: 1 !important;
}
.hospital-appointment-consent {
    display: block !important;
    text-align: left !important;
    margin-bottom: 15px !important;
}
.hospital-appointment-consent label {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    font-weight: normal !important;
    margin-bottom: 0 !important;
    width: 100% !important;
}
.hospital-appointment-consent label input[type="checkbox"] {
    width: auto !important;
    margin-top: 3px !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
}
.hospital-appointment-consent label span {
    text-align: left !important;
    flex: 1 !important;
}
.hospital-info {
    background-color: #e3f2fd;
    border: 2px solid #90caf9;
    padding: 18px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.hospital-info div {
    margin-bottom: 8px;
    font-size: 15px;
    color: #1565c0;
    font-weight: 500;
}
.hospital-info div:first-child {
    font-size: 16px;
    font-weight: 600;
    color: #0d47a1;
}
.hospital-info div:last-child {
    margin-bottom: 0;
}

/* Hospital Page General Styles */
.hospital-page-title {
    color: #1a73e8;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}
.hospital-disclaimer {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    color: #856404;
    font-size: 14px;
    line-height: 1.6;
}
.hospital-info-box {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    border-top: 4px solid #1a73e8;
}
