/* Payment Details Styles */
.ifiwerexyz-success-header {
    text-align: center;
    margin-bottom: 30px;
}

.ifiwerexyz-success-header h3 {
    color: #28a745;
    font-size: 28px;
    margin-bottom: 10px;
}

.ifiwerexyz-success-subtitle {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 0;
}

.ifiwerexyz-payment-details {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
    margin: 25px 0;
}

.ifiwerexyz-payment-details h4 {
    color: #2c3e50;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.ifiwerexyz-payment-info {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ifiwerexyz-payment-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
}

.ifiwerexyz-payment-row:last-child {
    border-bottom: none;
}

.ifiwerexyz-payment-label {
    font-weight: 600;
    color: #495057;
    width: 200px;
    flex-shrink: 0;
    font-size: 14px;
}

.ifiwerexyz-payment-value {
    flex: 1;
    color: #212529;
    font-size: 14px;
}

.ifiwerexyz-amount {
    color: #28a745 !important;
    font-weight: bold !important;
    font-size: 18px !important;
}

.ifiwerexyz-payment-instructions {
    margin-bottom: 25px;
}

.ifiwerexyz-payment-instructions h5 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.ifiwerexyz-payment-methods {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ifiwerexyz-payment-method {
    flex: 1;
    min-width: 250px;
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ifiwerexyz-payment-method h6 {
    color: #495057;
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

.ifiwerexyz-payment-method p {
    margin: 0 0 15px 0;
    color: #6c757d;
    font-size: 13px;
    line-height: 1.5;
}

.ifiwerexyz-bank-details {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 15px;
    margin-top: 10px;
    border-left: 3px solid #3498db;
}

.ifiwerexyz-bank-details p {
    margin: 8px 0;
    font-size: 13px;
    color: #495057;
}

.ifiwerexyz-bank-details strong {
    color: #2c3e50;
}

.ifiwerexyz-payment-status {
    text-align: center;
    margin-bottom: 25px;
}

.ifiwerexyz-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
}

.ifiwerexyz-status-indicator.pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.ifiwerexyz-status-icon {
    font-size: 16px;
}

.ifiwerexyz-payment-note {
    color: #856404;
    font-size: 13px;
    margin-top: 10px;
    font-style: italic;
}

.ifiwerexyz-email-confirmation {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 25px;
    text-align: center;
}

.ifiwerexyz-email-confirmation p {
    margin: 0;
    color: #155724;
    font-size: 14px;
}

.ifiwerexyz-success-actions {
    text-align: center;
    margin-top: 30px;
}

.ifiwerexyz-success-actions .ifiwerexyz-btn {
    margin: 0 10px;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.ifiwerexyz-success-actions .ifiwerexyz-btn-primary {
    background: #28a745;
    color: white;
    border: 1px solid #28a745;
}

.ifiwerexyz-success-actions .ifiwerexyz-btn-primary:hover {
    background: #218838;
    border-color: #218838;
}

.ifiwerexyz-success-actions .ifiwerexyz-btn-secondary {
    background: #6c757d;
    color: white;
    border: 1px solid #6c757d;
}

.ifiwerexyz-success-actions .ifiwerexyz-btn-secondary:hover {
    background: #5a6268;
    border-color: #5a6268;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ifiwerexyz-payment-methods {
        flex-direction: column;
    }

    .ifiwerexyz-payment-method {
        min-width: auto;
    }

    .ifiwerexyz-payment-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .ifiwerexyz-payment-label {
        width: auto;
        font-size: 13px;
    }

    .ifiwerexyz-payment-value {
        font-size: 13px;
    }

    .ifiwerexyz-success-actions .ifiwerexyz-btn {
        display: block;
        margin: 10px 0;
        width: 100%;
    }
}

.ifiwerexyz-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #3498db;
}

.ifiwerexyz-header h2 {
    color: #27ae60;
    font-size: 20px;
    margin: 10px 0;
    font-weight: 600;
}

.ifiwerexyz-event-details {
    margin-top: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #3498db;
}

.ifiwerexyz-event-info h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 15px;
}

