.submit-event-page {
    padding: 2rem 0 4rem;
    background: var(--bg-secondary);
    min-height: calc(100vh - 200px);
}

.submit-event-page .page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.submit-event-page .page-header h1 {
    color: var(--celestial-blue);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.submit-event-page .page-header .subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.submit-event-page .form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.event-submission-form fieldset {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.event-submission-form legend {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--celestial-blue);
    padding: 0 0.5rem;
}

.event-submission-form .form-group {
    margin-bottom: 1.5rem;
}

.event-submission-form .form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.event-submission-form .form-group input[type="text"],
.event-submission-form .form-group input[type="email"],
.event-submission-form .form-group input[type="tel"],
.event-submission-form .form-group input[type="url"],
.event-submission-form .form-group input[type="datetime-local"],
.event-submission-form .form-group select,
.event-submission-form .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.event-submission-form .form-group input:focus,
.event-submission-form .form-group select:focus,
.event-submission-form .form-group textarea:focus {
    outline: none;
    border-color: var(--celestial-blue);
}

.event-submission-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.event-submission-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.event-submission-form .checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.event-submission-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.event-submission-form .checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.event-submission-form .required {
    color: var(--error-color, #dc3545);
}

.event-submission-form .error-message {
    display: block;
    color: var(--error-color, #dc3545);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.event-submission-form .form-help {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.event-submission-form .form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

.event-submission-form .btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.event-submission-form .btn-primary {
    background: var(--celestial-blue);
    color: white;
}

.event-submission-form .btn-primary:hover {
    background: var(--royal-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.event-submission-form .btn-secondary {
    background: #6c757d;
    color: white;
}

.event-submission-form .btn-secondary:hover {
    background: #5a6268;
}

/* Rate Limit Notice */
.rate-limit-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.rate-limit-notice h3 {
    color: #856404;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.rate-limit-notice p {
    color: #856404;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.rate-limit-notice ul {
    color: #856404;
    margin: 1rem 0 1.5rem 1.5rem;
    line-height: 1.8;
}

.rate-limit-notice li {
    margin-bottom: 0.5rem;
}

.rate-limit-notice .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--celestial-blue);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s;
    margin-top: 0.5rem;
}

.rate-limit-notice .btn:hover {
    background: var(--royal-blue);
}

@media (max-width: 768px) {
    .submit-event-page {
        padding: 1rem 0 2rem;
    }
    
    .submit-event-page .page-header h1 {
        font-size: 2rem;
    }
    
    .submit-event-page .form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .event-submission-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .event-submission-form .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .event-submission-form .form-actions {
        flex-direction: column-reverse;
    }
    
    .event-submission-form .btn {
        width: 100%;
        text-align: center;
    }
}
