/**
 * Frontend CSS - Modern Minimal Design
 */

/* Form Wrapper */
.brf-form-wrapper {
    max-width: 1200px;
    margin: 50px auto;
    padding: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border-radius: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.brf-form-title {
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 60px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
}

/* Form Steps */
.brf-form-step {
    display: none;
}

.brf-form-step.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.brf-step-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: none;
    position: relative;
}

.brf-step-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a1a1a 0%, transparent 100%);
    border-radius: 2px;
}

.brf-step-header h3 {
    color: #1a1a1a;
    font-size: 26px;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.8px;
}

/* Form Groups */
.brf-form-group {
    margin-bottom: 28px;
}

.brf-form-group label {
    display: block;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 10px;
    font-size: 14px;
}

.required {
    color: #e74c3c;
    margin-left: 3px;
}

/* Report Type Grid */
.brf-report-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.brf-report-type-card {
    position: relative;
    border: 2px solid rgba(0,0,0,0.08);
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
}

.brf-report-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626 0%, #b91c1c 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brf-report-type-card:hover::before,
.brf-report-type-card.selected::before {
    transform: scaleX(1);
}

.brf-report-type-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.15);
    transform: translateY(-4px);
}

.brf-report-type-card.selected {
    border-color: rgba(220, 38, 38, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.2);
    transform: translateY(-4px);
}

.brf-report-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.brf-report-type-card label {
    display: block;
    padding: 28px 24px;
    cursor: pointer;
    margin: 0;
    min-height: 140px;
    display: flex;
    flex-direction: column;
}

.brf-report-type-card .brf-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.brf-report-type-card h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    flex: 1;
    line-height: 1.4;
}

