div.account-panel a.selected {
    color: #d05329;
}

.card {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.card-header {
    padding: 0.75rem 1.25rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    font-size: 1rem;
}

.card-title {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: bold;
}

.card-body {
    padding: 1.25rem;
    color: #212529;
}

.card-footer {
    padding: 0.75rem 1.25rem;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

fieldset {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 2rem 1.25rem;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
}

legend {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgb(230, 183, 12);
    padding: 0 10px;
    background-color: #fff;
    position: absolute;
    top: -0.8rem;
    left: 1rem;
    z-index: 1;
}

/* FORM GROUP */
.form-group {
    margin-bottom: 1rem;
}

/* FORM CONTROL (input, textarea, select) */
.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-sizing: border-box;
}

/* Focus State */
.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

/* Disabled State */
.form-control:disabled,
.form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
    cursor: not-allowed;
}

.image-upload-section {
    margin-top: 30px;
}

.section-title {
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-justify {
    text-align: justify !important;
}

.required {
    color: red;
}

.info-icon {
    font-size: 14px;
    cursor: help;
    color: #007bff;
}

.note {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.image-upload-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px 12px;
}

.image-slot {
    text-align: center;
    display: inline-block;
    margin: 0 10px;
}

.upload-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 100px;
    margin: auto;
    border: 2px dashed #ccc;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.upload-box:hover {
    border-color: #007bff;
}

.plus-icon {
    font-size: 28px;
    color: #888;
}

.img-label {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
    margin-bottom: 2px;
}

.img-label.cover {
    color: red;
    font-weight: bold;
}

.set_default_img_container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 5px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 11px;
    font-weight: 500;
    color: #6c757d;
}

.set_default_radio {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid currentColor;
    position: relative;
    transition: all 0.3s ease;
}

