#logoPreview {
    max-width: 120px;
    max-height: 120px;
    position: absolute;
    right: 20px;
    top: 20px;
}

#footerPreview {
    border: 1px solid #ddd;
    margin-top: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

#headerPreview {
    border: 1px solid #ddd;
    margin-top: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.preview-container {
    width: 786px;
    height: 200px;
    position: relative;
    background: white;
    padding: 20px;
    box-sizing: border-box;
}

.preview-container-footer {
    width: 786px;
    background: white;
    padding: 20px;
    box-sizing: border-box;
}

.company-details {
    width: calc(100% - 150px);
}

.preview-company-name {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
    line-height: 1.1;
}

.preview-address {
    font-size: 16px;
    margin-bottom: 8px;
    color: #34495e;
    line-height: 1.2;
    padding-left: 22px;
    position: relative;
}

.preview-address::before {
    content: '📍';
    position: absolute;
    left: 0;
    font-size: 14px;
}

.preview-contact {
    font-size: 14px;
    line-height: 1.3;
    color: #2c3e50;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.emoji {
    font-size: 14px;
    width: 16px;
    text-align: center;
}


.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 40px;
    /* space for the icon */
}

.toggle-password {
    position: absolute;
    top: 72%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 16px;
}

.toggle-password:hover {
    color: #333;
}



.working-cities-control {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    font-family: 'Inter', sans-serif;
    margin-top: 16px;
}

.config-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

label.head {
    display: block;
    font-weight: 600;
    color: #1e293b;
    font-size: 15px;
    margin: 0;
}

.input-action-group {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}

.input-action-group .form-control {
    flex: 1;
}

.panel-divider {
    border: none;
    border-top: 1px dashed #cbd5e1;
    margin: 20px 0;
}

.section-note {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

.placeholder-text {
    font-size: 13px;
    color: #94a3b8;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    margin-top: 12px;
}

.wc-city-list {
    flex: 1;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    margin-bottom: 16px;
}

.wc-city-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease;
}

.wc-city-row:last-child {
    border-bottom: none;
}

.wc-city-row:hover {
    background: #ffffff;
}

.action-buttons-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.wc-selected-tags {
    flex: 1;
    min-height: 200px;
    padding: 16px;
    border-radius: 8px;
    border: 1px dashed #94a3b8;
    background: #f8fafc;
    margin-bottom: 16px;
    overflow-y: auto;
}

.system-legend {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #64748b;
    margin-top: 12px;
    justify-content: center;
}

.wc-message {
    color: #ef4444;
    margin-top: 12px;
    font-size: 13px;
    min-height: 18px;
}

.small-muted {
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width:1100px) {
    .working-cities-control {
        grid-template-columns: 1fr;
    }
}

/* Selected Tags Logic */
#wcSelectedTags {
    display: block;
}

.wc-selected-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 12px;
}

