
.application-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
    background: #f5f5f5;
}

.application-section .form-group,
.application-section .form-grid-2 {
    max-width: 100%;
    box-sizing: border-box;
}

.application-section .form-group *,
.application-section .form-grid-2 * {
    max-width: 100%;
    box-sizing: border-box;
}

.application-section .form-group,
.application-section .form-grid-2 {
    min-width: 0;
    overflow: hidden;
}

.application-section .app-title {
    color: #1890ff;
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 2rem;
}

.application-section .text-danger {
    color: #ff4d4f !important;
}

.application-section .contact-info {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.application-section .security-message {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.application-section .security-message i {
    margin-right: 0.5rem;
    color: #28a745;
}

.application-section .secure-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
}

.application-section .next-step-btn {
    padding: 0.8rem 2.5rem;
    font-weight: 500;
    display: flex;
}

/* Calendar Styling */

.calendar-header {
    background-color: #f8f9fa;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
}

.calendar-header select {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 4px 8px;
    margin: 0 5px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 2px;
    padding: 10px;
    height: 240px; /* Fixed height for 6 rows */
}

.application-section .calendar-day {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.application-section .calendar-day:hover:not(.empty):not(.disabled) {
    background-color: #f0f0f0;
}

.application-section .calendar-day.selected {
    background-color: #1890ff;
    color: white;
}

.application-section .calendar-day.today {
    color: #1890ff;
}

.application-section .calendar-day.empty {
    visibility: hidden;
    cursor: default;
}

.application-section .calendar-day.disabled {
    color: #dee2e6;
    cursor: not-allowed;
}

.application-section .calendar-day.disabled:hover {
    background-color: transparent;
}

.calendar-day-labels {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    padding: 5px 10px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.calendar-day-label {
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: #6c757d;
}

.calendar-day {
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 5px;
    font-size: 0.9rem;
}

.calendar-day:hover:not(.empty):not(.disabled) {
    background-color: #e6f7ff;
}

.calendar-day.empty {
    cursor: default;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background-color: #f8f9fa;
}

.calendar-day.today {
    color: #1890ff;
    font-weight: 600;
}

.calendar-day.selected {
    color: #fff;
    background-color: #1890ff;
    font-weight: 600;
}

.calendar-info {
    padding: 10px;
    color: #6c757d;
    font-size: 0.8rem;
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
}
align-items: center;
gap: 10px;
border-radius: 4px;
background-color: #007bff;
transition: all 0.3s ease;
}

.application-section .next-step-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Progress Steps */
.application-section .progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 2rem 0;
    padding: 0;
}

.application-section .progress-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e8e8e8;
    z-index: 1;
}

.application-section .step {
    position: relative;
    text-align: center;
    z-index: 2;
    flex: 1;
}

.application-section .step-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e8e8e8;
    color: #999;
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    font-weight: 500;
}

.application-section .step-text {
    color: #999;
    font-size: 0.9rem;
}

/* Completed step styling */

.application-section .step.completed .step-number {
    background-color: #90ee90; /* Light green for completed steps */
    border-color: #90ee90;
    color: #fff;
}

.application-section .step-text {
    font-size: 0.8rem;
    font-weight: 500;
}

.application-section .step.active .step-text {
    color: var(--primary-color);
}

.application-section .step.completed .step-text {
    color: #28a745;
}

.application-section .step.completed .step-number {
    background-color: #95de64;
    color: #fff;
}

.application-section .step.completed .step-text {
    color: #73d13d;
    font-weight: 500;
}

.application-section .step.active .step-number {
    background-color: #1890ff;
    color: #fff;
}

.application-section .step.active .step-text {
    color: #1890ff;
    font-weight: 500;
}

.step.active .step-number {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}


/* Mobile-specific progress steps (completely hidden on mobile) */
@media (max-width: 767.98px) {
    .application-section .progress-steps {
        display: none;
    }
}

