/* ==========================================================================
   Mars Digital SaaS — Master Stylesheet
   Path: public/saas_dist/css/style.css
   ========================================================================== */

:root {
    --saas-primary: #6777ef;
    --saas-primary-hover: #5563db;
    --saas-primary-light: #eef2ff;
    --saas-primary-rgb: 103, 119, 239;
    --saas-sidebar-width: 250px;
    --saas-sidebar-bg: #ffffff;
    --saas-sidebar-border: #eef2f6;
    --saas-topbar-height: 64px;
    --saas-bg: #f8fafc;
    --saas-surface: #ffffff;
    --saas-text-dark: #1e293b;
    --saas-text-muted: #64748b;
    --saas-border: #e2e8f0;
    --saas-success: #10b981;
    --saas-success-light: #ecfdf5;
    --saas-danger: #ef4444;
    --saas-danger-light: #fef2f2;
    --saas-warning: #f59e0b;
    --saas-warning-light: #fffbeb;
    --saas-info: #3b82f6;
    --saas-info-light: #eff6ff;
}

body {
    font-family: 'Plus Jakarta Sans', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--saas-bg);
    color: var(--saas-text-dark);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Layout Architecture: Sidebar & Main Panel
   ========================================================================== */

.saas-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Sidebar */
.saas-sidebar {
    width: var(--saas-sidebar-width);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background: var(--saas-sidebar-bg);
    border-right: 1px solid var(--saas-sidebar-border);
    display: flex;
    flex-direction: column;
    z-index: 1040;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 1px 0 3px rgba(0, 0, 0, 0.02);
}

.saas-sidebar-brand {
    height: var(--saas-topbar-height);
    padding: 0 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--saas-sidebar-border);
    gap: 12px;
    text-decoration: none !important;
}

.saas-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--saas-primary) 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(var(--saas-primary-rgb), 0.3);
    flex-shrink: 0;
}

.saas-brand-title {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.saas-brand-pill {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--saas-primary-light);
    color: var(--saas-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 4px;
}

/* Real logo image in sidebar brand */
.saas-brand-logo {
    height: 34px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* Sidebar Workspace Box */
.saas-sidebar-workspace {
    padding: 14px 16px;
    border-bottom: 1px solid var(--saas-sidebar-border);
}

.workspace-dropdown-btn {
    width: 100%;
    background: #f8fafc;
    border: 1px solid var(--saas-border);
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    text-align: left;
    transition: all 0.2s ease;
}

.workspace-dropdown-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.workspace-dot-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--saas-success);
    margin-right: 6px;
    flex-shrink: 0;
}

.saas-sidebar-workspace .dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--saas-border);
    padding: 6px;
    z-index: 1060;
}

.saas-sidebar-workspace .dropdown-item,
.saas-topbar .dropdown-item {
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--saas-text-dark);
    transition: all 0.15s ease;
}

.saas-sidebar-workspace .dropdown-item:hover,
.saas-topbar .dropdown-item:hover {
    background-color: var(--saas-primary-light);
    color: var(--saas-primary);
}

.saas-sidebar-workspace .dropdown-item.active,
.saas-topbar .dropdown-item.active {
    background-color: var(--saas-primary-light);
    color: var(--saas-primary);
    font-weight: 700;
}

/* Navigation Links */
.saas-sidebar-menu {
    flex: 1;
    overflow-y: auto;
    padding: 16px 12px;
    list-style: none;
    margin: 0;
}

.saas-menu-header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    padding: 10px 12px 6px;
}

.saas-nav-item {
    margin-bottom: 3px;
}

.saas-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    text-decoration: none !important;
    transition: all 0.15s ease;
}

.saas-nav-link i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: #64748b;
    transition: color 0.15s ease;
}

.saas-nav-link:hover {
    background: #f8fafc;
    color: var(--saas-primary);
}

.saas-nav-link:hover i {
    color: var(--saas-primary);
}

.saas-nav-link.active {
    background: var(--saas-primary-light);
    color: var(--saas-primary);
    font-weight: 700;
}

.saas-nav-link.active i {
    color: var(--saas-primary);
}

