/* 
 * InternalMed Contact Us Plugin Styles 
 * Theme: Minimalist, Pastel Blue (#89CDE9) and Light Green (#B3DBD8), White background
 */

.internalmed-contact-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow for minimal look */
    /* font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;*/

    color: #333333;
    border: 1px solid rgba(137, 205, 233, 0.2);
    /* very subtle pastel blue border */
}

.internalmed-contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.internalmed-contact-form .form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.internalmed-contact-form .form-group.half-width {
    width: calc(50% - 10px);
}

@media (max-width: 600px) {
    .internalmed-contact-form .form-group.half-width {
        width: 100%;
    }

    .internalmed-contact-container {
        padding: 24px;
    }
}

.internalmed-contact-form label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #4a5568;
    text-align: left;
    align-self: flex-start;
    width: 100%;
}

.internalmed-contact-form .required {
    color: #e53e3e;
    /* Red for required */
}

.internalmed-contact-form input[type="text"],
.internalmed-contact-form input[type="tel"],
.internalmed-contact-form input[type="email"],
.internalmed-contact-form select,
.internalmed-contact-form textarea,
.internalmed-contact-form input[type="file"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    background-color: #fcfcfc;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Select arrow spacing */
.internalmed-contact-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
    cursor: pointer;
}

/* Using pastel tones for focus states */
.internalmed-contact-form input:focus,
.internalmed-contact-form select:focus,
.internalmed-contact-form textarea:focus {
    outline: none;
    border-color: #89CDE9;
    /* Pastel Blue */
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(137, 205, 233, 0.2);
}

/* File input styling */
.internalmed-contact-form input[type="file"] {
    padding: 10px;
    background: #f8fafc;
    border: 1px dashed #B3DBD8;
    /* Light Green dashed border for file upload */
    cursor: pointer;
}

.internalmed-contact-form .file-help {
    font-size: 12px;
    color: #718096;
    margin-top: 6px;
}

/* Submit Button */
.internalmed-contact-form .form-actions {
    width: 100%;
    margin-top: 10px;
}

.internalmed-contact-form .submit-btn {
    background-color: #89CDE9;
    /* Pastel Blue */
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    box-shadow: 0 4px 6px rgba(137, 205, 233, 0.2);
}

.internalmed-contact-form .submit-btn:hover {
    background-color: #7ab8d2;
    /* Slightly darker pastel blue */
    transform: translateY(-1px);
    box-shadow: 0 6px 10px rgba(137, 205, 233, 0.3);
}

.internalmed-contact-form .submit-btn:active {
    transform: translateY(1px);
}

/* Alerts */
.internalmed-alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-weight: 500;
}

.internalmed-alert-success {
    background-color: #e6fffa;
    color: #234e52;
    border: 1px solid #B3DBD8;
    /* Light Green */
}

.internalmed-alert-error {
    background-color: #fff5f5;
    color: #c53030;
    border: 1px solid #feb2b2;
}