/* Conference RSVP Frontend Styles - Inspired by Event Tickets */

/* Program Content Section */
.conference-program-content {
    margin-bottom: 40px;
    padding: 30px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.conference-program-content h1 {
    margin-top: 0;
    color: #23282d;
    border-bottom: 3px solid #0073aa;
    padding-bottom: 15px;
}

.conference-program-content h2,
.conference-program-content h3 {
    color: #0073aa;
    margin-top: 30px;
}

.conference-program-content img {
    max-width: 100%;
    height: auto;
}

.conference-program-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.conference-program-content table th,
.conference-program-content table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.conference-program-content table th {
    background: #f7f8f9;
    font-weight: 600;
}

/* RSVP Wrapper */
.conference-rsvp-wrapper {
    max-width: 600px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.conference-rsvp-form {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.conference-rsvp-title {
    margin: 0 0 20px;
    font-size: 28px;
    font-weight: 600;
    color: #23282d;
    text-align: center;
}

.conference-rsvp-description {
    margin-bottom: 30px;
    padding: 15px;
    background: #f7f8f9;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
}

.conference-rsvp-description p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

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

.conference-rsvp-field {
    margin-bottom: 20px;
}

.conference-rsvp-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #23282d;
    font-size: 14px;
}

.conference-rsvp-field input[type="text"],
.conference-rsvp-field input[type="email"],
.conference-rsvp-field input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.conference-rsvp-field input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.conference-rsvp-submit {
    margin-top: 30px;
}

.conference-rsvp-button {
    width: 100%;
    padding: 15px 30px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-align: center;
}

.conference-rsvp-button:hover {
    background: #005a87;
}

.conference-rsvp-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* RSVP Response Form */
.rsvp-response-form .conference-rsvp-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.rsvp-response-form .conference-rsvp-button {
    width: auto;
    flex: 1;
}

.rsvp-response-form .conference-rsvp-button.attending {
    background: #46b450;
}

.rsvp-response-form .conference-rsvp-button.attending:hover {
    background: #3a9940;
}

.rsvp-response-form .conference-rsvp-button.not-attending {
    background: #dc3232;
}

.rsvp-response-form .conference-rsvp-button.not-attending:hover {
    background: #c12727;
}

/* Messages */
.conference-rsvp-messages {
    margin-bottom: 20px;
}

.conference-rsvp-success {
    padding: 15px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-left: 4px solid #46b450;
    border-radius: 4px;
    color: #155724;
    font-weight: 500;
}

.conference-rsvp-error {
    padding: 15px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-left: 4px solid #dc3232;
    border-radius: 4px;
    color: #721c24;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 640px) {
    .conference-rsvp-wrapper {
        margin: 20px;
    }
    
    .conference-rsvp-form {
        padding: 20px;
    }
    
    .conference-rsvp-title {
        font-size: 24px;
    }
    
    .rsvp-response-form .conference-rsvp-buttons {
        flex-direction: column;
    }
}
