/* 
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 */
/* Container styling */
.guest-search-container {
    max-width: 500px;
    margin: 40px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Input & Button styling */
#guest-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

#combined-search {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

#combined-search:focus {
    border-color: #816a5a; /* Focus color */
    outline: none;
}

#guest-search-form button {
    padding: 12px 25px;
    background-color: #816a5a; /* Primary Color */
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

#guest-search-form button:hover {
    background-color: #2e261f; /* Darker Hover */
}

/* Result Item Card */
.guest-result-item {
    background: #ffffff;
    padding: 20px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-radius: 12px;
}

.guest-result-item p {
    margin: 8px 0;
    color: #2d3436;
    font-size: 16px;
}

.guest-result-item strong {
    color: #816a5a; /* Label Color */
}

/* Link Styling */
.view-post-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #f5f3f1; /* Light background for button */
    color: #816a5a;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
}

.view-post-link:hover {
    background-color: #816a5a; /* Hover Background */
    color: #ffffff; /* Text color change */
}





/* Container aur Cards */
.rsvp-container {
    max-width: 700px;
    margin: 40px auto;
    font-family: sans-serif;
}

.guest-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Header (Party name + Guest name) */
.guest-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fdfdfd;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.guest-name {
    font-size: 18px;
    font-weight: 600;
    color: #816a5a; /* Theme color */
}

/* Toggle Button (Brown Color) */
.btn-toggle {
    background-color: #816a5a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-toggle:hover {
    background-color: #5a4d40;
}

/* Form Styling */
.rsvp-form {
    padding: 30px;
    background: #fafafa;
    border-top: 1px solid #eee;
}

.rsvp-form label {
    display: block;
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.rsvp-form select, 
.rsvp-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

/* Submit Button */
.btn-submit {
    margin-top: 30px;
    background-color: #816a5a;
    color: white;
    border: none;
    padding: 14px 30px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
}

/* Spacing and Dividers */
.rsvp-form h4 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: #816a5a;
    border-bottom: 2px solid #816a5a;
    padding-bottom: 5px;
}
[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover{
    background-color: #816a5a;
}
hr {
    margin: 25px 0;
    border: 0;
    border-top: 1px solid #eee;
}