.brf-report-type-card .brf-price {
    font-weight: 700;
    color: #dc2626;
    font-size: 17px;
    white-space: nowrap;
    margin-left: 15px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.brf-report-type-card.selected .brf-price {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.brf-report-type-card .brf-description {
    margin: 0;
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
    flex-grow: 1;
}

/* Delivery Options */
.brf-delivery-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 35px;
}

.brf-delivery-card {
    position: relative;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.brf-delivery-card:hover {
    border-color: #dc2626;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.1);
}

.brf-delivery-card.selected {
    border-color: #dc2626;
    background: #fef2f2;
}

.brf-delivery-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.brf-delivery-card label {
    display: block;
    padding: 20px 18px;
    cursor: pointer;
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.brf-delivery-card .brf-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.brf-delivery-card h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.brf-delivery-card .brf-multiplier {
    font-size: 12px;
    color: #dc2626;
    font-weight: 600;
    background: #fee2e2;
    padding: 2px 8px;
    border-radius: 4px;
}

.brf-delivery-card .brf-duration {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

/* Input Fields */
.brf-input,
.brf-select-input,
.brf-textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid rgba(0,0,0,0.08);
    background: #ffffff;
    font-size: 14px;
    color: #2c2c2c;
    transition: all 0.3s ease;
    box-sizing: border-box;
    border-radius: 10px;
}

.brf-input:focus,
.brf-select-input:focus,
.brf-textarea:focus {
    outline: none;
    border-color: #dc2626;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.brf-textarea {
    resize: vertical;
    font-family: inherit;
}

.brf-select-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.brf-field-description {
    margin-top: 8px;
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
}

/* Form Sections */
.brf-section {
    background: #fafafa;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.brf-section h4 {
    color: #1a1a1a;
    font-size: 16px;
    margin: 0 0 20px 0;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.brf-note {
    padding: 12px 15px;
    background: #fff3cd;
    border-left: 3px solid #ffc107;
    margin-bottom: 20px;
    font-size: 13px;
    color: #856404;
}

/* Form Fields */
.brf-form-field,
.brf-document-field {
    margin-bottom: 20px;
}

.brf-form-field label,
.brf-document-field label {
    display: block;
    font-weight: 500;
    color: #333333;
    margin-bottom: 8px;
    font-size: 14px;
}

.brf-required-mark {
    color: #d32f2f;
    font-weight: bold;
}

.brf-required-badge {
    display: inline-block;
    background: #d32f2f;
    color: #fff;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
    text-transform: uppercase;
}

.brf-field-description,
.brf-field-note {
    font-size: 13px;
    color: #666666;
    margin-top: 5px;
}

.brf-input.error,
.brf-select.error {
    border-color: #d32f2f;
}

/* File Upload */
.brf-file-upload-wrapper {
    position: relative;
}

.brf-file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.brf-file-label {
    display: inline-block;
    padding: 10px 20px;
    background: #f5f5f5;
    border: 1px solid #d0d0d0;
    color: #333333;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 500;
    font-size: 14px;
}

.brf-file-label:hover {
    background: #e8e8e8;
}

.brf-file-preview {
    margin-top: 15px;
}

.brf-file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    margin-bottom: 8px;
}

.brf-file-name {
    flex: 1;
    font-size: 13px;
    color: #333333;
}

.brf-file-size {
    font-size: 12px;
    color: #666666;
}

.brf-file-check {
    color: #4caf50;
    font-size: 16px;
}

/* Repeater */
.brf-repeater {
    background: #ffffff;
    padding: 15px;
    border: 1px solid #e0e0e0;
}

.brf-repeater-item {
    background: #fafafa;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
    border: 1px solid #e0e0e0;
}

.brf-repeater-field {
    margin-bottom: 15px;
}

.brf-repeater-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333333;
    font-size: 13px;
}

.brf-repeater-field input,
.brf-repeater-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #d0d0d0;
}

.brf-btn-add-item,
.brf-btn-remove-item {
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    background: #333333;
    color: #ffffff;
    transition: background 0.2s;
}

.brf-btn-add-item:hover {
    background: #1a1a1a;
}

.brf-btn-remove-item {
    background: #d32f2f;
    position: absolute;
    top: 15px;
    right: 15px;
}

.brf-btn-remove-item:hover {
    background: #b71c1c;
}

/* Checkbox */
.brf-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.brf-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Summary */
.brf-summary {
    background: #fafafa;
    border: 2px solid #e5e7eb;
    padding: 28px;
    margin-top: 35px;
    border-radius: 8px;
}

.brf-summary h4 {
    color: #1a1a1a;
    font-size: 18px;
    margin: 0 0 20px 0;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.brf-summary-table {
    width: 100%;
    border-collapse: collapse;
}

.brf-summary-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.brf-summary-table tr:last-child {
    border-bottom: none;
}

.brf-summary-table td {
    padding: 14px 0;
    font-size: 14px;
    color: #374151;
}

.brf-summary-table td:first-child {
    width: 40%;
    font-weight: 500;
}

.brf-summary-price-row {
    font-size: 16px;
}

.brf-price-amount {
    font-weight: 700;
    color: #dc2626;
    font-size: 20px;
}

/* Buttons */
.brf-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    gap: 18px;
}

.brf-btn {
    padding: 14px 32px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.brf-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brf-btn:hover::before {
    opacity: 1;
}

.brf-btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.brf-btn-primary:hover {
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
    transform: translateY(-2px);
}

.brf-btn-next {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.brf-btn-next:hover {
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
    transform: translateY(-2px);
}

.brf-btn-secondary {
    background: #ffffff;
    color: #4b5563;
    border: 2px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.brf-btn-secondary:hover {
    background: #f9fafb;
    border-color: rgba(0,0,0,0.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

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

.brf-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Progress Bar */
.brf-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 50px;
    border-top: 2px solid rgba(0,0,0,0.05);
}

.brf-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
    position: relative;
}

.brf-progress-number {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(0,0,0,0.1);
    background: #ffffff;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.brf-progress-step.active .brf-progress-number {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    transform: scale(1.1);
}

.brf-progress-step.completed .brf-progress-number {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.brf-progress-step span {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.brf-progress-step.active span {
    color: #dc2626;
    font-weight: 700;
}

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

.brf-progress-line {
    height: 3px;
    background: linear-gradient(90deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.05) 100%);
    flex: 1;
    margin: 0 -10px;
    margin-bottom: 36px;
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

/* Message */
.brf-message {
    padding: 16px 24px;
    margin-top: 24px;
    font-size: 14px;
    border-left: 4px solid;
    border-radius: 8px;
    font-weight: 500;
}

.brf-message.success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #10b981;
    color: #065f46;
}

.brf-message.error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #ef4444;
    color: #991b1b;
}

.brf-message.info {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #dc2626;
    color: #991b1b;
}

/* Loading Spinner */
.brf-loading-spinner {
    text-align: center;
    padding: 40px;
    font-size: 14px;
    color: #666666;
}

/* Responsive */
@media (max-width: 1024px) {
    .brf-form-wrapper {
        max-width: 900px;
        padding: 50px;
    }
    
    .brf-report-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .brf-delivery-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .brf-form-wrapper {
        padding: 30px;
        margin: 20px 15px;
    }
    
    .brf-form-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .brf-step-header h3 {
        font-size: 20px;
    }
    
    .brf-report-types-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .brf-report-type-card label {
        min-height: auto;
        padding: 22px 20px;
    }
    
    .brf-report-type-card h4 {
        font-size: 16px;
    }
    
    .brf-report-type-card .brf-price {
        font-size: 15px;
    }
    
    .brf-delivery-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .brf-form-actions {
        flex-direction: column-reverse;
        gap: 12px;
    }
    
    .brf-form-actions .brf-btn {
        width: 100%;
        justify-content: center;
    }
    
    .brf-progress-bar {
        font-size: 11px;
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .brf-progress-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .brf-progress-step span {
        font-size: 11px;
    }
    
    .brf-summary {
        padding: 20px;
    }
    
    .brf-summary-table td {
        display: block;
        padding: 10px 0;
    }
    
    .brf-summary-table td:first-child {
        width: 100%;
        font-weight: 600;
        padding-bottom: 5px;
    }
    
    .brf-summary-table tr {
        padding: 8px 0;
        display: block;
    }
}

@media (max-width: 480px) {
    .brf-form-wrapper {
        padding: 20px;
        margin: 15px 10px;
    }
    
    .brf-form-title {
        font-size: 20px;
    }
    
    .brf-step-header h3 {
        font-size: 18px;
    }
    
    .brf-btn {
        padding: 12px 24px;
        font-size: 13px;
    }
    
    .brf-report-type-card label {
        padding: 18px 16px;
    }
}

/* Payment Wrapper */
.brf-payment-wrapper {
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.brf-payment-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.brf-payment-header h3 {
    font-size: 26px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.brf-payment-header p {
    color: #666;
    font-size: 14px;
}

/* Payment Form */
.brf-payment-form .brf-form-group {
    margin-bottom: 24px;
}

.brf-payment-form label {
    display: block;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 8px;
    font-size: 14px;
}

.brf-payment-form .brf-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.brf-payment-form .brf-input:focus {
    outline: none;
    border-color: #1a1a1a;
    background: #fafafa;
}

.brf-card-number {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    font-size: 16px !important;
}

.brf-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.brf-expiry-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brf-expiry-group input {
    flex: 1;
    text-align: center;
}

.brf-expiry-group span {
    font-size: 18px;
    font-weight: bold;
    color: #666;
}

.brf-cvv {
    text-align: center;
    font-family: 'Courier New', monospace;
}

.brf-payment-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    margin: 24px 0;
    font-size: 13px;
    color: #166534;
}

.brf-security-icon {
    font-size: 18px;
}

.brf-btn-payment {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.brf-btn-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

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

.brf-btn-cancel {
    width: 100%;
    padding: 12px;
    background: transparent;
    color: #666;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.brf-btn-cancel:hover {
    background: #f5f5f5;
    border-color: rgba(0,0,0,0.2);
}

/* PayTR Response Container */
#paytr-response-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    min-height: 400px;
}

#paytr-response-container iframe {
    width: 100%;
    min-height: 500px;
    border: none;
    border-radius: 8px;
}

/* PayTR içeriği için genel stil */
#paytr-response-container > div {
    width: 100%;
}

#paytr-response-container form {
    max-width: 100%;
}

/* PayTR Modal Overlay (iframe popup) */
#paytr-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

#paytr-modal-container {
    width: 90%;
    max-width: 800px;
    height: 90%;
    max-height: 800px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#paytr-close-btn {
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

#paytr-close-btn:hover {
    background: #b91c1c;
    transform: scale(1.1);
}

#paytr-payment-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Step 4: Contact Information */
.brf-step-4 .brf-step-description {
    color: #666;
    font-size: 14px;
    margin-top: 8px;
}

.brf-contact-fields {
    max-width: 700px;
    margin: 0 auto;
}

.brf-contact-fields .brf-form-group {
    margin-bottom: 32px;
}

.brf-contact-fields .brf-label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.brf-contact-fields .brf-required {
    color: #dc2626;
    font-weight: 700;
}

.brf-contact-fields .brf-input,
.brf-contact-fields .brf-textarea {
    font-size: 15px;
    padding: 14px 18px;
}

.brf-contact-fields .brf-field-description {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.brf-contact-fields .brf-input.error,
.brf-contact-fields .brf-textarea.error {
    border-color: #dc2626;
    background-color: #fff5f5;
}

.brf-contact-fields .brf-input[type="email"] {
    font-family: monospace;
}

/* 4-step Progress Bar */
.brf-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.brf-progress-step {
    flex: 0 0 auto;
    text-align: center;
    position: relative;
}

.brf-progress-line {
    flex: 1;
    height: 2px;
    background: rgba(0,0,0,0.1);
    position: relative;
}

/* Payment Method Selection - Modern Design */
.brf-payment-method-section {
    max-width: 700px;
    margin: 40px auto 30px;
    padding: 0;
}

.brf-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.brf-section-icon {
    font-size: 36px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
}

.brf-section-text {
    flex: 1;
}

.brf-payment-method-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px 0;
}

.brf-payment-method-description {
    color: #666;
    font-size: 15px;
    margin: 0;
}

.brf-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.brf-payment-method-option {
    position: relative;
}

.brf-payment-method-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.brf-payment-method-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.brf-payment-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brf-payment-method-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.15);
}

