@endif
@if(session('success'))
{{ session('success') }}
@endif
@if(session('error'))
{{ session('error') }}
@endif
@foreach($errors->all() as $error)
{{ $error }}
@endforeach
@lang('ecommerce::ecommerce.wallet_summary')
@lang('ecommerce::ecommerce.available_balance')
{{ number_format((float)auth()->user()->balance, 2) }} SAR
@if(request()->hasHeader('X-Up-Target'))
@endif
.checkout-container {
max-width: 1250px;
margin: 0 auto;
padding: 30px 20px;
direction: ltr;
font-family: inherit;
}
[dir="rtl"] .checkout-container { direction: rtl; }
.checkout-layout { display: flex; gap: 40px; align-items: flex-start; }
.checkout-main { flex: 1; }
.checkout-sidebar { width: 380px; flex-shrink: 0; position: sticky; top: 30px; }
.section-header { margin-bottom: 12px; padding-inline-start: 5px; }
.section-title { font-size: 16px; font-weight: 800; margin: 0; color: #333; }
.section-content-card {
background: #fff;
border: 1px solid #eef2f5;
border-radius: var(--radius);
padding: 25px;
box-shadow: 0 5px 20px rgba(0,0,0,0.02);
margin-bottom: 30px;
}
/* FORM GRID (From Address Form) */
.form-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
.form-field label {
display: block;
font-size: 13px;
font-weight: 600;
color: #4a5568;
margin-bottom: 8px;
}
.form-field-full { grid-column: 1 / -1; }
.compact-input {
width: 100%; background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 12px; font-size: 14px; outline: none; transition: border-color 0.2s;
}
.compact-input:focus { border-color: var(--primary); }
.submit-btn {
width: 100%; padding: 16px; background: #e53e3e; color: #fff; border: none; border-radius: 8px; font-weight: 700; font-size: 15px; cursor: pointer; transition: all 0.2s; margin-top: 20px;
}
.submit-btn:hover { background: #c53030; transform: translateY(-1px); }
/* ALERT BOX */
.info-box {
background: #ebf8ff; border: 1px solid #bee3f8; color: #2c5282; padding: 15px; border-radius: 8px; font-size: 13px; margin-bottom: 25px; display: flex; gap: 10px; line-height: 1.5;
}
/* SIDEBAR */
.sidebar-box {
background: #fff; border-radius: var(--radius); padding: 30px 25px; border: 1px solid #f0f0f0; box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.sidebar-title { font-size: 16px; font-weight: 800; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #f5f5f5; }
.total-row.grand-total { border-top: 2px dashed #f0f0f0; padding-top: 20px; margin-top: 20px; font-weight: 800; font-size: 18px; color: #333; display: flex; justify-content: space-between; }
@media (max-width: 992px) {
.checkout-layout { flex-direction: column; }
.checkout-sidebar { width: 100%; order: -1; }
.form-grid { grid-template-columns: 1fr; }
}
@if(session('success'))
{{ session('success') }}
@endif
@if(session('error'))
{{ session('error') }}
@endif
@foreach($errors->all() as $error)
{{ $error }}
@endforeach
@lang('ecommerce::ecommerce.note'):
@lang('ecommerce::ecommerce.withdraw_note')
@if(request()->hasHeader('X-Up-Target'))
@endif