.d-none{
    display: none;
}

.profile_sidebar {
    border-top: 1px solid #e5e5e5;
    padding-top: 15px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: 0.3s ease;
    font-size: 14px;
}

.sidebar-link i {
    font-size: 15px;
    width: 18px;
}

.sidebar-link:hover {
    background: #f2f4f8;
    color: #000;
}

.sidebar-link.active {
    background: #1e73be;   /* or your primary color */
    color: #fff;
}

/* Dashboard Header */
.dashboard-header {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 12px;
}



/* Name */
.dashboard-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

/* Meta info */
.dashboard-meta {
    font-size: 13px;
    color: #777;
}

/* Stats Section */
.dashboard-stats {
    flex-wrap: wrap;
}

/* Stat Box */
.stat-box {
    background: #f8fafc;
    padding: 12px 18px;
    border-radius: 10px;
    text-align: center;
    min-width: 110px;
    transition: 0.3s ease;
}

.stat-box span {
    font-size: 12px;
    color: #777;
    display: block;
}

.stat-box h4 {
    font-size: 16px;
    margin-top: 5px;
    font-weight: 600;
}

.stat-box:hover {
    background: #1e73be;
    color: #fff;
}

.stat-box:hover span {
    color: #fff;
}

.tab-menu {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.tab-link {
    padding: 10px 18px;
    border-radius: 8px 8px 0 0;
    font-weight: 500;
    color: #666;
    transition: 0.3s ease;
}

.tab-link:hover {
    background: #f4f6f9;
}

.tab-link.active {
    background: #fff;
    color: #1e73be;
    border-bottom: 2px solid #1e73be;
}

.table-wrap {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    padding: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: #f8fafc;
}

th {
    text-align: left;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

tbody tr:hover {
    background: #f9fbfd;
}

.dashboard-top {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.dashboard-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
}

.dashboard-title {
    font-size: 20px;
    font-weight: 600;
}

.dashboard-sub {
    font-size: 13px;
    color: #777;
}

.dashboard-cards {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card-box {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    padding: 20px;
    border-radius: 12px;
    transition: 0.3s ease;
    border: 1px solid #f1f1f1;
}

.card-box span {
    font-size: 13px;
    color: #777;
}

.card-box h3 {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
}

.card-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.verified-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.verified-badge.verified {
    background: #e6f7ee;
    color: #1f9d55;
}

.verified-badge.not-verified {
    background: #fdecea;
    color: #e3342f;
}

/* Section */
.dashboard-section {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 20px;
    font-weight: 600;
}

.section-sub {
    font-size: 13px;
    color: #777;
    margin-top: 3px;
}

/* Modern Table */
.modern-table {
    margin-top: 20px;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
}

.product-table th {
    padding: 14px;
    background: #f8fafc;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    color: #555;
}

.product-table td {
    padding: 14px;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
    vertical-align: middle;
}

.product-table tbody tr:hover {
    background: #f9fbfd;
}

/* Thumbnail */
.product-thumb {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    object-fit: cover;
}

/* Badges */
.ev-badge {
    background: #eef2ff;
    color: #4338ca;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.mode-badge {
    background: #ecfdf5;
    color: #059669;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.settlement-badge {
    background: #fff7ed;
    color: #ea580c;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* Action Buttons */
.action-buttons-user {
    display: flex;
    gap: 8px;
}

.btn-action {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-action.view {
    background: #e0f2fe;
    color: #0284c7;
}

.btn-action.edit {
    background: #fef9c3;
    color: #ca8a04;
}

.btn-action.delete {
    background: #fee2e2;
    color: #dc2626;
}

.btn-action:hover {
    transform: scale(1.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header-left {
    display: flex;
    flex-direction: column;
}

.header-right {
    display: flex;
    align-items: center;
}

.add-product-btn {
    font-weight: 500;
}
/* Verified Badge */
.verify-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.verify-badge.verified {
    background: #e6f7ee;
    color: #1f9d55;
}

.verify-badge.not-verified {
    background: #fdecea;
    color: #e3342f;
}

/* Note Message */
.verify-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.verify-note {
    font-size: 11px;
    color: #888;
    max-width: 200px;
}
.alert-success {
    background: #e6f7ee;
    color: #1f9d55;
    padding: 12px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.alert-danger {
    background: #db9b9b;
    color: #b41d17;
    padding: 12px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.alert-success i {
    margin-right: 8px;
}
.alert-danger i {
    margin-right: 8px;
}

.close-alert {
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
}

/* ========================= */
/* Modern Form Styles (Scoped) */
/* ========================= */

.modern-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.modern-form label {
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
}

.modern-form input[type="text"],
.modern-form input[type="date"],
.modern-form input[type="number"],
.modern-form input[type="file"],
.modern-form select,
.modern-form textarea {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    color: #333;
    width: 100%;
    transition: all 0.3s ease;
    outline: none;
}

.modern-form input[type="text"]:focus,
.modern-form input[type="date"]:focus,
.modern-form input[type="number"]:focus,
.modern-form select:focus,
.modern-form textarea:focus {
    border-color: #1c6dd0;
    box-shadow: 0 0 5px rgba(28, 109, 208, 0.3);
}

.modern-form input:disabled,
.modern-form select:disabled,
.modern-form textarea:disabled {
    background-color: #f2f2f2;
    cursor: not-allowed;
    color: #777;
}

.modern-form textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 250px;
}

.modern-form .form-select.custom {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='gray' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 5.646a.5.5 0 0 1 .708 0L8 11.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    cursor: pointer;
}

.modern-form .form-select.custom option:first-child {
    color: #999;
}

.modern-form .custom-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.modern-form .custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.modern-form .custom-switch .switch-label {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 26px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.3s;
}

.modern-form .custom-switch .switch-label::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
   
    left: 2px;
    transition: 0.3s;
}

.modern-form .custom-switch input:checked + .switch-label {
    background-color: #1c6dd0;
}

.modern-form .custom-switch input:checked + .switch-label::after {
    transform: translateX(24px);
}

.modern-form button,
.modern-form .btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.modern-form .btn-main-bg {
    background-color: #1c6dd0;
    color: #fff;
}

.modern-form .btn-main-bg:hover {
    background-color: #155aa6;
}

.modern-form .btn-gray-br {
    background-color: #f2f2f2;
    color: #333;
}

.modern-form .btn-gray-br:hover {
    background-color: #e0e0e0;
}

.modern-form .btn-group {
    display: flex;
    gap: 10px;
}

.modern-form #image-preview-section img,
.modern-form #video-preview-section video {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.modern-form #other-images-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 6px;
}

.modern-form #other-images-wrapper th,
.modern-form #other-images-wrapper td {
    padding: 8px 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.modern-form #other-images-wrapper th {
    background-color: #f1f1f1;
}

.modern-form .other-image-preview {
    max-width: 80px;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.modern-form #suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    z-index: 9999;
    max-height: 180px;
    overflow-y: auto;
    display: none;
}

.modern-form .suggestion-item {
    padding: 8px;
    cursor: pointer;
    font-size: 14px;
}

.modern-form .suggestion-item:hover {
    background: #f2f2f2;
}

/* Map Modal */
.modern-form #mapModal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modern-form #mapContainer {
    width: 80%; max-width: 600px;
    height: 450px;
    background: #fff;
    position: relative;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modern-form #selectedAddressDisplay {
    padding: 10px;
    background: #f0f0f0;
    font-weight: bold;
    display: block; 
    text-align: center;
    min-height: 20px;
}

.modern-form #closeMap {
    position: absolute; top: 10px; right: 10px;
    font-size: 24px; cursor: pointer; z-index: 1001;
}

.modern-form #map { flex: 1; }

.modern-form #selectAddressBtn {
    padding: 10px;
    background: #1c6dd0;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.modern-form #selectAddressBtn:hover { background: #155aa6; }

/* ============================ */
/* Responsive Modern Form Styles */
/* ============================ */

@media (max-width: 1200px) {
    .modern-form .form-group.colg-4,
    .modern-form .form-group.colg-6,
    .modern-form .form-group.colg-12 {
        width: 100% !important;  /* Stack all fields */
    }

    .modern-form .btn-group {
        flex-direction: column;
        gap: 8px;
    }

    .modern-form #other-images-wrapper table,
    .modern-form #other-images-wrapper th,
    .modern-form #other-images-wrapper td {
        font-size: 13px;
    }

    .modern-form #other-images-wrapper .other-image-preview {
        max-width: 60px;
        max-height: 60px;
    }

    .modern-form #image-preview-section img,
    .modern-form #video-preview-section video {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .modern-form .dashboard-section .section-header {
        flex-direction: column;
        gap: 10px;
    }

    .modern-form .custom-switch {
        width: 45px;
        height: 22px;
    }

    .modern-form .custom-switch .switch-label::after {
        width: 20px;
        height: 20px;
        transform: translateX(22px);
    }

    .modern-form #mapContainer {
        width: 90%;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .modern-form .form-group label {
        font-size: 13px;
    }

    .modern-form input,
    .modern-form select,
    .modern-form textarea {
        font-size: 13px;
        padding: 8px 10px;
    }

    .modern-form #selectAddressBtn {
        font-size: 14px;
        padding: 8px;
    }
}