/* Sidebar Footer */
.saas-sidebar-footer {
    padding: 14px 16px;
    border-top: 1px solid var(--saas-sidebar-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
}

.sidebar-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e0e7ff;
    color: var(--saas-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.sidebar-user-name {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
}

.sidebar-user-role {
    font-size: 11px;
    color: #64748b;
}

/* Main Panel */
.saas-main-panel {
    margin-left: var(--saas-sidebar-width);
    width: calc(100% - var(--saas-sidebar-width));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--saas-bg);
    transition: margin-left 0.25s ease, width 0.25s ease;
}

/* Topbar */
.saas-topbar {
    height: var(--saas-topbar-height);
    background: #ffffff;
    border-bottom: 1px solid var(--saas-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.saas-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sidebar-toggle-btn {
    border: none;
    background: #f1f5f9;
    color: #334155;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.sidebar-toggle-btn:hover {
    background: #e2e8f0;
}

.saas-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Content Area */
.saas-content-area {
    padding: 28px 28px 48px;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    flex: 1;
}

/* Backdrop for Mobile */
.saas-sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 1035;
    backdrop-filter: blur(2px);
}

/* ==========================================================================
   Dashboard Components & UI Elements
   ========================================================================== */

/* Header Area */
.dashboard-header,
.workspace-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 1.75rem;
}

.workspace-title,
.workspace-heading {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #0f172a;
    margin-bottom: 6px;
}

.meta-pill,
.badge-pill-custom,
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.meta-pill-role,
.badge-pill-role {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #d1fae5;
}

.meta-pill-slug,
.badge-pill-meta {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* Metric KPI Cards */
.metric-card,
.kpi-card {
    background: #ffffff;
    border: 1px solid var(--saas-border);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.metric-card:hover,
.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.metric-icon-wrap,
.kpi-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.metric-value,
.kpi-value {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.metric-label,
.kpi-label {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

/* Social Channel Integration Cards */
.channel-card,
.channel-box {
    background: #ffffff;
    border: 1px solid var(--saas-border);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    height: 100%;
}

.channel-card:hover,
.channel-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.channel-accent-bar,
.channel-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.channel-card-facebook .channel-accent-bar,
.channel-box-facebook .channel-accent-line { background: #1877F2; }

.channel-card-instagram .channel-accent-bar,
.channel-box-instagram .channel-accent-line { background: linear-gradient(90deg, #F58529, #DD2A7B, #8134AF, #515BD4); }

.channel-card-google .channel-accent-bar,
.channel-box-google .channel-accent-line { background: linear-gradient(90deg, #4285F4, #EA4335, #FBBC05, #34A853); }

.channel-logo-wrap,
.channel-icon-pill {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.channel-logo-facebook,
.channel-icon-facebook { background: #e7f3ff; color: #1877f2; }

.channel-logo-instagram,
.channel-icon-instagram { background: #fdf2f8; color: #db2777; }

.channel-logo-google,
.channel-icon-google { background: #eff6ff; color: #2563eb; }

.channel-title,
.channel-heading {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.channel-desc,
.channel-summary {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    min-height: 40px;
}

.btn-channel,
.btn-connect-channel {
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: 1px solid var(--saas-border);
    background: #ffffff;
    color: #334155;
    transition: all 0.15s ease;
}

.btn-channel:hover,
.btn-connect-channel:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

/* Queue Empty State */
.queue-card,
.empty-queue-box {
    background: #ffffff;
    border: 1px solid var(--saas-border);
    border-radius: 16px;
    overflow: hidden;
}

.empty-queue-container {
    padding: 3.5rem 1.5rem;
    text-align: center;
}

.empty-illustration,
.empty-queue-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: #eef2ff;
    color: var(--saas-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(var(--saas-primary-rgb), 0.15);
}

.step-box,
.step-card {
    background: #f8fafc;
    border: 1px solid var(--saas-border);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: left;
    height: 100%;
}

.step-number,
.step-badge-num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--saas-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

/* Buttons */
.btn-primary-saas {
    background-color: var(--saas-primary);
    border-color: var(--saas-primary);
    color: #ffffff;
    font-weight: 600;
    border-radius: 10px;
    padding: 9px 18px;
    transition: all 0.15s ease;
}

.btn-primary-saas:hover {
    background-color: var(--saas-primary-hover);
    border-color: var(--saas-primary-hover);
    color: #ffffff;
}

.btn-outline-saas {
    border: 1px solid var(--saas-border);
    background: #ffffff;
    color: #334155;
    font-weight: 600;
    border-radius: 10px;
    padding: 8px 16px;
    transition: all 0.15s ease;
}

.btn-outline-saas:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

/* ==========================================================================
   Authentication Screens & Layout
   ========================================================================== */

.saas-auth-body {
    font-family: 'Plus Jakarta Sans', 'Nunito', -apple-system, sans-serif;
    background-color: var(--saas-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid var(--saas-border);
    border-top: 4px solid var(--saas-primary);
}

.auth-header {
    padding: 28px 32px 16px;
    text-align: center;
}

.auth-header h3 {
    font-weight: 800;
    color: #0f172a;
    font-size: 22px;
    margin-bottom: 4px;
}

.auth-header p {
    color: var(--saas-text-muted);
    font-size: 13.5px;
    margin: 0;
}

.auth-body {
    padding: 20px 32px 32px;
}

.auth-footer {
    text-align: center;
    padding-top: 18px;
    font-size: 13.5px;
    color: var(--saas-text-muted);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 991.98px) {
    .saas-sidebar {
        transform: translateX(-100%);
    }

    .saas-sidebar.show {
        transform: translateX(0);
        box-shadow: 0 0 35px rgba(0, 0, 0, 0.15);
    }

    .saas-sidebar-backdrop.show {
        display: block;
    }

    .saas-main-panel {
        margin-left: 0;
        width: 100%;
    }

    .sidebar-toggle-btn {
        display: inline-flex;
    }

    .saas-content-area {
        padding: 20px 16px 40px;
    }
}

/* ==========================================================================
   Social Media Publishing Studio (Composer Redesign)
   ========================================================================== */

/* Three-Step Horizontal Stepper */
.composer-stepper-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.composer-stepper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 12px;
}

.stepper-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px;
    flex-shrink: 0;
}

.stepper-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.stepper-circle-check {
    display: none;
}

.stepper-item.active .stepper-circle {
    background: var(--saas-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(var(--saas-primary-rgb), 0.35);
}

.stepper-item.completed .stepper-circle {
    background: #10b981;
    color: #ffffff;
}

.stepper-item.completed .stepper-circle-number {
    display: none;
}

.stepper-item.completed .stepper-circle-check {
    display: inline-block;
}

.stepper-content {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.stepper-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
}

.stepper-item:not(.active):not(.completed) .stepper-title {
    color: #64748b;
}

.stepper-subtitle {
    font-size: 11.5px;
    color: #94a3b8;
}

.stepper-divider {
    flex: 1 !important;
    height: 2px !important;
    background: #e2e8f0;
    border-radius: 2px;
    min-width: 24px;
    transition: background 0.25s ease;
}

.stepper-divider.completed {
    background: #10b981;
}

@media (max-width: 767.98px) {
    .composer-stepper-card {
        padding: 10px 14px;
    }
    .stepper-item {
        gap: 8px;
    }
    .stepper-subtitle {
        display: none !important;
    }
    .stepper-divider {
        min-width: 12px;
    }
    .stepper-circle {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    .stepper-title {
        font-size: 11.5px;
    }
}

/* Sticky Right Column on Desktop */
@media (min-width: 992px) {
    .composer-sidebar-sticky {
        position: sticky;
        top: 80px;
        z-index: 10;
        max-height: calc(100vh - 95px);
        overflow-y: auto;
        padding-right: 4px;
    }
    .composer-sidebar-sticky::-webkit-scrollbar {
        width: 5px;
    }
    .composer-sidebar-sticky::-webkit-scrollbar-track {
        background: transparent;
    }
    .composer-sidebar-sticky::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 6px;
    }
    .composer-sidebar-sticky::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }
}

/* Post Type Selector */
.post-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

@media (max-width: 575.98px) {
    .post-type-selector {
        grid-template-columns: 1fr;
    }
}

.post-type-card {
    position: relative;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 18px;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    min-height: 96px;
}

.post-type-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.post-type-card.active {
    border-color: var(--saas-primary);
    background: #f5f7ff;
    box-shadow: 0 4px 14px rgba(var(--saas-primary-rgb), 0.15);
}

.post-type-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.post-type-card.active .post-type-icon {
    background: var(--saas-primary);
    color: #ffffff;
}

.post-type-text {
    flex: 1;
    padding-right: 20px;
}

.post-type-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}

.post-type-subtitle {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 4px;
}

.post-type-formats {
    font-size: 10.5px;
    font-weight: 600;
    color: #94a3b8;
}

.post-type-check-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: transparent;
    transition: all 0.2s ease;
}

.post-type-card.active .post-type-check-badge {
    border-color: var(--saas-primary);
    background: var(--saas-primary);
    color: #ffffff;
}

/* Hashtag Input Box */
.hashtag-box {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px 12px;
    background: #ffffff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 46px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hashtag-box:focus-within {
    border-color: var(--saas-primary);
    box-shadow: 0 0 0 3px rgba(var(--saas-primary-rgb), 0.12);
}

.hashtag-pill {
    background: #eef2ff;
    color: var(--saas-primary);
    border: 1px solid #c7d2fe;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.hashtag-pill:hover {
    background: #e0e7ff;
}

.hashtag-remove-btn {
    border: none;
    background: transparent;
    color: #6366f1;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    display: flex;
    align-items: center;
    line-height: 1;
}

.hashtag-remove-btn:hover {
    color: #4338ca;
}

.hashtag-input-field {
    border: none;
    outline: none;
    flex: 1;
    min-width: 150px;
    font-size: 13px;
    padding: 4px 0;
    color: #1e293b;
}

/* Media Dropzone */
.composer-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    padding: 26px 20px;
    background: #f8fafc;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.composer-dropzone:hover,
.composer-dropzone.dragover {
    border-color: var(--saas-primary);
    background: #f5f7ff;
}

.dropzone-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--saas-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 10px;
    transition: transform 0.2s ease;
}

.composer-dropzone:hover .dropzone-icon {
    transform: translateY(-2px);
}

/* Media Preview Details Card */
.composer-media-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

/* Channel Selection Item */
.channel-selection-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.channel-item-card {
    position: relative;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.channel-item-card:hover:not(.disabled) {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.channel-item-card.selected {
    border-color: var(--saas-primary);
    background: #f5f7ff;
}

.channel-item-card.disabled {
    opacity: 0.55;
    background: #f1f5f9;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

.channel-item-check-indicator {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: transparent;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.channel-item-card.selected .channel-item-check-indicator {
    border-color: var(--saas-primary);
    background: var(--saas-primary);
    color: #ffffff;
}

.channel-item-card.disabled .channel-item-check-indicator {
    border-color: #cbd5e1;
    background: #e2e8f0;
}

/* Schedule Mode Selector */
.schedule-mode-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

@media (max-width: 575.98px) {
    .schedule-mode-selector {
        grid-template-columns: 1fr;
    }
}

.schedule-mode-card {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    user-select: none;
}

.schedule-mode-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.schedule-mode-card.active {
    border-color: var(--saas-primary);
    background: #f5f7ff;
}

.schedule-mode-radio-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.schedule-mode-card.active .schedule-mode-radio-dot {
    border-color: var(--saas-primary);
}

.schedule-mode-card.active .schedule-mode-radio-dot::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--saas-primary);
}

/* Chevron Rotation for Accordions */
.composer-collapse-toggle .collapse-chevron {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Platform Preview Tabs Navigation */
.preview-tabs-nav {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
    gap: 4px;
}

.preview-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.preview-tab-btn:hover:not(.active) {
    color: #1e293b;
    background: rgba(255, 255, 255, 0.6);
}

.preview-tab-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

/* Facebook Feed Mockup */
.mockup-facebook {
    background: #ffffff;
    border: 1px solid #e4e6eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.mockup-fb-header {
    display: flex;
    align-items: center;
    padding: 12px 14px 8px;
    gap: 10px;
}

.mockup-fb-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1877f2;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}

.mockup-fb-text {
    padding: 6px 14px 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #050505;
    white-space: pre-line;
    word-break: break-word;
}

.mockup-fb-media {
    width: 100%;
    max-height: 320px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mockup-fb-media img,
.mockup-fb-media video {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
}

.mockup-fb-engagement-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    font-size: 12px;
    color: #65676b;
    border-bottom: 1px solid #e4e6eb;
}

.mockup-fb-reactions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mockup-fb-reaction-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #ffffff;
}

.mockup-fb-reaction-icon.like {
    background: #1877f2;
}

.mockup-fb-reaction-icon.heart {
    background: #fa3e3e;
}

.mockup-fb-actions-row {
    display: flex;
    justify-content: space-around;
    padding: 6px 10px;
    color: #65676b;
    font-size: 12.5px;
    font-weight: 600;
}

.mockup-fb-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 0;
    border-radius: 6px;
    cursor: default;
    user-select: none;
}

/* Instagram Feed Mockup */
.mockup-instagram {
    background: #ffffff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mockup-ig-header {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    gap: 10px;
}

.mockup-ig-avatar-ring {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mockup-ig-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2743;
    font-size: 13px;
    font-weight: 700;
}

.mockup-ig-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mockup-ig-media.reel-aspect {
    aspect-ratio: 9 / 16;
    max-height: 420px;
    background: #000000;
}

.mockup-ig-media img,
.mockup-ig-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ig-reel-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.mockup-ig-actions {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px 4px;
    font-size: 18px;
    color: #262626;
}

.mockup-ig-likes {
    padding: 0 14px 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: #262626;
}

.mockup-ig-caption {
    padding: 0 14px 12px;
    font-size: 12.5px;
    line-height: 1.45;
    color: #262626;
    white-space: pre-line;
    word-break: break-word;
}

/* Google Business Profile Mockup */
.mockup-google {
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.15);
}

.mockup-google-header {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    gap: 10px;
    border-bottom: 1px solid #f1f3f4;
}

.mockup-google-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #4285f4;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.mockup-google-media {
    width: 100%;
    max-height: 220px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mockup-google-media img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
}

.mockup-google-text {
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #3c4043;
    white-space: pre-line;
    word-break: break-word;
}

.mockup-google-cta {
    padding: 0 14px 14px;
}

