/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 
.wedding-rsvp-form {
    max-width: 500px;
    margin: 20px auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 0;
}

.invite-code-section {
    max-width: 400px;
    margin: 20px auto;
    padding: 30px;
    border-radius: 0;
    text-align: center;
}

.invite-code-section h3 {
    color: #333;
    margin-bottom: 10px;
}

.invite-code-form p {
    margin-bottom: 20px;
}

.rsvp-welcome {
    max-width: 500px;
    margin: 20px auto 0;
    padding: 20px;
    border-radius: 0;
    text-align: center;
}

.rsvp-welcome h3 {
    margin: 0 0 10px 0;
}

.rsvp-welcome h3 +p {
    font-size: 1.4em;
}

.wedding-rsvp-form p {
    margin-bottom: 20px;
}

.wedding-rsvp-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.wedding-rsvp-form input,
.wedding-rsvp-form select,
.wedding-rsvp-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 0;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.wedding-rsvp-form input:focus,
.wedding-rsvp-form select:focus,
.wedding-rsvp-form textarea:focus,
.invite-code-form input:focus {
    border-color: #007acc;
    outline: none;
}

.wedding-rsvp-form input[type="number"] {
    width: 100px;
}

.invite-code-form input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 0;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    text-align: center;
}

.rsvp-submit-btn {
    /*
    background: #007acc !important;
    color: white !important;
    padding: 12px 30px !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    width: auto !important;
    */
}

.rsvp-submit-btn:hover {
    background: #005a99 !important;
}

.rsvp-success-message {
    background: #d4edda !important;
    color: #155724 !important;
    padding: 15px !important;
    border: 1px solid #c3e6cb !important;
    border-radius: 4px !important;
    margin-bottom: 20px !important;
    font-size: 16px !important;
}

.rsvp-error-message {
    background: #f8d7da !important;
    color: #721c24 !important;
    padding: 15px !important;
    border: 1px solid #f5c6cb !important;
    border-radius: 4px !important;
    margin-bottom: 20px !important;
    font-size: 16px !important;
}

.wedding-rsvp-form small {
    color: #666;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

.rsvp-already-submitted {
    max-width: 500px;
    margin: 20px auto;
}

.existing-rsvp-details {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.existing-rsvp-details h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.rsvp-detail-item {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.rsvp-detail-item:last-child {
    border-bottom: none;
}

.rsvp-change-note {
    background: #e7f3ff;
    border: 1px solid #bee5eb;
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

.rsvp-change-note p {
    margin: 0;
    color: #0c5460;
}

/* Kids Section Styles */
#kids-section {
    margin-top: 30px;
    padding: 20px;
    margin-bottom: 1em;
}

#kids-section h3 {
    margin-top: 0;
    text-align: center;
}

#kids-section p {
    text-align: center;
    margin-bottom: 20px;
}

#kids-details {
    margin-top: 20px;
}

.kid-info {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
}

.kid-info h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: bold;
}

.kid-info input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.kid-info label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;      
    color: #333;
    font-size: 14px;
}

.kid-info select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: white;
}

.wedding-site-protection {
        min-height: 60vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
    }
    
    .invite-entry-container {
        max-width: 500px;
        width: 100%;
        background: #ffffff;
        padding: 40px;
        border-radius: 12px;
        text-align: center;
    }
    
    .invite-entry-container h2 {
        color: #333;
        margin-bottom: 15px;
        font-size: 28px;
    }
    
    .invite-entry-container p {
        color: #666;
        margin-bottom: 25px;
        line-height: 1.6;
    }
    
    .invite-error-message {
        background: #f8d7da;
        color: #721c24;
        padding: 15px;
        border: 1px solid #f5c6cb;
        border-radius: 6px;
        margin-bottom: 20px;
    }
    
    .invite-input-group {
        margin-bottom: 25px;
    }
    
    .invite-input-group label {
        display: block;
        font-weight: bold;
        margin-bottom: 8px;
        color: #333;
    }
    
    .invite-input-group input {
        width: 100%;
        padding: 15px;
        border: 2px solid #ddd;
        border-radius: 8px;
        font-size: 18px;
        text-align: center;
        font-weight: bold;
        transition: border-color 0.3s ease;
    }
    
    .invite-input-group input:focus {
        border-color: #007acc;
        outline: none;
    }
    
    .invite-submit-btn {
        background: #007acc;
        color: white;
        padding: 15px 40px;
        border: none;
        border-radius: 8px;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.3s ease;
        width: 100%;
    }
    
    .invite-submit-btn:hover {
        background: #005a99;
    }
    
    .invitation-info {
        margin-top: 25px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }
    
    .invitation-info small {
        color: #888;
    }