.metathesis-registration-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.event-header {
    background: #f8f9fa;
    border-left: 4px solid #E53E3E;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.event-header h1 {
    color: #2d3748;
    font-size: 1.8em;
    margin-top: 0;
    text-align: center;
}

.theme {
    font-weight: 600;
    color: #2b6cb0;
    font-size: 1.2em;
    text-align: center;
}

.powered-by {
    font-style: italic;
    color: #718096;
    text-align: center;
}

.exclusive {
    background: #fffaf0;
    padding: 10px;
    border-radius: 4px;
    font-weight: 600;
    margin: 15px 0;
    text-align: center;
}

.event-details {
    background: #ebf8ff;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    text-align: center;
}

.event-details p {
    margin: 5px 0;
}

.eligibility-notice {
    background: #fff5f5;
    border-left: 3px solid #e53e3e;
    padding: 10px 15px;
    margin-top: 15px;
}

.eligibility-notice p {
    margin: 5px 0;
}

.metathesis-registration-form fieldset {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

.metathesis-registration-form legend {
    font-weight: bold;
    font-size: 1.2em;
    padding: 0 10px;
}

.metathesis-registration-form label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
}

.metathesis-registration-form input[type="text"],
.metathesis-registration-form input[type="email"],
.metathesis-registration-form input[type="tel"],
.metathesis-registration-form select,
.metathesis-registration-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.metathesis-registration-form .radio-group {
    margin-top: 5px;
}

.metathesis-registration-form .radio-group label {
    display: inline-block;
    margin-right: 15px;
    font-weight: normal;
    margin-top: 5px;
}

.checkbox-group {
    margin: 15px 0;
}

.checkbox-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
}

.required-checkbox label {
    font-weight: 600;
}

.metathesis-registration-form button {
    background: #E53E3E;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin: 20px auto 0;
    width: 100%;
    max-width: 200px;
}

.metathesis-registration-form button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.metathesis-registration-form button:hover:not(:disabled) {
    background: #C53030;
}

#response-message {
    margin-bottom: 20px;
}

#response-message .loading {
    color: #2B6CB0;
    padding: 10px;
    background: #EBF8FF;
    border-radius: 4px;
}

#response-message .success {
    color: #2F855A;
    padding: 10px;
    background: #C6F6D5;
    border-radius: 4px;
}

#response-message .error {
    color: #C53030;
    padding: 10px;
    background: #FED7D7;
    border-radius: 4px;
}

#spots-counter {
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    padding: 10px;
    background: #EBF8FF;
    border-radius: 4px;
}

/* Success Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    margin: 0 auto;
    animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
}

.close-popup:hover {
    color: #E53E3E;
}

.popup-icon {
    font-size: 60px;
    color: #38a169;
    margin-bottom: 20px;
    line-height: 1;
}

.popup-content h2 {
    color: #2d3748;
    margin-top: 0;
    margin-bottom: 15px;
}

.popup-content p {
    margin-bottom: 10px;
    line-height: 1.6;
}