.tag {
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid transparent;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.tag--p1 {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.tag--p2 {
    background: #faf5ff;
    color: #7e22ce;
    border-color: #e9d5ff;
}

.tag--p3 {
    background: #f8fafc;
    color: #475569;
    border-color: #cbd5e1;
}

.tag--all {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
    font-weight: 600;
}

.tag .remove {
    cursor: pointer;
    font-weight: 700;
    padding-left: 6px;
    color: inherit;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.tag .remove:hover {
    opacity: 1;
}

/* New General Settings Page Styles */
.section-title h2 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.booking-tabs-container {
    border-bottom: 2px solid #e2e8f0;
}

.booking-tabs {
    display: flex;
}

.booking-tab {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-tab:hover {
    color: #1e293b;
}

.booking-tab.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    font-weight: 600;
}

.file-upload-wrapper {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    transition: border-color 0.2s;
}

.file-upload-wrapper:hover {
    border-color: #94a3b8;
}

.document-preview-pane {
    background: #f1f5f9;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.preview-block {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.preview-spacer {
    height: 60px;
    border-left: 2px dashed #cbd5e1;
    border-right: 2px dashed #cbd5e1;
    margin: 0 40px;
    opacity: 0.5;
}

.preview-container,
.preview-container-footer {
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    color: #475569;
}

.contact-item .icon {
    color: #94a3b8;
    font-size: 14px;
    width: 18px;
    text-align: center;
}

/* Utility Layouts */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.form-row .form-group {
    flex: 1;
}

.custom-scroll::-webkit-scrollbar {
    width: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Advanced Designer Styles */
.designer-module {
    margin-top: 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.designer-layout {
    display: flex;
    height: 520px;
}

.designer-sidebar {
    width: 260px;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
}

.designer-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.toolbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.toolbox-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.toolbox-item:hover {
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.toolbox-item i {
    font-size: 20px;
    color: #475569;
}

.toolbox-item:hover i {
    color: #3b82f6;
}

.toolbox-item span {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.prop-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 0;
}

.prop-group label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    display: flex;
    justify-content: space-between;
}

.prop-group input[type="color"] {
    width: 100%;
    height: 36px;
    padding: 4px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
}

.prop-group input[type="range"] {
    width: 100%;
    cursor: pointer;
    accent-color: #3b82f6;
}

.designer-canvas-wrapper {
    flex: 1;
    padding: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-color: #f1f5f9;
    background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    overflow: auto;
}

.designer-canvas {
    width: 786px;
    height: 200px;
    background: #ffffff;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
    position: relative;
    border: 1px solid #cbd5e1;
}

.draggable-element {
    position: absolute;
    cursor: move;
    padding: 10px;
    border: 1.5px solid transparent;
    user-select: none;
    min-width: 40px;
    min-height: 20px;
    display: inline-block;
    white-space: nowrap;
    transition: background 0.2s;
}

.draggable-element:hover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.03);
}

.draggable-element.selected {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.draggable-element img {
    max-width: 100%;
    pointer-events: none;
    display: block;
}

.btn--toggle.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

@media (max-width: 1100px) {
    .designer-layout {
        flex-direction: column;
        height: auto;
    }
    .designer-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
}


/* Premium Modal System */
.premium-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.premium-modal.show {
    opacity: 1;
    visibility: visible;
}

.premium-modal-content {
    background: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.premium-modal.show .premium-modal-content {
    transform: translateY(0);
}

.premium-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

.premium-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.premium-modal-close {
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
}

.premium-modal-close:hover { color: #1e293b; }

.premium-modal-body {
    padding: 24px;
}

.premium-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Inputs within Modal */
.premium-modal-body label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
    margin-top: 12px;
}

.premium-modal-body label:first-child { margin-top: 0; }

.premium-modal-body .form-control {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 10px 12px;
}



/* System Settings Modernization */
.system-config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 24px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.glass-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.panel-header-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.panel-header-modern i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.panel-header-modern label {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* Premium Buttons (BookingView Style) */
.btn-premium {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white !important;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.btn-premium:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
    filter: brightness(1.1);
}

.btn-premium-outline {
    background: white;
    color: #4f46e5 !important;
    border: 1.5px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-premium-outline:hover {
    border-color: #4f46e5;
    background: #f5f7ff;
}

.btn-premium-danger {
    background: #fff;
    color: #ef4444 !important;
    border: 1.5px solid #fee2e2;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-premium-danger:hover {
    background: #fef2f2;
    border-color: #ef4444;
}



/* Dashboard Cards (Right Side) */
.dashboard-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #f1f5f9;
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dashboard-card-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-card-header h3 i {
    color: var(--color-primary);
}

/* Activity Timeline */
.activity-timeline {
    position: relative;
    padding-left: 20px;
}

.activity-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: #f1f5f9;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -24px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #f1f5f9;
}

.timeline-dot.active { background: #10b981; }
.timeline-dot.warning { background: #f59e0b; }
.timeline-dot.info { background: #3b82f6; }

.timeline-content {
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 12px;
}

.timeline-title {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 2px;
}

.timeline-time {
    font-size: 11px;
    color: #94a3b8;
}



/* ======================================================
   BUSINESS INFORMATION TAB - Premium Dashboard Layout
   ====================================================== */
.business-dashboard-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 28px;
    padding: 28px;
    background: #f8fafc;
    min-height: calc(100vh - 200px);
}

@media (max-width: 1100px) {
    .business-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.business-overview-card {
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 24px;
}

.business-branding-card {
    padding: 24px;
}

/* Logo Section */
.biz-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
}

.biz-logo-wrap {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.biz-logo-img {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    border: 3px solid #f1f5f9;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    object-fit: contain;
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.biz-logo-img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.15);
}

.biz-logo-edit-overlay {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
    transition: all 0.2s;
    font-size: 14px;
}

.biz-logo-edit-overlay:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 12px rgba(99, 102, 241, 0.4);
}

/* Logo Upload Progress Ring */
#bizLogoProgressRing {
    position: absolute;
    top: 0; left: 0;
    width: 120px; height: 120px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#bizLogoProgressRing svg {
    position: absolute;
    top: 0; left: 0;
}

.biz-logo-progress-circle {
    transition: stroke-dashoffset 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.biz-logo-progress-text {
    position: relative;
    z-index: 2;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.biz-logo-info {
    margin-top: 12px;
    text-align: center;
}

.biz-logo-hint {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.biz-logo-hint i {
    color: #cbd5e1;
}

/* Business Form Sections */
.biz-form-section {
    padding: 0;
}

.biz-section-label {
    font-size: 12px;
    font-weight: 700;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.biz-section-label i {
    font-size: 13px;
    opacity: 0.8;
}

.biz-form-row {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}

.biz-form-row .form-group {
    flex: 1;
}

/* Branding Header */
.biz-branding-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 12px;
}

.biz-branding-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Existing Header Override */
.existing-header-wrap {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    display: none;
}

.existing-header-img {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .biz-branding-header {
        flex-direction: column;
    }
    .biz-branding-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

