/* General form styling */
.patient-medical-history-form {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Form labels */
.patient-medical-history-form label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

/* Input fields */
.patient-medical-history-form input[type="text"],
.patient-medical-history-form input[type="email"],
.patient-medical-history-form input[type="tel"],
.patient-medical-history-form input[type="date"],
.patient-medical-history-form textarea,
.patient-medical-history-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background: #fff;
}

/* Select dropdown */
.patient-medical-history-form select {
    cursor: pointer;
}

/* Textarea field */
.patient-medical-history-form textarea {
    height: 100px;
    resize: vertical;
}

/* Required field indicator */
.patient-medical-history-form .required::after {
    content: " *";
    color: red;
}

/* Submit button */
.patient-medical-history-form button {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.patient-medical-history-form button:hover {
    background: #0056b3;
}

/* Responsive Design */
@media (max-width: 600px) {
    .patient-medical-history-form {
        padding: 15px;
    }

    .patient-medical-history-form input,
    .patient-medical-history-form textarea,
    .patient-medical-history-form select {
        font-size: 14px;
    }
}
