/* General Styles - similar to reset-password.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@font-face {
    font-family: AdobeBlank;
    src: url(https://rawgit.com/cben/iosfonts/blank-fallback/css/type/AdobeBlank.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}
.font-georgia {
    font-family: Georgia, AdobeBlank, serif;
}
.font-roboto {
    font-family: 'Roboto', sans-serif;
}

/* Form Wrapper & Container */
.ylc-contact-form-wrapper .contact-form-column {
    margin: 40px 0;
}

.ylc-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Increased gap slightly for contact form */
    margin: 0 auto;
    width: 100%;
    max-width: 500px; /* Adjust as needed */
}

.ylc-contact-form h2.title {
    font-size: 24px;
    line-height: 1.5;
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 0;
    margin-bottom: 0;
    color: #2C2C2C;
}

/* Form Groups and Labels */
.ylc-contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.ylc-contact-form .form-group label {
    font-weight: 500; /* Slightly bolder labels */
    color: #2C2C2C;
    font-size: 15px;
    line-height: 1.4; /* Adjusted line height */
    font-family: 'Roboto', sans-serif;
    margin-bottom: 8px;
}

/* Input Fields and Textarea */
.ylc-contact-form .form-group input[type="text"],
.ylc-contact-form .form-group input[type="email"],
.ylc-contact-form .form-group textarea {
    margin-top: 0; /* Removed top margin as label has bottom margin */
    margin-bottom: 0;
    width: 100%;
    display: block;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    background: #F9FAFA;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.5; /* Adjusted for better readability */
    font-size: 16px;
    box-sizing: border-box;
    padding: 12px 16px; /* Adjusted padding */
}

.ylc-contact-form .form-group textarea {
    min-height: 120px; /* Default height for textarea */
    resize: vertical;
}

.ylc-contact-form .form-group.has-error input[type="text"],
.ylc-contact-form .form-group.has-error input[type="email"],
.ylc-contact-form .form-group.has-error textarea {
    border-color: #EF1B33;
}

.ylc-contact-form .form-group input::placeholder,
.ylc-contact-form .form-group textarea::placeholder {
    color: #BCBCBC;
}

/* Submit Button */
.ylc-contact-form .form-group .contact-submit-button {
    background: #EF1B33; /* Pink color from image */
    padding: 14px 0;
    text-align: center;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1.2; /* Adjusted */
    border: 0;
    width: 100%;
    border-radius: 43px; /* Rounded button */
    margin-top: 10px; /* Adjusted margin */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ylc-contact-form .form-group .contact-submit-button:hover {
    background: #c5182b; /* Darker shade on hover */
}

/* Error and Success Messages */
.ylc-contact-form .error-messages {
    margin-top: 6px;
}
.ylc-contact-form .error-messages .error,
.ylc-contact-form .general-errors .error {
    color: #EF1B33;
    font-family: 'Roboto', sans-serif;
    font-size: 13px; /* Slightly larger error text */
    margin: 0;
    line-height: 1.3;
}
.ylc-contact-form .general-errors {
    background-color: #ffebee; /* Light pink background for general errors */
    border: 1px solid #EF1B33;
    border-radius: 6px;
    padding: 10px 15px;
    margin-bottom: 10px; /* Space below general errors */
}
.ylc-contact-form .general-errors .error {
    color: #c5182b; /* Darker red for text on light pink background */
}


.ylc-contact-form .success-message {
    background-color: #e8f5e9; /* Light green background */
    border: 1px solid #4CAF50; /* Green border */
    color: #2e7d32; /* Dark green text */
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

/* Responsive Adjustments (optional, based on reset-password.css) */
@media (max-width: 768px) {
    .ylc-contact-form {
        /* Add any specific responsive adjustments if needed */
    }
}