.ifiwerexyz-event-info p {
    margin: 8px 0;
    line-height: 1.6;
}

.ifiwerexyz-event-info a {
    color: #3498db;
    text-decoration: none;
}

.ifiwerexyz-event-info a:hover {
    text-decoration: underline;
}

/* Progress Indicator */
.ifiwerexyz-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.ifiwerexyz-progress .step {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
}

.ifiwerexyz-progress .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 100%;
    width: calc(100% - 30px);
    height: 2px;
    background: #ecf0f1;
    z-index: 1;
}

.ifiwerexyz-progress .step.active:not(:last-child)::after {
    background: #3498db;
}

.ifiwerexyz-progress .step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ecf0f1;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px;
    position: relative;
    z-index: 2;
}

.ifiwerexyz-progress .step.active .step-number {
    background: #3498db;
    color: white;
}

.ifiwerexyz-progress .step-label {
    font-weight: 500;
    color: #7f8c8d;
}

.ifiwerexyz-progress .step.active .step-label {
    color: #2c3e50;
}

/* Form Styles */
.ifiwerexyz-form {
    margin-top: 20px;
}

.ifiwerexyz-step {
    display: none;
}

.ifiwerexyz-step.active {
    display: block;
}

.ifiwerexyz-form-section {
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.ifiwerexyz-form-section h2 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ecf0f1;
}

.ifiwerexyz-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.ifiwerexyz-form-row .ifiwerexyz-form-group {
    flex: 1;
}

.ifiwerexyz-form-group {
    margin-bottom: 20px;
}

.ifiwerexyz-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2c3e50;
}

.ifiwerexyz-form-group input,
.ifiwerexyz-form-group select,
.ifiwerexyz-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ecf0f1;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.ifiwerexyz-form-group input:focus,
.ifiwerexyz-form-group select:focus,
.ifiwerexyz-form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.ifiwerexyz-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.ifiwerexyz-form-group small {
    display: block;
    margin-top: 5px;
    color: #7f8c8d;
    font-size: 14px;
}

/* Error States */
.ifiwerexyz-form-group input.error,
.ifiwerexyz-form-group select.error,
.ifiwerexyz-form-group textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.ifiwerexyz-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin: 20px 0;
}

.ifiwerexyz-checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    margin-top: 2px;
}

.ifiwerexyz-checkbox-label.error {
    color: #e74c3c;
}

/* Ticket Selection */
.ifiwerexyz-ticket-selection {
    margin: 20px 0;
}

.ifiwerexyz-ticket-category {
    margin-bottom: 30px;
}

.ifiwerexyz-ticket-category h3,
.ifiwerexyz-ticket-category h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 18px;
}

.ifiwerexyz-ticket-option {
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.ifiwerexyz-ticket-option:hover {
    border-color: #3498db;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.1);
}

.ifiwerexyz-ticket-label {
    display: block;
    padding: 20px;
    cursor: pointer;
    margin: 0;
}

.ifiwerexyz-ticket-label input[type="radio"],
.ifiwerexyz-ticket-label input[type="checkbox"] {
    display: none;
}

.ifiwerexyz-ticket-label input[type="radio"]:checked + .ifiwerexyz-ticket-content,
.ifiwerexyz-ticket-label input[type="checkbox"]:checked + .ifiwerexyz-ticket-content {
    background: #ebf5fb;
    border-radius: 6px;
}

.ifiwerexyz-ticket-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ifiwerexyz-ticket-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
}

.ifiwerexyz-ticket-description {
    color: #7f8c8d;
    font-size: 14px;
    margin: 5px 0;
    flex: 1;
    margin-left: 20px;
    margin-right: 20px;
}

.ifiwerexyz-ticket-price {
    font-weight: bold;
    color: #27ae60;
    font-size: 18px;
}