/* Form Box */
.application-section .content-box {
    margin-top: 60px !important;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 2rem;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.application-section .application-form {
    position: relative;
}

.application-section .section-title {
    color: #1890ff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Form Elements */
.application-section .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.application-section .form-control {
    height: 48px !important;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    max-width: 100% !important;
    box-sizing: border-box;
}

.application-section .form-control:focus {
    border-color: #40a9ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.application-section .form-select {
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    height: calc(2.5rem + 2px);
    max-width: 100% !important;
    box-sizing: border-box;
}

.application-section textarea.form-control {
    max-width: 100% !important;
    box-sizing: border-box;
    resize: vertical;
}

.application-section .form-text {
    color: #888;
    font-size: 0.85rem;
}

/* Traveler Sections */
.application-section .traveler-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.application-section .traveler-section .traveler-fields {
    padding: 1.5rem;
}

.application-section .traveler-header {
    background-color: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    user-select: none;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
}

.application-section .traveler-header:hover {
    background-color: #e9ecef;
}

.application-section .traveler-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.application-section .traveler-header > * {
    position: relative;
    z-index: 2;
}

.application-section .traveler-header .traveler-title {
    font-weight: 500;
}

.application-section .traveler-actions {
    display: flex;
    gap: 0.5rem;
}

.application-section .traveler-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.application-section .traveler-content {
    padding-top: 1rem;
}

/* Calendar Selects */
.application-section .calendar-selects {
    display: flex;
    gap: 0.5rem;
}

.application-section .calendar-selects .form-select:first-child {
    flex: 2;
}

.application-section .calendar-selects .form-select:last-child {
    flex: 1;
}

/* Buttons */
.application-section .btn-primary {
    background-color: #1890ff;
    border-color: #1890ff;
    font-weight: 500;
}

.application-section .btn-primary:hover {
    background-color: #40a9ff;
    border-color: #40a9ff;
}

.application-section .btn-primary:focus {
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.application-section .btn-outline-primary {
    color: #1890ff;
    border-color: #1890ff;
}

.application-section .btn-outline-primary:hover {
    background-color: #1890ff;
    border-color: #1890ff;
}

/* Alerts */
.application-section .alert {
    border-radius: 4px;
}

.application-section .alert-danger {
    background-color: #fff1f0;
    border-color: #ffccc7;
    color: #cf1322;
}

/* Error Styling */
.application-section .field-error {
    color: #f5222d;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Select2 Modifications */
.application-section .select2-container--bootstrap-5 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    min-width: 0 !important;
}

.application-section .form-group .select2-container--bootstrap-5,
.application-section .form-grid-2 .select2-container--bootstrap-5 {
    max-width: 100% !important;
    width: 100% !important;
}
.application-section .select2-container--bootstrap-5 .select2-selection {
    height: calc(2.5rem + 2px) !important;
    display: flex;
    align-items: center;
    border: 1px solid #d9d9d9;
    box-sizing: border-box;
    overflow: hidden !important;
    max-width: 100% !important;
}

.application-section .select2-container--bootstrap-5.select2-container--focus .select2-selection {
    border-color: #40a9ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.application-section .select2-container--bootstrap-5 .select2-selection--single {
    overflow: hidden !important;
    position: relative !important;
}

.application-section .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    padding-left: 0.25rem;
    padding-right: 0px !important;
    line-height: calc(2.5rem);
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: calc(100% - 0px) !important;
    display: block !important;
}

.application-section .select2-container--bootstrap-5 .select2-dropdown {
    border-color: #40a9ff;
}

.application-section .select2-container--bootstrap-5 .select2-search__field:focus {
    border-color: #40a9ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.application-section .select2-container--bootstrap-5 .select2-results__option--selected {
    background-color: #e6f7ff;
    color: #1890ff;
}

.application-section .select2-container--bootstrap-5 .select2-results__option--highlighted {
    background-color: #1890ff;
    color: white;
}

/* Review Application (Step 6) Styles */
.review-application-container {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.review-table {
    margin-bottom: 0;
    border-collapse: collapse;
    width: 100%;
}

.review-table td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

.review-order-row {
    background-color: #f8f9fa;
    font-weight: 500;
}

.review-section-header {
    background-color: #1890ff;
    color: white;
}

.review-section-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.review-traveler-header {
    background-color: #e6f7ff;
    color: #1890ff;
    font-weight: 500;
    padding: 0.75rem 1rem;
}

.review-table tr:not(.review-section-header):nth-child(even) {
    background-color: #f9f9f9;
}

.review-table tr:not(.review-section-header):hover {
    background-color: #f1f5f9;
}

.edit-section {
    font-size: 0.8rem;
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.edit-section:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.edit-row {
    font-size: 0.7rem;
    color: #1890ff;
    cursor: pointer;
    padding: 3px 6px;
    border: 1px solid #1890ff;
    border-radius: 4px;
    background-color: transparent;
    transition: all 0.2s;
}

.edit-row:hover {
    background-color: #1890ff;
    color: white;
}

.btn-pay {
    background-color: #52c41a;
    border-color: #52c41a;
    color: white;
}

.btn-pay:hover {
    background-color: #73d13d;
    border-color: #73d13d;
    color: white;
}

/* Step 7: Complete Process Styles */
.complete-process-container {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.application-summary {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 1.5rem;
}

.summary-header {
    margin-bottom: 1rem;
}

.summary-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
    color: #1890ff;
}

.estimated-delivery {
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
}

.flag-icon {
    width: 24px;
    height: auto;
}

.traveler-summary-item {
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    font-size: 0.95rem;
    border: 1px solid #c9c9c9;
}

.application-section .service-option {
    cursor: pointer;
    border: 2px solid #e8e8e8;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.application-section .service-option.selected {
    border-color: #1890ff;
    box-shadow: 0 0 0 1px #1890ff;
}

.application-section .service-option.selected .price {
    color: #1890ff;
}

.application-section .service-option.selected h4,
.application-section .service-option.selected h5 {
    color: #1890ff;
}

.application-section .service-option:hover {
    border-color: #40a9ff;
}

.application-section .price {
    color: #1890ff;
    font-weight: 500;
}

/* Additional Select2 Styles */
.application-section .select2-container--bootstrap-5 {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    min-width: 0 !important;
}

.application-section .select2-container--bootstrap-5 .select2-selection {
    height: 48px !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    overflow: hidden !important;
    max-width: 100% !important;
}

.application-section .select2-container--bootstrap-5 .select2-selection--single {
    overflow: hidden !important;
    position: relative !important;
}

.application-section .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    padding-right: 0px !important;
    line-height: 1.5;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: calc(100% - 0px) !important;
    display: block !important;
}

.application-section .select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
    height: 46px;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 2.5rem !important;
}

.application-section .select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field {
    border-radius: 4px;
    height: 38px;
    padding: 0.375rem 0.75rem;
}

.application-section .select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option {
    padding: 0.5rem 1rem;
}

.application-section .summary-footer {
    border-top: 1px solid #eaeaea;
    padding-top: 1rem;
}

.application-section .summary-footer {
    font-size: 10px;
}

/* Navigation buttons layout for mobile */
@media (max-width: 767.98px) {
    .application-section .form-navigation {
        flex-direction: column;
    }

    .application-section .form-navigation .btn {
        margin-bottom: 0.5rem;
        width: 100%;
    }

    .application-section .form-navigation .btn-primary {
        order: 1;
    }

    .application-section .form-navigation .btn-outline-secondary {
        order: 2;
    }

    .application-section .date-selector-container {
        flex-direction: column;
    }

    /* Progress steps are completely hidden on mobile via the styles above */
}

/* Navigation buttons size for desktop */
@media (min-width: 768px) {
    .application-section .form-navigation .btn-primary {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .application-section .form-navigation .btn-outline-secondary {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Review & Submit Section Styles */
.application-section .review-section {
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    background-color: #f8f9fa;
}

.application-section .review-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.application-section .review-section p {
    margin-bottom: 0.75rem;
}

.application-section .terms-group {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.application-section .terms-group a {
    text-decoration: underline;
}

.application-section #submit-application {
    padding: 0.8rem 2.5rem;
    font-weight: 500;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    background-color: #28a745;
    border-color: #28a745;
    transition: all 0.3s ease;
}

.application-section #submit-application:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Main Calendar Styles */
.application-section .date-selector {
    margin-bottom: 1.5rem;
    position: relative;
    flex: 1;
    min-width: 280px;
}

.application-section .date-selector-input {
    position: relative;
}

.application-section .date-title {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: #495057;
}

.application-section .calendar-container {
    position: relative;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    margin-top: 0.5rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.application-section .calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.application-section .weekday {
    padding: 10px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6c757d;
}

.application-section .calendar-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(6, 1fr);
    padding: 5px;
    height: 250px; /* Fixed height to ensure consistency */
}

.application-section .calendar-day:hover {
    background-color: #f8f9fa;
}

.application-section .calendar-day.selected {
    background-color: #007bff;
    color: white;
}

.application-section .calendar-day.today {
    color: #007bff;
    font-weight: bold;
}

.application-section .calendar-day.selected.today {
    color: white;
}

.application-section .calendar-day.empty {
    cursor: default;
}

.application-section .calendar-day.disabled {
    color: #dee2e6 !important;
    cursor: not-allowed;
}

.application-section .calendar-day.disabled:hover {
    background-color: transparent;
}

/* Invalid calendar highlighting */
.application-section .date-selector.invalid .calendar-container {
    border: 1px solid #ff4d4f !important;
    background-color: #fff2f0;
}

.application-section .error .calendar-container {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.application-section .date-selectors {
    display: flex;
    gap: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.application-section .date-field {
    flex: 1;
}

.application-section .date-field label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: #495057;
}

.application-section .date-field select {
    height: 48px; /* Consistent height with other form controls */
}

/* Calendar container layout */
.application-section .date-selector-container {
    display: flex;
    gap: 30px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Form Validation Styles */
.application-section .is-invalid {
    border-color: #ff4d4f !important;
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2) !important;
}

.application-section .field-error {
    font-size: 0.75rem;
    color: #ff4d4f;
    margin-top: 0.25rem;
}

/* Gender Selection Styles */
.gender-selection-container {
    margin-bottom: 2rem;
}

.gender-label {
    display: block;
    font-weight: 600;
    color: #475569;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    margin-bottom: 1rem;
}

.gender-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.gender-option {
    flex: 1;
    min-width: 150px;
    cursor: pointer;
}

.gender-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.gender-card {
    border: 2px solid #cbd5e1;
    border-radius: 0.75rem;
    padding: 1.5rem;
    background: #f8fafc;
    transition: all 0.2s ease;
    text-align: center;
}

.gender-card:hover {
    border-color: #06b6d4;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.1);
}

.gender-option input[type="radio"]:checked + .gender-card {
    border-color: #06b6d4;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

.gender-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.gender-icon {
    width: 48px;
    height: 48px;
    stroke-width: 2;
    color: #64748b;
}

.gender-option input[type="radio"]:checked + .gender-card .gender-icon {
    color: #06b6d4;
}

.gender-card.male {
    color: #64748b;
    font-weight: 500;
}

.gender-card.female {
    color: #64748b;
    font-weight: 500;
}

@media (max-width: 768px) {
    .gender-options {
        flex-direction: column;
    }
    
    .gender-option {
        min-width: 100%;
    }
}

/* Payment Styles */
.payment-container {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 0 !important;
}

/* Remove padding in responsive view */
@media (max-width: 991px) {
    .application-section .container {
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .application-section .content-box {
        padding: 1rem !important;
    }
    .payment-container {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .payment-left {
        padding-right: 0 !important;
    }
    .payment-body {
        height: 342px !important;
        min-height: 0 !important;
    }
    
    /* Make main-content-area full width in responsive */
    .main-content-area {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Make payment container full width in responsive */
    #payment-container:not(.d-none) ~ *,
    #payment-container:not(.d-none) {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    #payment-container:not(.d-none) .main-content-area,
    .main-content-area.col-12 {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .application-section .content-box {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Step 3 responsive adjustments - only for very small screens */
@media (max-width: 440px) {
    .processing-option .form-check-label .d-flex {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem;
        text-align: center !important;
    }
    
    .processing-option .form-check-label .text-end {
        text-align: center !important;
        width: 100%;
    }
    
    .processing-option .form-check-label > div > div {
        text-align: center !important;
    }
    
    .processing-option .form-check-label strong {
        text-align: center !important;
    }
    
    .processing-option {
        padding: 1rem !important;
        text-align: center !important;
    }
    
    .form-navigation {
        flex-direction: column !important;
        gap: 0.75rem;
    }
    
    .form-navigation button {
        width: 100% !important;
    }
}

/* Make payment container wider when visible */
#payment-container:not(.d-none) ~ *,
#payment-container:not(.d-none) {
    max-width: 1200px !important;
}

#payment-container:not(.d-none) .main-content-area,
.main-content-area.col-12 {
    max-width: 1200px !important;
}

.payment-left {
    padding-right: 2rem;
}

.payment-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1890ff;
    margin-bottom: 0.5rem;
}

.payment-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f0f9ff;
    border-radius: 8px;
}

.security-badge i {
    color: #1890ff;
    font-size: 1.25rem;
}

.security-badge p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.payment-body {
    position: relative;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    height: 380px;
}

.payment-iframe {
    width: 99%;
    height: 380px;
    border: none;
    display: block;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.secure-badge-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #666;
    font-size: 0.875rem;
}

.secure-badge-footer i {
    color: #28a745;
}

.payment-right {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

.order-details {
    margin-top: 1.5rem;
}

.order-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.order-label {
    font-weight: 500;
    color: #666;
}

.order-value {
    font-weight: 600;
    color: #333;
    text-align: end;
}

.benefits-list {
    margin-top: 1.5rem;
}

.benefits-list h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.benefit-item i {
    color: #28a745;
    margin-top: 0.25rem;
}

.benefit-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}