/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Bohemian Rustic RSVP Form Styles */
.wedding-rsvp-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: 'Playfair Display', serif;
    color: #5a4a41;
}

.wedding-rsvp-form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #5a4a41;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.wedding-rsvp-form-container h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: #d4af37;
    border-radius: 0;
}

.wedding-rsvp-form {
    background-color: #f9f7f4;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e6d9c0;
    position: relative;
}

.wedding-rsvp-form:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px dashed #d4af37;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0.5;
}

.wedding-rsvp-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #5a4a41;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    font-family: 'Playfair Display', serif;
}

.form-group .required {
    color: #c17a41;
    font-size: 1.2em;
    line-height: 0;
    position: relative;
    top: 3px;
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e6d9c0;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fff;
    color: #5a4a41;
    font-family: 'Playfair Display', serif;
}

.form-control:focus {
    border-color: #d4af37;
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background-color: #fff;
}

.form-control::placeholder {
    color: #a89b8c;
    opacity: 0.8;
}

.description {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #8a7a6d;
    font-style: italic;
}

.radio-group {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 15px;
    border-radius: 6px;
    transition: all 0.2s ease;
    background-color: #fff;
    border: 1px solid #e6d9c0;
}

.radio-label:hover {
    background-color: #f5f1e8;
    border-color: #d4af37;
}

.radio-label input[type="radio"] {
    margin-right: 12px;
    accent-color: #d4af37;
    width: 18px;
    height: 18px;
}

.submit-button {
    background: linear-gradient(to right, #e6be8a, #d4af37);
    color: white;
    border: none;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
}

.submit-button:hover {
    background: linear-gradient(to right, #d4af37, #c9a431);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.submit-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.submit-button:disabled {
    background: linear-gradient(to right, #d8d0b8, #c5b99e);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    opacity: 0.7;
}

.wedding-rsvp-response {
    margin-top: 25px;
    padding: 18px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    transform: translateY(0);
    transition: all 0.3s ease;
    opacity: 0.95;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.5s ease forwards;
    font-family: 'Playfair Display', serif;
}

.wedding-rsvp-response.success {
    background-color: #f0f7e6;
    color: #5a7052;
    border: 1px solid #d8e6c3;
}

.wedding-rsvp-response.error {
    background-color: #f7e6e6;
    color: #705252;
    border: 1px solid #e6c3c3;
}

/* jQuery UI Autocomplete Styles */
.ui-autocomplete {
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 9999 !important;
    background-color: #fff;
    border: 1px solid #e6d9c0;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    scrollbar-width: thin;
    scrollbar-color: #d4af37 #f5f1e8;
    font-family: 'Playfair Display', serif;
}

.ui-autocomplete::-webkit-scrollbar {
    width: 8px;
}

.ui-autocomplete::-webkit-scrollbar-track {
    background: #f5f1e8;
    border-radius: 10px;
}

.ui-autocomplete::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 10px;
}

.ui-autocomplete .ui-menu-item {
    padding: 12px 18px;
    cursor: pointer;
    font-size: 15px;
    border-bottom: 1px solid #f5f1e8;
    transition: all 0.2s ease;
    color: #5a4a41;
}

.ui-autocomplete .ui-menu-item:last-child {
    border-bottom: none;
}

.ui-autocomplete .ui-menu-item:hover,
.ui-autocomplete .ui-state-focus {
    background-color: #f5f1e8;
    color: #d4af37;
}

/* Error message styling */
.error-message {
    color: #c17a41;
    font-size: 0.9rem;
    margin-top: 8px;
    padding-left: 2px;
    font-weight: 500;
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
}