/* Attendance Type */
.ifiwerexyz-radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.ifiwerexyz-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px 20px;
    border: 2px solid #ecf0f1;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.ifiwerexyz-radio-label:hover {
    border-color: #3498db;
}

.ifiwerexyz-radio-label input[type="radio"] {
    margin: 0;
}

.ifiwerexyz-radio-label input[type="radio"]:checked + span {
    color: #3498db;
    font-weight: 600;
}

/* Brochures */
.ifiwerexyz-brochures {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.ifiwerexyz-brochure-options {
    display: grid;
    gap: 10px;
}

/* Payment Summary */
.ifiwerexyz-payment-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ifiwerexyz-payment-summary h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.ifiwerexyz-order-summary p {
    margin: 8px 0;
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
}

.ifiwerexyz-total {
    text-align: right;
    font-size: 20px;
    color: #27ae60;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #ecf0f1;
}

/* Payment Instructions */
.ifiwerexyz-payment-instructions {
    margin-bottom: 20px;
}

.ifiwerexyz-payment-instructions h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.ifiwerexyz-payment-benefits {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.ifiwerexyz-payment-benefits h4 {
    color: #27ae60;
    margin-bottom: 10px;
}

.ifiwerexyz-payment-benefits ul {
    margin: 0;
    padding-left: 20px;
}

.ifiwerexyz-payment-benefits li {
    margin: 5px 0;
}

/* Form Actions */
.ifiwerexyz-form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.ifiwerexyz-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.ifiwerexyz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ifiwerexyz-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}

.ifiwerexyz-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ifiwerexyz-btn-prev {
    background: #95a5a6;
    color: white;
}

.ifiwerexyz-btn-next,
.ifiwerexyz-btn-submit {
    background: #3498db;
    color: white;
}

.ifiwerexyz-btn-submit:hover {
    background: #2980b9;
}

/* Messages */
.ifiwerexyz-message {
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.ifiwerexyz-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.ifiwerexyz-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.ifiwerexyz-message h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.ifiwerexyz-message p {
    margin-bottom: 0;
}

/* Program Info */
.ifiwerexyz-program-info {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
}

.ifiwerexyz-program-description p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.ifiwerexyz-toggle-details {
    background: #27ae60;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.ifiwerexyz-toggle-details:hover {
    background: #219a52;
}

.ifiwerexyz-program-details-content {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 5px;
    border: 1px solid #ecf0f1;
}

.ifiwerexyz-program-details-content h3 {
    color: #2c3e50;
    margin-top: 20px;
    margin-bottom: 10px;
}

.ifiwerexyz-program-details-content ul {
    margin: 0 0 15px 0;
    padding-left: 20px;
}

.ifiwerexyz-program-details-content li {
    margin: 5px 0;
}

/* Info Box */
.ifiwerexyz-info-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.ifiwerexyz-info-box p {
    margin: 0;
    color: #856404;
}

/* Terms */
.ifiwerexyz-terms {
    margin: 20px 0;
}

.ifiwerexyz-terms h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.ifiwerexyz-terms-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.ifiwerexyz-terms-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.ifiwerexyz-terms-content li {
    margin: 5px 0;
}

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

    .ifiwerexyz-form-row {
        flex-direction: column;
        gap: 0;
    }

    .ifiwerexyz-progress .step-label {
        display: none;
    }

    .ifiwerexyz-form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .ifiwerexyz-form-actions .ifiwerexyz-btn {
        width: 100%;
    }

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

    .ifiwerexyz-ticket-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .ifiwerexyz-ticket-description {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .ifiwerexyz-header h1 {
        font-size: 24px;
    }

    .ifiwerexyz-form-section {
        padding: 15px;
    }

    .ifiwerexyz-form-section h2 {
        font-size: 20px;
    }

    .ifiwerexyz-ticket-option {
        margin-bottom: 10px;
    }

    .ifiwerexyz-ticket-label {
        padding: 15px;
    }
}
