/* Event Form Submission - Frontend Styles */

.efs-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.efs-form-container h3 {
    margin-top: 0;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
    font-size: 28px;
}

.efs-messages {
    margin-bottom: 20px;
}

.efs-success {
    background: #d4edda;
    color: #155724;
    padding: 12px 15px;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin-bottom: 15px;
}

.efs-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 15px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 15px;
}

.efs-fieldset {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
    background: #fafafa;
}

.efs-fieldset legend {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.efs-field-group {
    margin-bottom: 20px;
}

.efs-field-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.efs-field-half {
    flex: 1;
}

.efs-field-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.efs-field-group input[type="text"],
.efs-field-group input[type="email"],
.efs-field-group input[type="url"],
.efs-field-group input[type="date"],
.efs-field-group input[type="time"],
.efs-field-group input[type="file"],
.efs-field-group select,
.efs-field-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.efs-field-group input:focus,
.efs-field-group select:focus,
.efs-field-group textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.efs-field-group textarea {
    resize: vertical;
    min-height: 100px;
}

.efs-field-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

.efs-radio-group {
    display: flex;
    gap: 20px;
}

.efs-radio-label {
    display: flex;
    align-items: center;
    font-weight: normal !important;
    margin-bottom: 0 !important;
    cursor: pointer;
}

.efs-radio-label input[type="radio"] {
    width: auto !important;
    margin-right: 8px;
    margin-bottom: 0;
}

.efs-submit-section {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.efs-submit-btn {
    background: #007cba;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.efs-submit-btn:hover {
    background: #005a87;
}

.efs-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.efs-loading {
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .efs-form-container {
        margin: 10px;
        padding: 15px;
    }

    .efs-field-row {
        flex-direction: column;
        gap: 0;
    }

    .efs-radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .efs-submit-btn {
        width: 100%;
        padding: 12px;
    }
}