.brf-payment-method-card:hover::before {
    opacity: 1;
}

.brf-payment-method-option input[type="radio"]:checked + .brf-payment-method-card {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.brf-payment-method-option input[type="radio"]:checked + .brf-payment-method-card::before {
    opacity: 1;
}

.brf-payment-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.brf-payment-icon-wrapper svg {
    stroke-width: 1.5;
}

.brf-icon-card {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

.brf-icon-bank {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.brf-payment-method-option input[type="radio"]:checked + .brf-payment-method-card .brf-icon-card {
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    transform: scale(1.05);
}

.brf-payment-method-option input[type="radio"]:checked + .brf-payment-method-card .brf-icon-bank {
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    transform: scale(1.05);
}

.brf-payment-method-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brf-payment-method-name {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.brf-payment-method-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
}

.brf-payment-method-option input[type="radio"]:checked + .brf-payment-method-card .brf-payment-method-name {
    color: #4f46e5;
}

.brf-payment-check {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.brf-check-icon {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    stroke: white;
}

.brf-payment-method-option input[type="radio"]:checked + .brf-payment-method-card .brf-payment-check {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.brf-payment-method-option input[type="radio"]:checked + .brf-payment-method-card .brf-check-icon {
    opacity: 1;
    transform: scale(1);
}

/* Responsive */
@media (max-width: 600px) {
    .brf-payment-method-card {
        padding: 18px 20px;
        gap: 14px;
    }
    
    .brf-payment-icon-wrapper {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }
    
    .brf-payment-icon-wrapper svg {
        width: 24px;
        height: 24px;
    }
    
    .brf-payment-method-name {
        font-size: 15px;
    }
    
    .brf-payment-method-desc {
        font-size: 13px;
    }
    
    .brf-section-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .brf-section-icon {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

/* IBAN Details */
.brf-iban-details {
    margin-top: 30px;
    animation: slideDown 0.4s ease-out;
}

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

.brf-iban-info-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #38bdf8;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.1);
}

.brf-iban-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(56, 189, 248, 0.2);
}

.brf-iban-icon {
    font-size: 32px;
}

.brf-iban-header h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #0c4a6e;
}

.brf-iban-info-grid {
    display: grid;
    gap: 16px;
}

.brf-iban-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: white;
    border-radius: 8px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.brf-iban-label {
    font-weight: 600;
    color: #0c4a6e;
    font-size: 14px;
}

.brf-iban-value {
    font-weight: 500;
    color: #1e293b;
    font-size: 15px;
}

.brf-iban-number-item {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 2px solid #38bdf8;
}

.brf-iban-number {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    font-weight: 700;
    color: #0c4a6e;
}

.brf-copy-iban {
    background: #38bdf8;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.brf-copy-iban:hover {
    background: #0284c7;
    transform: scale(1.05);
}

.brf-copy-iban:active {
    transform: scale(0.98);
}

.brf-iban-description {
    margin-top: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.7);
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
}

.brf-iban-description p {
    margin: 0;
    font-size: 14px;
    color: #92400e;
    line-height: 1.6;
}

.brf-iban-warning {
    margin-top: 20px;
    padding: 16px;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
}

.brf-iban-warning strong {
    color: #92400e;
    font-size: 15px;
}

/* IBAN Success Message */
.brf-iban-success {
    text-align: center;
    padding: 60px 40px;
    animation: fadeIn 0.5s ease-out;
}

.brf-iban-success .brf-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.brf-iban-success .brf-success-icon svg {
    stroke: #10b981;
}

.brf-iban-success h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.brf-iban-success .brf-success-message {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
}

.brf-iban-success .brf-submission-info {
    background: #f3f4f6;
    padding: 24px;
    border-radius: 12px;
    margin: 24px auto;
    max-width: 500px;
}

.brf-iban-success .brf-submission-info p {
    margin: 8px 0;
    font-size: 15px;
    color: #1a1a1a;
}

.brf-iban-payment-info {
    margin: 32px 0;
}

.brf-iban-payment-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.brf-iban-details-box {
    background: #f0f9ff;
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #38bdf8;
}

.brf-iban-success .brf-next-steps {
    background: #fef3c7;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
    margin: 24px auto;
    max-width: 600px;
    text-align: left;
    font-size: 14px;
    line-height: 1.8;
    color: #92400e;
}

.brf-iban-success .brf-action-buttons {
    margin-top: 32px;
}

.brf-iban-success .brf-btn-primary {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
}

