.ef-form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

/* Product Field Styles */
.ef-product-field {
    margin-bottom: 25px;
}

.ef-product-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.ef-product-option {
    padding: 15px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.ef-product-option:hover {
    background-color: #f9fafb;
}

.ef-product-option input[type="radio"]:checked + .ef-product-info,
.ef-product-option input[type="checkbox"]:checked + .ef-product-info {
    color: #1f2937;
}

.ef-product-option input[type="radio"]:checked,
.ef-product-option input[type="checkbox"]:checked {
    accent-color: #6366f1;
}

.ef-product-option:has(input:checked) {
    background-color: #f0f9ff;
}

.ef-product-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}

.ef-product-input {
    margin-top: 2px;
    flex-shrink: 0;
}

.ef-product-info {
    flex: 1;
}

.ef-product-name {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: #1f2937;
    margin-bottom: 4px;
}

.ef-product-price {
    display: block;
    font-weight: 700;
    font-size: 18px;
    color: #059669;
    margin-bottom: 8px;
}

.ef-product-description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
}

/* Attendee Mapping Styles */
.ef-attendee-mapping-container {
    margin-top: 20px;
    padding: 20px;
}

.ef-attendee-mapping-container h4 {
    margin: 0 0 15px 0;
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
}

.ef-attendee-mapping-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ef-attendee-mapping-item {
    background: white;
    padding: 15px;
    margin-bottom: 10px;
}

.ef-attendee-mapping-item h5 {
    margin: 0 0 10px 0;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
}

.ef-attendee-products {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.ef-attendee-product-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    margin: 0;
    cursor: pointer;
}

.ef-attendee-product-input {
    margin: 0;
}

.ef-attendee-subtotal {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-align: right;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
}

.ef-attendee-total {
    color: #059669;
}

.ef-total-calculation {
    margin-top: 15px;
    padding: 15px;
    text-align: center;
}

.ef-calculated-total {
    font-size: 24px;
    font-weight: 700;
    color: #6366f1;
}

/* Custom Products in Admin */
.custom-product-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
}

.custom-product-item input,
.custom-product-item textarea {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
}

.custom-product-item input:focus,
.custom-product-item textarea:focus {
    border-color: #6366f1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .ef-product-label {
        flex-direction: column;
        gap: 8px;
    }
    
    .ef-attendee-mapping-list {
        gap: 10px;
    }
    
    .ef-attendee-products {
        gap: 6px;
    }
}

.ef-progress-bar {
    margin-bottom: 30px;
}

.ef-progress-indicator {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.ef-progress-step {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    transition: all 0.3s;
}

.ef-progress-step-number {
    display: block;
    width: 30px;
    height: 30px;
    margin: 0 auto 5px;
    line-height: 30px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    font-weight: 600;
}

.ef-progress-step-title {
    display: block;
    font-size: 14px;
    color: #666;
}

.ef-progress-step.active {
    color: #6366f1;
}

.ef-progress-step.active .ef-progress-step-number {
    background: #6366f1;
    color: white;
}

.ef-progress-step.active .ef-progress-step-title {
    color: #6366f1;
}

.ef-progress-step.completed {
    color: #10b981;
}

.ef-progress-step.completed .ef-progress-step-number {
    background: #10b981;
    color: white;
}

.ef-progress-step.completed .ef-progress-step-title {
    color: #10b981;
}

.ef-step-title {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
}

.ef-step-description {
    margin: 0 0 24px;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
}

.ef-field {
    margin-bottom: 24px;
}

.ef-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 15px;
    color: #1f2937;
    letter-spacing: 0.01em;
}

.ef-required {
    color: #ef4444;
}

.ef-input,
select.ef-input,
textarea.ef-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    color: #1f2937;
    background-color: #ffffff;
    transition: all 0.2s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 48px;
    box-sizing: border-box;
}

.ef-input::placeholder {
    color: #9ca3af;
}

.ef-input:hover {
    border-color: #9ca3af;
}

.ef-input:focus {
    outline: none;
    border-color: #6366f1;
    background-color: #ffffff;
}

.ef-input:disabled {
    background-color: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}

select.ef-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 40px;
}

textarea.ef-input {
    min-height: 100px;
    height: auto;
    resize: vertical;
    line-height: 1.6;
}

input[type="date"].ef-input {
    position: relative;
    cursor: pointer;
}