.set_default_label {
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.search-alert-box {
    border: 1px solid #ccc;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin: 20px auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-family: Arial, sans-serif;
}

.search-alert-box .copy_instruction {
    color: #2c5aa0;
    font-size: 14px;
    line-height: 1.5;
    margin: 10px 0;
    background-color: #e3f2fd;
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 4px solid #2196f3;
}

.search-alert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.search-toggle-btn {
    font-size: 18px;
    width: 30px;
    height: 30px;
    border: 1px solid #007bff;
    background-color: #fff;
    color: #007bff;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.search-toggle-btn:hover {
    background-color: #007bff;
    color: #fff;
}

.search-alert-body {
    margin-top: 10px;
}

.custom_row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Base column */
.col {
    flex: 1 1 0;
}

[class*="col-"] {
    box-sizing: border-box;
}

/* 12-column system adjusted for gap */
.col-1 {
    flex: 0 0 calc(8.33% - 13.33px);
    max-width: calc(8.33% - 13.33px);
}

.col-2 {
    flex: 0 0 calc(16.66% - 13.33px);
    max-width: calc(16.66% - 13.33px);
}

.col-3 {
    flex: 0 0 calc(25% - 13.33px);
    max-width: calc(25% - 13.33px);
}

.col-4 {
    flex: 0 0 calc(33.33% - 13.33px);
    max-width: calc(33.33% - 13.33px);
}

.col-5 {
    flex: 0 0 calc(41.66% - 13.33px);
    max-width: calc(41.66% - 13.33px);
}

.col-6 {
    flex: 0 0 calc(50% - 13.33px);
    max-width: calc(50% - 13.33px);
}

.col-7 {
    flex: 0 0 calc(58.33% - 13.33px);
    max-width: calc(58.33% - 13.33px);
}

.col-8 {
    flex: 0 0 calc(66.66% - 13.33px);
    max-width: calc(66.66% - 13.33px);
}

.col-9 {
    flex: 0 0 calc(75% - 13.33px);
    max-width: calc(75% - 13.33px);
}

.col-10 {
    flex: 0 0 calc(83.33% - 13.33px);
    max-width: calc(83.33% - 13.33px);
}

.col-11 {
    flex: 0 0 calc(91.66% - 13.33px);
    max-width: calc(91.66% - 13.33px);
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (max-width: 768px) {

    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-10,
    .col-11,
    .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.sidebar-box {
    position: fixed;
    margin-top: 2rem;
    margin-right: 2rem;
}

/* Improve Box */
.improve-box {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    border: 1px solid #eee;
    position: relative;
}

.ribbon {
    background-color: orange;
    color: white;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 5px 5px 0 0;
    font-size: 14px;
    margin: -10px -10px 10px -10px;
    text-align: center;
}

.valid-status {
    background-color: #fff4e5;
    color: #444;
    font-size: 13px;
    padding: 6px;
    text-align: center;
    border-bottom: 1px solid orange;
}

.improve-text {
    text-align: center;
    font-weight: bold;
    color: orange;
    padding: 6px;
    font-size: 13px;
}

/* Tips Box */
.tips-box {
    background: #f1f5fb;
    border-radius: 8px;
    border: 1px solid #ccddee;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
}

.tips-header {
    background: #2c3e50;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    font-size: 14px;
    border-radius: 8px 8px 0 0;
}

.tips-content {
    font-size: 14px;
    color: #333;
    padding: 12px;
    max-height: 160px;
    overflow-y: auto;
    text-align: justify;
}

.min_height_ck_editor div.ck-editor__editable {
    min-height: 200px;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border: 1px solid #dee2e6 !important;
}

.table thead th {
    vertical-align: bottom;
    background-color: #f8f9fa;
}

.btn_remove_copy {
    cursor: pointer;
}

.see-more-container {
    position: relative;
    padding-left: 5px;
    font-size: 14px;
    color: #555;
}

.see-more-text {
    display: inline;
}

.see-more-text .hidden-content {
    display: none;
}

.see-more-text.expanded .hidden-content {
    display: inline;
}

.see-more-toggle {
    background: none;
    border: none;
    color: #007bff;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    margin-left: 5px;
}

.see-more-toggle:hover {
    text-decoration: underline;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

@media (max-width: 768px) {
    .buttons {
        flex-direction: column;
        gap: 15px;
    }
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

.btn-md {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
}

.btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    border-radius: 0.3rem;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

.btn-warning {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
}

.btn-info {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-info:hover {
    background-color: #138496;
    border-color: #117a8b;
}

.btn-light {
    color: #212529;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-light:hover {
    background-color: #e2e6ea;
    border-color: #dae0e5;
}

.btn-dark {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}

.btn-dark:hover {
    background-color: #23272b;
    border-color: #1d2124;
}


.btn:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.bg-primary {
    background-color: #007bff !important;
    color: #fff;
}

.bg-secondary {
    background-color: #6c757d !important;
    color: #fff;
}

.bg-success {
    background-color: #28a745 !important;
    color: #fff;
}

.bg-danger {
    background-color: #dc3545 !important;
    color: #fff;
}

.bg-warning {
    background-color: #ffc107 !important;
    color: #212529;
}

.bg-info {
    background-color: #17a2b8 !important;
    color: #fff;
}

.bg-light {
    background-color: #f8f9fa !important;
    color: #212529;
}

.bg-dark {
    background-color: #343a40 !important;
    color: #fff;
}

.bg-white {
    background-color: #ffffff !important;
    color: #212529;
}

.bg-transparent {
    background-color: transparent !important;
}

.table-primary {
    background-color: #cce5ff;
    color: #004085;
}

.table-secondary {
    background-color: #e2e3e5;
    color: #383d41;
}

.table-success {
    background-color: #d4edda;
    color: #155724;
}

.table-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.table-warning {
    background-color: #fff3cd;
    color: #856404;
}

.table-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.table-light {
    background-color: #fefefe;
    color: #818182;
}

.table-dark {
    background-color: #d6d8d9;
    color: #1b1e21;
}

.btn-default {
    color: #212529;
    background-color: #ced4da;
    border: 1px solid #ced4da;
}

.btn-default:hover {
    background-color: #e2e6ea;
    border-color: #dae0e5;
}

/* Modal Overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-dialog {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 5% auto;
}

.modal-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    font-family: "Segoe UI", sans-serif;
}

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

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

.close-modal {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.close-modal:hover {
    color: red;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

.input-with-ai {
    position: relative;
    display: flex;
}

.ai_icon_button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 22px;
    border: none;
    background-color: transparent;
    background-image: url('https://cdn.bdstall.com/static-image/ai_icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    padding: 0;
}

.ai_icon_button:hover {
    background-color: transparent !important;
}

/* Tooltip styles - Top placement only */
.tooltip {
    position: absolute;
    z-index: 1070;
    display: none;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
    margin-bottom: 5px;
}

.tooltip.show {
    display: block;
    opacity: 1;
}

.tooltip-inner {
    max-width: 200px;
    padding: 6px 12px;
    color: white;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

.tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    bottom: -8px;
    left: 50%;
    margin-left: -8px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #764ba2;
}

.ai_generate_button {
    display: inline-block;
    padding: 2px 5px;
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    color: #fff;
    font-weight: 600;
    font-size: 11px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
    margin: 8px;
    user-select: none;
    animation: pulse 6s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(59, 130, 246, 0);
    }
}

/* tab */

.stall_tabs_container {
    display: flex;
    background: #f8f9fa;
    overflow-x: auto;
    border-bottom: 2px solid #e9ecef;
}

.tab_stall {
    flex: 1;
    padding: 5px 10px;
    text-align: center;
    cursor: pointer;
    background: #f8f9fa;
    border: none;
    transition: all 0.3s ease;
    font-weight: 600;
    min-width: 140px;
    position: relative;
    height: inherit;
    letter-spacing: inherit;
}

.tab_stall.active {
    background: #007bff;
    color: white;
}

.tab.completed {
    background: #28a745;
    color: white;
}

.tab_stall.completed::after {
    content: '✓';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.tab-content {
    display: none;
    padding: 20px 40px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stall_form_step_header {
    text-align: center;
    margin-bottom: 30px;
}

.stall_form_step_title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: inherit;
    letter-spacing: inherit;
    font-weight: normal;
}

.stall_form_step_description {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Progress Step Design */
.progress-container {
    margin: 0 35px;
    border: 2px solid beige;
    padding: 10px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 30px;
    right: 30px;
    height: 2px;
    background-color: #ddd;
    z-index: 1;
}

.progress-line {
    position: absolute;
    top: 15px;
    left: 30px;
    height: 2px;
    background-color: #dc3545;
    transition: width 0.3s ease;
    z-index: 2;
    max-width: calc(100% - 50px);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
}

.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: white;
    background-color: #ddd;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.step-circle.active {
    background-color: #F78420;
    border-color: #F78420;
    transform: scale(1.1);
}

.step-circle.completed {
    background-color: #28a745;
    border-color: #28a745;
}

.step-label {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

.step-label.active {
    font-weight: 600;
}

/* option card */
.option-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.option-card {
    position: relative;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: white;
}

.option-card:hover {
    border-color: #007bff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.15);
}

.option-card.selected {
    border-color: #007bff;
    background: #f0f8ff;
}

.option-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
}

.option-card.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: #e9ecef;
}

.option-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.option-card .title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.option-card .description {
    color: #6c757d;
    line-height: 1.4;
}

.option-card .price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #28a745;
    margin-top: 10px;
}

.option-card .price.free {
    color: #28a745;
}

.option-card .price.subscription {
    color: #fd7e14;
}

.option-card .price.commission {
    color: #17a2b8;
}

@media (max-width: 768px) {
    .option-cards {
        grid-template-columns: 1fr;
    }
}

.document-options {
    display: none;
}

.document-options.show {
    display: block;
}

.badge-preview {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    margin: 10px 0;
}

.badge-green {
    background: #d4edda;
    color: #155724;
}

.badge-yellow {
    background: #fff3cd;
    color: #856404;
}

.badge-maroon {
    background: #f8d7da;
    color: #721c24;
}

.badge-personal {
    background: #d1ecf1;
    color: #0c5460;
}

.alert {
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    font-weight: 500;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* === Spacing scale ===
   0 = 0
   1 = 0.25rem (4px)
   2 = 0.5rem  (8px)
   3 = 1rem    (16px)
   4 = 1.5rem  (24px)
   5 = 3rem    (48px)
*/

/* Margin (m) */
.m-0 {
    margin: 0 !important;
}

.m-1 {
    margin: 0.25rem !important;
}

.m-2 {
    margin: 0.5rem !important;
}

.m-3 {
    margin: 1rem !important;
}

.m-4 {
    margin: 1.5rem !important;
}

.m-5 {
    margin: 3rem !important;
}

/* Margin Top */
.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

/* Margin Bottom */
.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

/* Margin Left */
.ml-0 {
    margin-left: 0 !important;
}

.ml-1 {
    margin-left: 0.25rem !important;
}

.ml-2 {
    margin-left: 0.5rem !important;
}

.ml-3 {
    margin-left: 1rem !important;
}

.ml-4 {
    margin-left: 1.5rem !important;
}

.ml-5 {
    margin-left: 3rem !important;
}

/* Margin Right */
.mr-0 {
    margin-right: 0 !important;
}

.mr-1 {
    margin-right: 0.25rem !important;
}

.mr-2 {
    margin-right: 0.5rem !important;
}

.mr-3 {
    margin-right: 1rem !important;
}

.mr-4 {
    margin-right: 1.5rem !important;
}

.mr-5 {
    margin-right: 3rem !important;
}

/* Margin X (Left & Right) */
.mx-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.mx-1 {
    margin-left: 0.25rem !important;
    margin-right: 0.25rem !important;
}

.mx-2 {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
}

.mx-3 {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
}

.mx-4 {
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
}

.mx-5 {
    margin-left: 3rem !important;
    margin-right: 3rem !important;
}

/* Margin Y (Top & Bottom) */
.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.my-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}

.my-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.my-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

/* === Padding (p) === */
.p-0 {
    padding: 0 !important;
}

.p-1 {
    padding: 0.25rem !important;
}

.p-2 {
    padding: 0.5rem !important;
}

.p-3 {
    padding: 1rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

.p-5 {
    padding: 3rem !important;
}

/* Padding Top */
.pt-0 {
    padding-top: 0 !important;
}

.pt-1 {
    padding-top: 0.25rem !important;
}

.pt-2 {
    padding-top: 0.5rem !important;
}

.pt-3 {
    padding-top: 1rem !important;
}

.pt-4 {
    padding-top: 1.5rem !important;
}

.pt-5 {
    padding-top: 3rem !important;
}

/* Padding Bottom */
.pb-0 {
    padding-bottom: 0 !important;
}

.pb-1 {
    padding-bottom: 0.25rem !important;
}

.pb-2 {
    padding-bottom: 0.5rem !important;
}

.pb-3 {
    padding-bottom: 1rem !important;
}

.pb-4 {
    padding-bottom: 1.5rem !important;
}

.pb-5 {
    padding-bottom: 3rem !important;
}

/* Padding Left */
.pl-0 {
    padding-left: 0 !important;
}

.pl-1 {
    padding-left: 0.25rem !important;
}

.pl-2 {
    padding-left: 0.5rem !important;
}

.pl-3 {
    padding-left: 1rem !important;
}

.pl-4 {
    padding-left: 1.5rem !important;
}

.pl-5 {
    padding-left: 3rem !important;
}

/* Padding Right */
.pr-0 {
    padding-right: 0 !important;
}

.pr-1 {
    padding-right: 0.25rem !important;
}

.pr-2 {
    padding-right: 0.5rem !important;
}

.pr-3 {
    padding-right: 1rem !important;
}

.pr-4 {
    padding-right: 1.5rem !important;
}

.pr-5 {
    padding-right: 3rem !important;
}

/* Padding X (Left & Right) */
.px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.px-1 {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
}

.px-2 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.px-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.px-5 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

/* Padding Y (Top & Bottom) */
.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.py-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.d-flex {
    display: flex !important;
}

.justify-content-start {
    justify-content: flex-start !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-around {
    justify-content: space-around !important;
}

.justify-content-evenly {
    justify-content: space-evenly !important;
}

/* Stall List */
.card_list_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stall-title {
    font-size: 18px;
    font-weight: bold;
    color: #228B22;
}

.list-count {
    font-size: 14px;
    color: #666;
}

.search-panel {
    background: #f9f9f9;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 0px;
}

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

.search-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

.search-select {
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 13px;
    background: white;
}

.search-input {
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 13px;
    width: 150px;
}

.stall-list {
    padding: 0;
}

.stall-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    align-items: flex-start;
    gap: 20px;
}

.stall-item:last-child {
    border-bottom: none;
}

.stall-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.stall-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stall-details {
    flex: 1;
}

.stall-name {
    font-size: 16px;
    font-weight: bold;
    color: #228B22;
    text-decoration: none;
    margin-bottom: 8px;
    display: block;
}

.stall-name:hover {
    text-decoration: underline;
}

.stall-address {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.stall-info {
    font-size: 13px;
    margin-bottom: 4px;
    color: #555;
}

.stall-info strong {
    color: #333;
}

.plan-none {
    color: #ff0000;
    font-weight: bold;
}

.action-buttons {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 4px 8px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    font-size: 12px;
    border: 1px solid #ccc;
    white-space: nowrap;
}

.action-btn:hover {
    background: #e0e0e0;
}

.stall-stats {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    min-width: 200px;
}

.stats-title {
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
    text-align: center;
    text-decoration: underline;
}

.stats-grid {
    display: grid;
    gap: 8px;
    font-size: 0.9em;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stall_verification_badge {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.stall_verified_icon {
    width: 30px;
    height: 30px;
    background: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .search-group {
        justify-content: space-between;
    }

    .search-select,
    .search-input {
        min-width: auto;
        flex: 1;
    }

    .stall-item {
        flex-direction: column;
        gap: 15px;
    }

    .stall-stats {
        text-align: left;
        min-width: auto;
    }
}

/* list group */
.list-group {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: 0.25rem;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 0.75rem 1.25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    color: #212529;
    text-decoration: none;
}

.list-group-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.list-group-item .radio-input {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
}

.list-group-item .option-label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Remove border from first and last if needed */
.list-group-item:first-child {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.list-group-item:last-child {
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

/* Hover */
.list-group-item:hover {
    z-index: 1;
    background-color: #f8f9fa;
}

/* Active Item */
.list-group-item.active {
    z-index: 2;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

/* settings page */

.setting_stall_title {
    color: #4CAF50;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.setting_last_updated {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.setting_last_updated .admin-name {
    color: red;
    font-weight: bold;
}

.setting_total_limit {
    margin-bottom: 30px;
    font-size: 16px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.setting-item {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.setting-item label {
    color: #4CAF50;
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.setting-item input,
.setting-item label {
    width: 100%;
    padding: 6px 0 6px 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* plan page */

.plan_due_amount {
    background: #fff3cd;
    color: #856404;
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    font-size: 16px;
    font-weight: 500;
    border-left: 4px solid #ffc107;
}

.plan_form_content {
    background: #fafafa;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #e8e8e8;
}

.plan_form_label {
    background: #e0e0e0;
    color: #666;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    min-width: 120px;
    text-align: center;
    margin-right: 25px;
    flex-shrink: 0;
}

.plan_currency_text {
    color: #666;
    font-size: 14px;
    margin-left: 10px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {

    .plan_form_content {
        padding: 20px;
    }

    .plan_form_label {
        margin-right: 0;
        margin-bottom: 10px;
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {

    .plan_form_content {
        padding: 15px;
    }

    .plan_due_amount {
        font-size: 14px;
        padding: 10px 15px;
    }
}

/* plan preview page */
.plan_preview_form_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.plan_preview_form_row:last-child {
    border-bottom: none;
}

.plan_preview_form_label {
    font-size: 16px;
    font-weight: 400;
    color: #333;
}

.plan_preview_form_value {
    font-size: 16px;
    font-weight: 400;
    color: #b8860b;
}

.plan_preview_form_value.price {
    font-weight: 500;
}

@media (max-width: 600px) {
    .plan_preview_form_row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .plan_preview_form_value {
        align-self: flex-end;
    }
}

/* Edit Stall page */
.edit_stall_total_due {
    color: #dc3545;
    font-weight: bold;
}

.edit_stall_url_field {
    color: #007bff;
}

.edit_stall_sidebar_item {
    margin-bottom: 30px;
    background: white;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.edit_stall_sidebar_title {
    color: #28a745;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 15px;
}

.edit_stall_image_preview {
    width: 80px;
    height: 60px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.edit_stall_image_preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.file-input {
    font-size: 12px;
    width: 100%;
}

.edit_stall_submit_section {
    text-align: center;
    padding: 30px;
    border-top: 1px solid #e9ecef;
}

.disabled-link {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}