/* Custom properties for theme */
:root {
    --bg-dark: #090d16;
    --bg-darker: #05070c;
    --surface-glass: rgba(20, 26, 43, 0.65);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --color-primary: #3b82f6;
    --color-primary-hover: #2563eb;
    --color-accent: #8b5cf6;
    --color-danger: #ef4444;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.1) 0px, transparent 50%);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Glassmorphism utility */
.glass {
    background: var(--surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.hidden {
    display: none !important;
}

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

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

/* TOAST NOTIFICATION */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(17, 24, 39, 0.9);
    border-left: 4px solid var(--color-primary);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease forwards;
    backdrop-filter: blur(8px);
}
.toast.success { border-left-color: var(--color-success); }
.toast.error { border-left-color: var(--color-danger); }
.toast.warning { border-left-color: var(--color-warning); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* LOGIN SCREEN */
.login-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background: var(--bg-darker);
}

.login-card {
    padding: 40px;
    width: 100%;
    max-width: 420px;
}

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

.login-logo h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    margin-top: 10px;
}

.login-logo h2 span {
    color: var(--color-primary);
}

.login-logo p {
    color: var(--text-secondary);
    font-size: 14px;
}

.icon-logo {
    font-size: 48px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* FORM ELEMENTS */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="datetime-local"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 15px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .col {
    flex: 1;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.checkbox-group input {
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.form-section-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin: 25px 0 15px 0;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 5px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 550;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
}

.btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-danger {
    background: var(--color-danger);
    color: white;
}

.btn-danger:hover {
    filter: brightness(1.1);
}

.btn-block {
    display: flex;
    width: 100%;
}

.radio-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-card {
    display: block;
    cursor: pointer;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
}

.radio-card input {
    display: none;
}

.radio-card-content {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.radio-card-content i {
    font-size: 24px;
    color: var(--color-primary);
    margin-top: 2px;
}

.radio-card-content h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.radio-card-content p {
    font-size: 13px;
    color: var(--text-secondary);
}

.radio-card.active {
    border-color: var(--color-primary);
    background: rgba(59, 130, 246, 0.08);
}

/* APP STRUCTURE */
.app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* SIDEBAR */
.sidebar {
    width: 260px;
    background: rgba(10, 15, 28, 0.95);
    border-right: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-brand {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-glass);
}

.sidebar-brand i {
    font-size: 24px;
}

.sidebar-brand h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
}

.sidebar-nav {
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-smooth);
    font-size: 15px;
}

.nav-item:hover, .nav-item.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
    background: rgba(59, 130, 246, 0.15);
    color: white;
    border-left: 3px solid var(--color-primary);
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info .avatar {
    font-size: 32px;
    color: var(--text-secondary);
}

.user-info p {
    font-size: 14px;
    font-weight: 600;
}

.user-info span {
    font-size: 12px;
    color: var(--text-secondary);
}

.logout-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.logout-btn:hover {
    color: var(--color-danger);
}

/* MAIN CONTENT */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.top-bar {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(10, 15, 28, 0.4);
}

.view-title h1 {
    font-size: 24px;
    font-family: 'Outfit', sans-serif;
}

.view-title p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.content-body {
    padding: 30px;
    flex-grow: 1;
}

.view-pane {
    height: 100%;
}

/* DASHBOARD STATS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.stat-card {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-icon.bg-blue { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.stat-icon.bg-green { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.stat-icon.bg-yellow { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.stat-icon.bg-purple { background: rgba(139, 92, 246, 0.2); color: #8b5cf6; }

.stat-data h3 {
    font-size: 28px;
    font-family: 'Outfit', sans-serif;
}

.stat-data p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* TABLES */
.table-container {
    padding: 24px;
}

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

.table-header h2 {
    font-size: 18px;
    font-family: 'Outfit', sans-serif;
}

.search-box {
    position: relative;
    width: 300px;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-box input {
    width: 100%;
    padding: 10px 16px 10px 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-primary);
    outline: none;
}

.responsive-table {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 16px;
    border-bottom: 1px solid var(--border-glass);
}

th {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
}

td {
    font-size: 14px;
}

tr:last-child td {
    border-bottom: none;
}

.qr-name-cell {
    font-weight: 600;
    color: var(--text-primary);
}

.badge-status {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
}

.badge-status.active { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.badge-status.inactive { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.badge-status.expired { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-icon:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.btn-icon.delete:hover {
    color: var(--color-danger);
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
}

/* BUILDER LAYOUT */
.builder-layout {
    display: flex;
    gap: 30px;
    height: 100%;
}

.builder-panel-form {
    flex: 1.2;
    padding: 30px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}

.builder-panel-preview {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.preview-sticky {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.preview-header-label {
    margin-bottom: 12px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

/* DEVICE PREVIEW */
.preview-device {
    width: 100%;
    max-width: 360px;
    height: 640px;
    background: #000;
    border: 10px solid #1e293b;
    border-radius: 36px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.device-notch {
    width: 140px;
    height: 24px;
    background: #1e293b;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.device-screen {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: #0f172a;
}

/* LIVE LANDING PAGE STYLE IN PREVIEW */
.preview-landing-container {
    min-height: 100%;
    padding: 40px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.preview-logo-area {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-default-logo {
    font-size: 48px;
    opacity: 0.7;
}

.preview-logo-area img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.preview-title-text {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    word-break: break-word;
}

.preview-desc-text {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.4;
    word-break: break-word;
}

.preview-files-box {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: left;
    margin-bottom: 30px;
}

.preview-files-header {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0.6;
    text-transform: uppercase;
}

.lp-files-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-file-row {
    background: rgba(0,0,0,0.25);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lp-file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.lp-file-info i {
    font-size: 20px;
    opacity: 0.8;
}

.lp-file-info div {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lp-file-info .file-name {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.lp-file-info .file-size {
    font-size: 10px;
    opacity: 0.5;
}

.lp-dl-btn {
    border: none;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: var(--color-primary);
    color: white;
}

.lp-disclaimer-box {
    margin-top: auto;
    font-size: 11px;
    opacity: 0.5;
    padding-top: 20px;
}

/* DROPZONE */
.dropzone {
    border: 2px dashed var(--border-glass);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    background: rgba(255,255,255,0.01);
    transition: var(--transition-smooth);
}

.dropzone:hover {
    border-color: var(--color-primary);
    background: rgba(59, 130, 246, 0.03);
}

.dropzone-icon {
    font-size: 36px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.dropzone p {
    font-size: 14px;
    font-weight: 500;
}

.dropzone span {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.upload-progress-container {
    margin-top: 12px;
}

.progress-bar-wrapper {
    height: 6px;
    width: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.progress-bar {
    height: 100%;
    background: var(--color-success);
    transition: width 0.1s ease;
}

.upload-progress-container span {
    font-size: 12px;
    color: var(--text-secondary);
}

.builder-files-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.builder-file-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.color-picker-wrapper {
    display: flex;
    gap: 10px;
}

.color-picker-wrapper input[type="color"] {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    cursor: pointer;
    background: none;
}

.logo-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.logo-preview-badge button {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 14px;
}

/* CALENDAR VIEW */
.calendar-layout {
    padding: 30px;
}

.calendar-header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.calendar-header-controls h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
}

.calendar-days-of-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 14px;
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 8px;
}

.calendar-day-cell {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.calendar-day-cell.empty {
    background: transparent;
    border-color: transparent;
}

.calendar-day-number {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    opacity: 0.6;
}

.calendar-day-cell.today .calendar-day-number {
    color: var(--color-primary);
    opacity: 1;
}

.calendar-events-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}

.calendar-event {
    font-size: 11px;
    padding: 4px 6px;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* KANBAN VIEW */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    height: calc(100vh - 180px);
}

.kanban-column {
    display: flex;
    flex-direction: column;
    padding: 20px;
    max-height: 100%;
}

.kanban-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 10px;
}

.kanban-column-header h3 {
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
}

.kanban-column-header .badge {
    background: rgba(255,255,255,0.08);
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
}

.kanban-cards-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.kanban-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 16px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.kanban-card:hover {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.kanban-card h4 {
    font-size: 15px;
    margin-bottom: 6px;
    font-weight: 600;
}

.kanban-card p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kanban-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 10px;
}

.kanban-card-meta .files-count {
    display: flex;
    align-items: center;
    gap: 4px;
}

.kanban-card-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

/* MODAL */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    padding: 30px;
    z-index: 10;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 10px;
}

.modal-header h2 {
    font-size: 18px;
    font-family: 'Outfit', sans-serif;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
}

.qr-display-container {
    background: white;
    padding: 16px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 20px;
}

.qr-display-container img {
    width: 180px;
    height: 180px;
    display: block;
}

.link-copy-box {
    display: flex;
    margin-top: 20px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    overflow: hidden;
}

.link-copy-box input {
    flex-grow: 1;
    background: none;
    border: none;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    outline: none;
}

.link-copy-box .btn {
    border-radius: 0;
}

.device-lang-toggle {
    position: absolute;
    top: 30px;
    right: 20px;
    z-index: 100;
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.device-lang-toggle button {
    background: transparent;
    color: #9ca3af;
    border: none;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.device-lang-toggle button.active {
    background: var(--color-primary);
    color: white;
}

@media(max-width: 1024px) {
    .builder-layout {
        flex-direction: column;
    }
    .builder-panel-preview {
        order: -1;
    }
}

@media(max-width: 768px) {
    .app-container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
    }
    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 10px;
    }
    .main-content {
        height: auto;
    }
    .kanban-board {
        grid-template-columns: 1fr;
        height: auto;
    }
}