.ef-field-description {
    margin: 6px 0 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.ef-field-error {
    color: #dc2626;
    font-size: 14px;
    font-weight: 500;
    margin-top: 6px;
    display: none;
    animation: slideDown 0.2s ease-out;
}

.ef-field-error.visible {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ef-field-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ef-field-col-1 {
    flex: 0 0 calc(8.333% - 18.333px);
    min-width: 0;
}

.ef-field-col-2 {
    flex: 0 0 calc(16.666% - 16.666px);
    min-width: 0;
}

.ef-field-col-3 {
    flex: 0 0 calc(25% - 15px);
    min-width: 0;
}

.ef-field-col-4 {
    flex: 0 0 calc(33.333% - 13.333px);
    min-width: 0;
}

.ef-field-col-5 {
    flex: 0 0 calc(41.666% - 11.666px);
    min-width: 0;
}

.ef-field-col-6 {
    flex: 0 0 calc(50% - 10px);
    min-width: 0;
}

.ef-field-col-7 {
    flex: 0 0 calc(58.333% - 8.333px);
    min-width: 0;
}

.ef-field-col-8 {
    flex: 0 0 calc(66.666% - 6.666px);
    min-width: 0;
}

.ef-field-col-9 {
    flex: 0 0 calc(75% - 5px);
    min-width: 0;
}

.ef-field-col-10 {
    flex: 0 0 calc(83.333% - 3.333px);
    min-width: 0;
}

.ef-field-col-11 {
    flex: 0 0 calc(91.666% - 1.666px);
    min-width: 0;
}

.ef-field-col-12 {
    flex: 0 0 100%;
    min-width: 0;
}

.ef-field-group {
    margin-bottom: 15px;
}

.ef-field-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
}

.ef-radio-group,
.ef-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ef-radio-item,
.ef-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.ef-radio-item:hover,
.ef-checkbox-item:hover {
    background-color: #f9fafb;
}

.ef-radio-item:has(input:checked),
.ef-checkbox-item:has(input:checked) {
    background-color: #eff6ff;
}

.ef-radio-item input[type="radio"],
.ef-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #6366f1;
}

.ef-radio-item label,
.ef-checkbox-item label {
    margin: 0;
    font-weight: normal;
    font-size: 15px;
    cursor: pointer;
    flex: 1;
    color: #374151;
}

.ef-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.ef-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ef-btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
}

.ef-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.ef-btn-primary:active:not(:disabled) {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
}

.ef-btn-secondary {
    background: #f9fafb;
    color: #374151;
    border: 1px solid #d1d5db;
}

.ef-btn-secondary:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.ef-form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    gap: 12px;
}

.ef-form-messages {
    margin-top: 20px;
    padding: 15px;
    display: none;
}

.ef-form-messages.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
}

.ef-form-messages.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}

.ef-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.ef-modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.ef-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ef-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.ef-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.ef-attendees-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.ef-attendees-table th,
.ef-attendees-table td {
    padding: 10px;
    text-align: left;
}

.ef-attendees-table th {
    font-weight: 600;
    color: #374151;
}

.ef-attendees-table .ef-btn {
    padding: 6px 12px;
    font-size: 14px;
}

.ef-field-conditional {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    transform-origin: top;
}

.ef-field-conditional.ef-hidden {
    display: none !important;
}

