#uploadPrescriptionModal .modal-dialog {
    max-width: 377px;
    height: 90vh;
}

#uploadPrescriptionModal .modal-content {
    border-radius: 20px;
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

#uploadPrescriptionModal .modal-header {
    flex-shrink: 0;
}

#uploadPrescriptionModal .modal-body {
    flex: 1;
    overflow-y: auto;
}

.prescription-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.prescription-icon {
    width: 24px;
    height: 24px;
}

.prescription-title h2 {
    color: #0b2baa;
    font-weight: 700;
    font-size: 16px;
    margin: 0;
}

.prescription-description {
    color: #666;
    font-size: 10px;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    margin-bottom: 15px;
}

.prescription-form .form-control {
    border: 2px solid #e8f0fe;
    border-radius: 6px;
    padding: 10px;
    font-size: 12px;
    margin-bottom: 10px;
}

.prescription-form .form-control:focus {
    border-color: #0b2baa;
    box-shadow: 0 0 0 0.2rem rgba(35, 58, 149, 0.25);
}

.prescription-form .form-label {
    color: #333;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 5px;
}

.upload-area {
    border: 2px dashed #e8f0fe;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.upload-area:hover {
    border-color: #0b2baa !important;
    background: #f0f4ff !important;
}

.upload-area .upload-icon {
    margin-bottom: 8px;
}

.upload-area h6 {
    color: #333;
    font-weight: 600;
    margin-bottom: 3px;
    font-size: 10px;
}

.upload-area p {
    color: #666;
    margin: 0;
    font-size: 8px;
}

.prescription-form input[type="file"] {
    display: none;
}

.btn-submit-prescription {
    background: #0b2baa;
    color: white;
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    width: 100%;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
}

.btn-submit-prescription:hover {
    background: #1d4ed8;
    color: white;
}

.or-separator {
    text-align: center;
    margin: 10px 0;
}

.or-separator h6 {
    color: #666;
    font-weight: 600;
    font-size: 12px;
    margin: 0;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
    background: #22c55e;
    color: white;
    text-decoration: none;
}

.btn-whatsapp i {
    font-size: 14px;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 576px) {
    #uploadPrescriptionModal .modal-dialog {
        max-width: 90vw;
        height: 85vh;
        margin: auto;
    }

    .prescription-title h2 {
        font-size: 14px;
    }

    .prescription-description {
        font-size: 9px;
    }

    .upload-area {
        padding: 15px;
    }
}