.section-header-edit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}

 .section-header-edit .section-title {
    font-size: 22px;
    font-weight: 600;
    color: #1e73be; /* Primary color */
    margin: 0;
}

.section-header-edit .section-sub {
    font-size: 14px;
    color: #777;
    margin: 0;
}

@media (max-width: 768px) {
    .section-header-edit {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .section-header-edit .section-title {
        font-size: 20px;
    }

   .section-header-edit .section-sub {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
     .section-header-edit .section-title {
        font-size: 18px;
    }

    .section-header-edit .section-sub {
        font-size: 12px;
    }
}
.sb-overlay {
    display: none; position: fixed; inset: 0; z-index: 99999;
    background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
    align-items: center; justify-content: center;
}
.sb-overlay.open { display: flex; }
 
.sb-modal {
    background: #fff; border-radius: 18px;
    width: 100%; max-width: 440px; margin: 0 16px;
    box-shadow: 0 24px 80px rgba(0,0,0,.2);
    overflow: hidden; animation: sbSlideUp .25s ease;
}
@keyframes sbSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
 
/* Header */
.sb-header {
    background: linear-gradient(135deg, #1a56db 0%, #3b82f6 100%);
    padding: 20px 22px 18px;
    display: flex; align-items: center; justify-content: space-between;
}
.sb-header-left h4 {
    margin: 0; color: #fff; font-size: 1rem; font-weight: 800;
}
.sb-header-left p {
    margin: 3px 0 0; color: rgba(255,255,255,.75); font-size: .75rem;
}
.sb-close {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,.2); border: none;
    color: #fff; font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.sb-close:hover { background: rgba(255,255,255,.35); }
 
/* Balance badge */
.sb-balance-badge {
    margin: 16px 22px 0;
    background: #eff6ff; border: 1.5px solid #bfdbfe;
    border-radius: 10px; padding: 10px 14px;
    display: flex; align-items: center; justify-content: space-between;
}
.sb-balance-badge span { font-size: .75rem; font-weight: 700; color: #1d4ed8; }
.sb-balance-badge strong { font-size: .95rem; font-weight: 900; color: #1e3a8a; }
 
/* Body */
.sb-body { padding: 18px 22px 22px; }
 
/* Steps */
.sb-steps {
    display: flex; gap: 0; margin-bottom: 20px;
    background: #f8fafc; border-radius: 8px; overflow: hidden;
    border: 1px solid #e2e8f0;
}
.sb-step {
    flex: 1; padding: 8px 10px; text-align: center;
    font-size: .7rem; font-weight: 700; color: #94a3b8;
    border-right: 1px solid #e2e8f0; cursor: pointer;
    transition: all .15s;
}
.sb-step:last-child { border-right: none; }
.sb-step.active { background: #1a56db; color: #fff; }
.sb-step.done   { background: #dcfce7; color: #16a34a; }
 
/* Panels */
.sb-panel { display: none; }
.sb-panel.active { display: block; }
 
/* Field */
.sb-field { margin-bottom: 14px; }
.sb-field label {
    display: block; font-size: .7rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .5px;
    color: #64748b; margin-bottom: 5px;
}
.sb-field input, .sb-field select {
    width: 100%; padding: 10px 13px;
    border: 1.5px solid #e2e8f0; border-radius: 9px;
    font-size: .88rem; color: #1e293b; font-family: inherit;
    outline: none; transition: border-color .15s; box-sizing: border-box;
    background: #fff;
}
.sb-field input:focus, .sb-field select:focus { border-color: #1a56db; background: #f8faff; }
.sb-field input.error { border-color: #ef4444; background: #fef2f2; }
.sb-field input.success { border-color: #16a34a; background: #f0fdf4; }
 
/* Phone row with QR button */
.sb-phone-row { display: flex; gap: 8px; }
.sb-phone-row input { flex: 1; }
.sb-qr-btn {
    width: 44px; height: 44px; border-radius: 9px; flex-shrink: 0;
    background: #f1f5f9; border: 1.5px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1.1rem; transition: all .15s;
    color: #475569;
}
.sb-qr-btn:hover { background: #eff6ff; border-color: #93c5fd; color: #1a56db; }
 
/* User preview card */
.sb-user-card {
    display: none; align-items: center; gap: 12px;
    padding: 10px 13px; background: #f0fdf4;
    border: 1.5px solid #86efac; border-radius: 9px;
    margin-bottom: 14px;
}
.sb-user-card.show { display: flex; }
.sb-user-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    object-fit: cover; border: 2px solid #bbf7d0; flex-shrink: 0;
}
.sb-user-avatar-ph {
    width: 38px; height: 38px; border-radius: 50%;
    background: #dcfce7; border: 2px solid #bbf7d0;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 800; color: #16a34a; flex-shrink: 0;
}
.sb-user-info h5 { margin: 0; font-size: .84rem; font-weight: 700; color: #166534; }
.sb-user-info p  { margin: 2px 0 0; font-size: .72rem; color: #16a34a; }
 
/* Amount shortcuts */
.sb-shortcuts { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.sb-shortcut {
    padding: 4px 10px; border-radius: 999px;
    background: #f1f5f9; border: 1px solid #e2e8f0;
    font-size: .72rem; font-weight: 700; color: #475569;
    cursor: pointer; transition: all .15s;
}
.sb-shortcut:hover { background: #eff6ff; border-color: #93c5fd; color: #1a56db; }
 
/* Summary card */
.sb-summary {
    background: #f8fafc; border: 1.5px solid #e2e8f0;
    border-radius: 10px; padding: 14px; margin-bottom: 16px;
}
.sb-summary-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 5px 0; border-bottom: 1px solid #f0f2f8; font-size: .82rem;
}
.sb-summary-row:last-child { border-bottom: none; }
.sb-summary-row span { color: #64748b; }
.sb-summary-row strong { color: #1e293b; font-weight: 700; }
.sb-summary-row.total strong { color: #1a56db; font-size: .95rem; }
 
/* Note */
.sb-note {
    background: #fffbeb; border: 1px solid #fde68a;
    border-radius: 8px; padding: 9px 12px;
    font-size: .74rem; color: #92400e; margin-bottom: 14px;
    display: flex; gap: 7px; align-items: flex-start;
}
 
/* Buttons */
.sb-btn-row { display: flex; gap: 8px; }
.sb-btn-back {
    padding: 10px 18px; border: 1.5px solid #e2e8f0;
    border-radius: 9px; background: #fff; color: #64748b;
    font-size: .84rem; font-weight: 700; cursor: pointer;
    font-family: inherit; transition: background .15s;
}
.sb-btn-back:hover { background: #f8fafc; }
.sb-btn-primary {
    flex: 1; padding: 10px 18px;
    background: linear-gradient(135deg, #1a56db, #3b82f6);
    border: none; border-radius: 9px; color: #fff;
    font-size: .88rem; font-weight: 800; cursor: pointer;
    font-family: inherit; transition: all .2s;
    box-shadow: 0 2px 8px rgba(26,86,219,.3);
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.sb-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(26,86,219,.4); }
.sb-btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }
 
/* Success state */
.sb-success { text-align: center; padding: 16px 0; }
.sb-success-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: #dcfce7; border: 3px solid #86efac;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin: 0 auto 12px;
}
.sb-success h4 { margin: 0 0 6px; color: #166534; font-size: 1rem; font-weight: 800; }
.sb-success p  { margin: 0; color: #64748b; font-size: .82rem; }
 
/* QR Scanner overlay */
.sb-qr-overlay {
    display: none; position: absolute; inset: 0;
    background: #000; border-radius: 18px; z-index: 10;
    flex-direction: column; align-items: center; justify-content: center;
}
.sb-qr-overlay.open { display: flex; }
.sb-modal { position: relative; }
 
#sb-qr-video {
    width: 100%; max-width: 300px; border-radius: 12px;
    border: 3px solid #3b82f6;
}
.sb-qr-frame {
    position: relative; margin-bottom: 16px;
}
.sb-qr-frame::before,
.sb-qr-frame::after {
    content: ''; position: absolute;
    width: 24px; height: 24px; border-color: #60a5fa;
    border-style: solid;
}
.sb-qr-frame::before { top: -3px; left: -3px; border-width: 3px 0 0 3px; border-radius: 4px 0 0 4px; }
.sb-qr-frame::after  { bottom: -3px; right: -3px; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }
 
.sb-qr-hint { color: rgba(255,255,255,.8); font-size: .8rem; margin-bottom: 14px; }
.sb-qr-close-btn {
    padding: 9px 24px; background: #fff; color: #1e293b;
    border: none; border-radius: 9px; font-weight: 700;
    cursor: pointer; font-family: inherit;
}
 
/* Error/info messages */
.sb-msg {
    padding: 8px 12px; border-radius: 8px; font-size: .76rem;
    font-weight: 600; margin-bottom: 12px; display: none;
}
.sb-msg.error   { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; display: block; }
.sb-msg.success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; display: block; }
.sb-msg.info    { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; display: block; }
