/* Contact Form Styles */

/* Phone number with country code styling */
.phone-group {
    margin-bottom: 15px;
}

.phone-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.phone-input-container {
    display: flex;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.country-code-dropdown {
    position: relative;
    min-width: 120px;
    border-right: 1px solid #ddd;
}

#country-code {
    width: 100%;
    height: 48px;
    padding: 0 10px;
    border: none;
    background-color: #f9f9f9;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.country-code-dropdown::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #555;
    pointer-events: none;
}

.phone-number-input {
    flex-grow: 1;
}

.phone-number-input input {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: none;
    outline: none;
}

/* Error styling */
.form-control.error-field {
    border: 1px solid #ff3b30 !important;
}

.error-message {
    color: #ff3b30;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    font-weight: 400;
}

/* Required field indication */
label.required::after {
    content: ' *';
    color: #ff3b30;
}

/* Error icon */
.error-icon {
    color: #ff3b30;
    margin-right: 5px;
    display: inline-block;
}

/* Form focus state */
.form-control:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.25);
}
