/**
 * Blitta RSVP Frontend Styles
 */

.blitta-rsvp {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.blitta-rsvp-msg {
    padding: 12px;
    margin: 15px 0;
    border-left: 4px solid;
    background: #fff;
    border-radius: 4px;
}

.blitta-rsvp-msg.blitta-rsvp-ok {
    border-color: #00a32a;
    background: #f0f6f1;
}

.blitta-rsvp-msg.blitta-rsvp-error {
    border-color: #d63638;
    background: #fcf0f1;
}

.blitta-rsvp form {
    margin-top: 20px;
}

.blitta-rsvp form p {
    margin-bottom: 15px;
}

.blitta-rsvp form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.blitta-rsvp form input[type="text"],
.blitta-rsvp form input[type="email"],
.blitta-rsvp form input[type="number"],
.blitta-rsvp form textarea {
    width: 100%;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    font-size: 14px;
}

.blitta-rsvp form input[type="number"] {
    width: auto;
    min-width: 80px;
}

.blitta-rsvp form textarea {
    min-height: 100px;
    resize: vertical;
}

.blitta-rsvp form button[type="submit"],
.blitta-rsvp form .button {
    padding: 10px 20px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.blitta-rsvp form button[type="submit"]:hover,
.blitta-rsvp form .button:hover {
    background: #135e96;
}

.blitta-rsvp form button[type="submit"]:disabled {
    background: #c3c4c7;
    cursor: not-allowed;
}

.blitta-rsvp form .description {
    font-size: 12px;
    color: #8c8f94;
    margin-top: 5px;
    font-style: italic;
}

.blitta-rsvp hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #dcdcde;
}

.blitta-rsvp h2 {
    margin-top: 0;
}

.blitta-rsvp h3 {
    margin-top: 20px;
    margin-bottom: 15px;
}

/* Event info box */
.blitta-rsvp .event-info {
    background: #f0f6f1;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    border-left: 4px solid #00a32a;
}

.blitta-rsvp .event-info p {
    margin: 5px 0;
}

/* Required field indicator */
.blitta-rsvp form label[for*="guests_count"]::after {
    content: " *";
    color: #d63638;
}

/* Loading state */
.blitta-rsvp-submit-btn:disabled {
    opacity: 0.6;
    cursor: wait !important;
}

/* Event info box */
.blitta-rsvp .event-info-box {
    background: #f0f6f1;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    border-left: 4px solid #00a32a;
}

.blitta-rsvp .event-info-box p {
    margin: 5px 0;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .blitta-rsvp {
        padding: 15px;
    }
    
    .blitta-rsvp form input[type="number"] {
        width: 100%;
    }
}