/* Add smooth fade-in animation */
.ef-field {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ef-postcode-lookup {
    margin-bottom: 15px;
}

.ef-address-results {
    margin-top: 10px;
}

.ef-address-fields {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    opacity: 1;
    transform: translateY(0);
}

.ef-address-fields.ef-address-fields-hidden {
    opacity: 0;
    transform: translateY(-10px);
}

.ef-address-fields[style*="display:none"] {
    opacity: 0;
    transform: translateY(-10px);
}

/* Repeater Field Styles */
.ef-repeater-field {
    margin-bottom: 20px;
}

.ef-repeater-container {
    padding: 15px;
}

.ef-repeater-instances {
    margin-bottom: 15px;
}

.ef-repeater-instance {
    position: relative;
    padding: 20px;
    margin-bottom: 15px;
    background: #f9fafb;
}

.ef-repeater-instance:last-child {
    margin-bottom: 0;
}

.ef-repeater-instance-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ef-remove-repeater-instance {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    padding: 0;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
}

.ef-remove-repeater-instance:hover {
    background: #dc2626;
}

.ef-add-repeater-instance {
    padding: 10px 20px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.ef-add-repeater-instance:hover:not(:disabled) {
    background: #4f46e5;
}

.ef-add-repeater-instance:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ef-add-repeater-instance.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Repeater Table Display */
.ef-repeater-table-wrapper {
    margin: 15px 0;
    overflow-x: auto;
}

.ef-repeater-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.ef-repeater-table thead {
    background: #f9fafb;
}

.ef-repeater-table th,
.ef-repeater-table td {
    padding: 12px 15px;
    text-align: left;
}

.ef-repeater-table th {
    font-weight: 600;
    color: #333;
}

.ef-repeater-table tbody tr:hover {
    background: #f9f9f9;
}

.ef-repeater-table-actions {
    width: 150px;
    text-align: right;
}

.ef-repeater-table-actions button {
    margin-left: 5px;
}

.ef-repeater-cell-value {
    display: block;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ef-repeater-actions {
    margin-top: 15px;
}

/* Repeater Modal */
.ef-repeater-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.ef-repeater-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.ef-repeater-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.ef-repeater-modal-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ef-repeater-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.ef-repeater-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ef-repeater-modal-close:hover {
    color: #333;
}

.ef-repeater-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.ef-repeater-modal-footer {
    padding: 15px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.ef-repeater-modal-fields .ef-field-row {
    margin-bottom: 20px;
}

/* Modal Steps */
.ef-modal-steps {
    width: 100%;
}

.ef-step-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
}

.ef-step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
    cursor: pointer;
}

.ef-step-indicator.active {
    background: #6366f1;
    color: white;
}

.ef-step-indicator.completed {
    background: #10b981;
    color: white;
}

.ef-step-indicator.completed::after {
    content: '✓';
    position: absolute;
    font-size: 20px;
}

.ef-step-content {
    min-height: 200px;
}

.ef-step-navigation {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.ef-step-navigation button {
    min-width: 100px;
}

.ef-step-prev {
    margin-right: auto;
}

.ef-step-next {
    margin-left: auto;
}

/* Button Styles */
.ef-btn-small {
    padding: 4px 12px;
    font-size: 13px;
}

.ef-btn-danger {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

.ef-btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
}

.ef-edit-repeater-instance {
    background: #6366f1;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.ef-edit-repeater-instance:hover {
    background: #4f46e5;
}

/* Loading and Error States */
.ef-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.ef-error {
    color: #ef4444;
    text-align: center;
    padding: 20px;
}

/* Component Wrapper */
.ef-component-wrapper {
    margin-bottom: 25px;
    padding: 20px;
}

.ef-component-title {
    margin: 0 0 20px;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #6366f1;
}

.ef-component-instances {
    margin-bottom: 15px;
}

.ef-component-instance {
    position: relative;
    padding: 15px;
    margin-bottom: 15px;
    background: #f9fafb;
}

.ef-component-instance:last-child {
    margin-bottom: 0;
}

.ef-remove-component-instance {
    float: right;
    padding: 6px 12px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.ef-remove-component-instance:hover {
    background: #dc2626;
}

.ef-btn-small {
    padding: 6px 12px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .ef-form {
        padding: 20px;
    }
    
    .ef-progress-indicator {
        flex-direction: column;
    }
    
    .ef-progress-step {
        text-align: left;
        padding: 10px 15px;
    }
    
    .ef-progress-step-number {
        display: inline-block;
        margin: 0 10px 0 0;
        vertical-align: middle;
    }
    
    .ef-progress-step-title {
        display: inline-block;
        vertical-align: middle;
    }
    
    .ef-field-row {
        flex-direction: column;
        gap: 0;
    }
    
    .ef-field-col-1,
    .ef-field-col-2,
    .ef-field-col-3,
    .ef-field-col-4,
    .ef-field-col-5,
    .ef-field-col-6,
    .ef-field-col-7,
    .ef-field-col-8,
    .ef-field-col-9,
    .ef-field-col-10,
    .ef-field-col-11,
    .ef-field-col-12 {
        flex: 0 0 100%;
    }
    
    .ef-form-navigation {
        flex-direction: column-reverse;
        gap: 12px;
    }
    
    .ef-btn {
        width: 100%;
        padding: 16px 24px;
    }
    
    .ef-input,
    select.ef-input,
    textarea.ef-input {
        font-size: 16px;
    }
}

.ef-content-field {
    padding: 15px 0;
    line-height: 1.6;
}

.ef-content-field strong {
    font-weight: 600;
}

.ef-content-field em {
    font-style: italic;
}

.ef-content-field a {
    color: #6366f1;
    text-decoration: underline;
}

.ef-content-field a:hover {
    color: #4f46e5;
}

.ef-content-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.ef-confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ef-confirm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.ef-confirm-content {
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 8px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
}

.ef-confirm-content h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #333;
}

.ef-confirm-content p {
    margin: 0 0 25px 0;
    color: #666;
    font-size: 16px;
}

.ef-confirm-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.ef-confirm-buttons .ef-btn {
    min-width: 100px;
}

/* Attendees Field Styles */
.ef-attendees-field {
    margin-bottom: 20px;
}

.ef-attendees-container {
    padding: 20px;
}

.ef-attendees-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.ef-attendee-card {
    background: white;
    padding: 16px;
    transition: all 0.2s ease-in-out;
    margin-bottom: 16px;
}

.ef-attendee-card:hover {
    background-color: #f9fafb;
}

.ef-attendee-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.ef-attendee-name {
    font-weight: 600;
    font-size: 16px;
    color: #1f2937;
    flex: 1;
}

.ef-attendee-card-actions {
    display: flex;
    gap: 6px;
}

.ef-attendee-card-body {
    color: #6b7280;
    font-size: 14px;
}

.ef-attendee-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ef-attendee-summary-item {
    display: flex;
    gap: 6px;
}

.ef-attendee-summary-label {
    font-weight: 500;
    color: #374151;
    min-width: 60px;
}

.ef-attendee-summary-value {
    color: #6b7280;
    word-break: break-word;
}

.ef-attendees-actions {
    margin-top: 16px;
}

.ef-add-attendee {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.ef-add-attendee:hover:not(:disabled) {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.ef-add-attendee:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ef-edit-attendee {
    background: #6366f1;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s;
}

.ef-edit-attendee:hover {
    background: #4f46e5;
}

.ef-remove-attendee {
    background: #ef4444;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s;
}

.ef-remove-attendee:hover {
    background: #dc2626;
}

/* Attendees Modal */
.ef-attendees-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.ef-attendees-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.ef-attendees-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.ef-attendees-modal-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ef-attendees-modal-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
}

.ef-attendees-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.ef-attendees-modal-close:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.ef-attendees-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.ef-attendees-modal-footer {
    padding: 20px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.ef-attendees-modal-fields .ef-field-row {
    margin-bottom: 20px;
}

/* Ensure modal select elements have consistent styling */
.ef-modal select,
.ef-repeater-modal select,
.ef-attendees-modal select,
.ef-confirm-modal select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    color: #1f2937;
    background-color: #ffffff;
    transition: all 0.2s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 48px;
    box-sizing: border-box;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 40px;
}

.ef-modal select:hover,
.ef-repeater-modal select:hover,
.ef-attendees-modal select:hover,
.ef-confirm-modal select:hover {
    border-color: #9ca3af;
}

.ef-modal select:focus,
.ef-repeater-modal select:focus,
.ef-attendees-modal select:focus,
.ef-confirm-modal select:focus {
    outline: none;
    border-color: #6366f1;
    background-color: #ffffff;
}

.ef-modal select:disabled,
.ef-repeater-modal select:disabled,
.ef-attendees-modal select:disabled,
.ef-confirm-modal select:disabled {
    background-color: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Ensure modal input elements have consistent styling */
.ef-modal input[type="text"],
.ef-modal input[type="email"],
.ef-modal input[type="tel"],
.ef-modal input[type="number"],
.ef-modal input[type="date"],
.ef-modal input[type="password"],
.ef-modal textarea,
.ef-repeater-modal input[type="text"],
.ef-repeater-modal input[type="email"],
.ef-repeater-modal input[type="tel"],
.ef-repeater-modal input[type="number"],
.ef-repeater-modal input[type="date"],
.ef-repeater-modal input[type="password"],
.ef-repeater-modal textarea,
.ef-attendees-modal input[type="text"],
.ef-attendees-modal input[type="email"],
.ef-attendees-modal input[type="tel"],
.ef-attendees-modal input[type="number"],
.ef-attendees-modal input[type="date"],
.ef-attendees-modal input[type="password"],
.ef-attendees-modal textarea,
.ef-confirm-modal input[type="text"],
.ef-confirm-modal input[type="email"],
.ef-confirm-modal input[type="tel"],
.ef-confirm-modal input[type="number"],
.ef-confirm-modal input[type="date"],
.ef-confirm-modal input[type="password"],
.ef-confirm-modal textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    color: #1f2937;
    background-color: #ffffff;
    transition: all 0.2s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 48px;
    box-sizing: border-box;
}

.ef-modal textarea,
.ef-repeater-modal textarea,
.ef-attendees-modal textarea,
.ef-confirm-modal textarea {
    min-height: 100px;
    height: auto;
    resize: vertical;
    line-height: 1.6;
}

.ef-attendees-modal-save {
    min-width: 140px;
}

.ef-attendees-modal-cancel {
    min-width: 100px;
}

@media (max-width: 768px) {
    .ef-attendees-list {
        grid-template-columns: 1fr;
    }
    
    .ef-attendees-modal-content {
        width: 95%;
        max-width: none;
    }
    
    .ef-attendee-card-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .ef-attendee-card-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Component Multi-Step Styles */
.ef-component-progress-bar {
    margin-bottom: 30px;
    padding: 20px 0;
}

.ef-component-progress-bar .ef-progress-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.ef-component-progress-bar .ef-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 10px;
    border-radius: 8px;
}

.ef-component-progress-bar .ef-progress-step:hover {
    background-color: #f9fafb;
}

.ef-component-progress-bar .ef-progress-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
}

.ef-component-progress-bar .ef-progress-step-title {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    text-align: center;
    transition: all 0.2s ease;
}

.ef-component-progress-bar .ef-progress-step.active .ef-progress-step-number {
    background-color: #3b82f6;
    color: white;
}

.ef-component-progress-bar .ef-progress-step.active .ef-progress-step-title {
    color: #3b82f6;
    font-weight: 600;
}

.ef-component-progress-bar .ef-progress-step.completed .ef-progress-step-number {
    background-color: #10b981;
    color: white;
}

.ef-component-progress-bar .ef-progress-step.completed .ef-progress-step-title {
    color: #10b981;
}

.ef-component-steps-container {
    margin-bottom: 30px;
}

.ef-component-step {
    padding: 20px 0;
}

.ef-component-step-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.ef-component-step-description {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.5;
}

.ef-component-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-top: 30px;
}

.ef-component-btn-previous,
.ef-component-btn-next {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ef-component-btn-previous {
    background-color: #f3f4f6;
    color: #374151;
}

.ef-component-btn-previous:hover {
    background-color: #e5e7eb;
}

.ef-component-btn-next {
    background-color: #3b82f6;
    color: white;
    margin-left: auto;
}

.ef-component-btn-next:hover {
    background-color: #2563eb;
}

.ef-step-errors {
    background-color: #fef2f2;
    color: #dc2626;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
}

.ef-field-error {
    border-color: #dc2626 !important;
}

/* Responsive adjustments for component multi-step */
@media (max-width: 768px) {
    .ef-component-progress-bar .ef-progress-indicator {
        gap: 10px;
    }
    
    .ef-component-progress-bar .ef-progress-step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .ef-component-progress-bar .ef-progress-step-title {
        font-size: 12px;
    }
    
    .ef-component-step-title {
        font-size: 20px;
    }
    
    .ef-component-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .ef-component-btn-previous,
    .ef-component-btn-next {
        width: 100%;
        justify-content: center;
    }
    
    .ef-component-btn-next {
        margin-left: 0;
    }
}

/* Sponsorship Field Styles */
.ef-field-sponsorship {
    margin-bottom: 25px;
}

.ef-sponsorship-amount-container,
.ef-payment-amount-container {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.ef-sponsorship-amount-container.visible,
.ef-payment-amount-container.visible {
    border-color: #6366f1;
    background-color: #f0f9ff;
}

.ef-sublabel {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.ef-sponsorship-amount,
.ef-payment-amount {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.ef-sponsorship-amount:focus,
.ef-payment-amount:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.ef-field-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
}

.ef-sponsorship-type {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    transition: border-color 0.2s ease;
}

.ef-sponsorship-type:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Terms Field Styles */
.ef-field-terms {
    margin-bottom: 25px;
}

.ef-terms-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9fafb;
    transition: all 0.2s ease;
}

.ef-terms-item:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

.ef-terms-item:has(input:checked) {
    background-color: #eff6ff;
    border-color: #3b82f6;
}

.ef-terms-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #6366f1;
    flex-shrink: 0;
    margin-top: 2px;
}

.ef-terms-label {
    margin: 0;
    font-weight: normal;
    font-size: 15px;
    cursor: pointer;
    flex: 1;
    line-height: 1.5;
    color: #374151;
}

.ef-terms-link {
    color: #6366f1;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.ef-terms-link:hover {
    color: #4f46e5;
    text-decoration: none;
}
