@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --bg: #f0f2f5;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-solid: #fff;
    --surface-hover: rgba(255, 255, 255, 0.9);
    --glass: rgba(255, 255, 255, 0.55);
    --glass-border: rgba(255, 255, 255, 0.35);
    --text: #1a1a2e;
    --text-secondary: #64748b;
    --accent: #0f0f0f;
    --accent-light: #333;
    --accent-hover: #2a2a2a;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
    --blur: blur(20px);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    opacity: 0.8;
}

/* ========== LAYOUT ========== */

.app-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.page-content {
    flex: 1;
    padding: 24px 0;
}

/* ========== GLASS CARD ========== */

.glass {
    background: var(--surface);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card {
    background: var(--surface);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card-body {
    padding: 24px;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* ========== NAVBAR ========== */

.navbar {
    background: var(--surface);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    padding: 0 0;
    z-index: 500;
    box-shadow: var(--shadow);
    position: relative;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

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

.navbar-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

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

.nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text);
    transition: var(--transition);
    position: relative;
}

.nav-icon:hover {
    background: rgba(0, 0, 0, 0.06);
}

.nav-icon svg {
    width: 20px;
    height: 20px;
}

/* ========== USER MENU ========== */

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 12px 6px 6px;
    border-radius: 50px;
    transition: var(--transition);
}

.user-menu:hover {
    background: rgba(0, 0, 0, 0.04);
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
    flex-shrink: 0;
}

.avatar-sm { width: 32px; height: 32px; }
.avatar-lg { width: 48px; height: 48px; }
.avatar-xl { width: 72px; height: 72px; }

.user-info {
    line-height: 1.3;
}

.user-name {
    font-size: 0.87rem;
    font-weight: 600;
}

.user-role {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ========== DROPDOWN ========== */

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: var(--surface-solid);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 200;
}

.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-xs);
    color: var(--text);
    font-size: 0.87rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background: rgba(0, 0, 0, 0.04);
    opacity: 1;
}

.dropdown-item.danger {
    color: var(--danger);
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 4px 0;
}

/* ========== BUTTONS ========== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.87rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.4;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    opacity: 1;
    color: #fff;
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
    opacity: 1;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--accent);
    opacity: 1;
}

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

.btn-danger:hover {
    background: #dc2626;
    opacity: 1;
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text);
    opacity: 1;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

.btn-icon.btn-sm {
    width: 32px;
    height: 32px;
}

.btn-block {
    width: 100%;
}

/* ========== FORMS ========== */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-control {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.93rem;
    font-family: inherit;
    background: var(--surface-solid);
    color: var(--text);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 15, 15, 0.08);
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-select {
    width: 100%;
    padding: 11px 40px 11px 16px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.93rem;
    font-family: inherit;
    background: var(--surface-solid) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2364748b'/%3E%3C/svg%3E") no-repeat right 14px center;
    color: var(--text);
    transition: var(--transition);
    outline: none;
    appearance: none;
    cursor: pointer;
}

.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 15, 15, 0.08);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    cursor: pointer;
}

.form-check-input {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.2);
    appearance: none;
    cursor: pointer;
    transition: var(--transition);
}

.form-check-input:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.form-check-label {
    font-size: 0.93rem;
    cursor: pointer;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

.required::after {
    content: ' *';
    color: var(--danger);
}

.input-group {
    display: flex;
    gap: 12px;
}

.input-group .form-control,
.input-group .form-select {
    flex: 1;
}

/* ========== BADGES ========== */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge-success {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.badge-info {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.badge-dark {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text);
}

/* ========== TABLE ========== */

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.data-table thead th {
    padding: 14px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    text-align: left;
    white-space: nowrap;
}

.data-table tbody td {
    padding: 14px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    vertical-align: middle;
}

.data-table tbody tr {
    transition: var(--transition);
}

.data-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* ========== OBJECT CARDS (mobile) ========== */

.object-grid {
    display: grid;
    gap: 20px;
}

.object-card {
    background: var(--surface);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.object-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.object-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

.object-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
}

.object-card-body {
    padding: 20px;
}

.object-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.object-card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 12px 0 16px;
    font-size: 0.87rem;
    color: var(--text-secondary);
}

.object-card-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.object-card-meta-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.object-card-price {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.object-card-price small {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 4px;
}

.object-card-actions {
    display: flex;
    gap: 8px;
}

.object-card-actions .btn {
    flex: 1;
}

/* ========== PAGE HEADER ========== */

.page-header {
    padding: 28px 0 0;
}

.page-header .pretitle {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.page-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.page-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.page-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

/* ========== FILTER ========== */

.filter-panel {
    transition: all 0.3s ease;
    overflow: hidden;
}

.filter-panel.hidden {
    display: none;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

/* ========== ALERTS / TOASTS ========== */

.toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 9999;
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
}

.toast.show {
    transform: translateY(0);
}

.toast-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.toast-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.toast-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.toast-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.toast-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    padding: 0;
    line-height: 1;
}

.toast-close:hover {
    opacity: 1;
}

/* ========== FOOTER ========== */

.footer {
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: auto;
}

/* ========== CAROUSEL ========== */

.carousel {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    display: none;
}

.carousel-item.active {
    display: block;
}

.carousel-item img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    pointer-events: none;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.carousel-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* ========== PHOTO DROPZONE ========== */

.photo-dropzone {
    border: 2px dashed rgba(0, 0, 0, 0.15);
    border-radius: var(--radius);
    padding: 16px;
    min-height: 200px;
    background: rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    position: relative;
}

.photo-dropzone.dragover {
    border-color: var(--accent);
    background: rgba(15, 15, 15, 0.06);
    box-shadow: inset 0 0 0 2px rgba(15, 15, 15, 0.08);
}

.photo-dropzone-message {
    text-align: center;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 48px 20px;
}

.photo-dropzone-message:hover {
    color: var(--text);
}

.photo-dropzone-message svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    opacity: 0.4;
}

.photo-dropzone-message small {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    opacity: 0.6;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.photo-preview {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #f1f5f9;
    cursor: grab;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
}

.photo-preview:active {
    cursor: grabbing;
}

.photo-preview.dragging {
    opacity: 0.4;
    transform: scale(0.95);
}

.photo-preview.drag-over {
    border-color: var(--accent);
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.photo-preview.main-photo {
    border-color: var(--success);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.photo-preview.main-photo::after {
    content: 'Главная';
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--success);
    color: #fff;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    z-index: 2;
}

.photo-preview .photo-index {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.photo-controls {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 6px;
    background: rgba(15, 17, 22, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.photo-preview:hover .photo-controls,
.photo-preview:focus-within .photo-controls {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.pc-btn {
    width: 30px;
    height: 30px;
    border: none;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.pc-btn svg { display: block; }
.pc-btn:hover { background: rgba(255, 255, 255, 0.28); transform: translateY(-1px); }

.pc-btn.star-btn { color: rgba(255,255,255,0.7); }
.pc-btn.star-btn:hover { color: #fbbf24; }
.pc-btn.star-btn.active { background: #fbbf24; color: #0f1116; }
.pc-btn.star-btn.active:hover { background: #f59e0b; color: #0f1116; }

.photo-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border: none;
    padding: 0;
    border-radius: 50%;
    background: rgba(15, 17, 22, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.18s ease, transform 0.18s ease, background 0.15s ease;
    z-index: 3;
}
.photo-remove svg { display: block; }
.photo-preview:hover .photo-remove,
.photo-preview:focus-within .photo-remove {
    opacity: 1;
    transform: scale(1);
}
.photo-remove:hover { background: #dc2626; transform: scale(1.08); }

/* Index chip moves down-left so it doesn't clash with the delete button */
.photo-preview .photo-index {
    top: auto;
    bottom: 8px;
    right: auto;
    left: 8px;
    width: auto;
    min-width: 22px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(15, 17, 22, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease;
}
.photo-preview:hover .photo-index { opacity: 0; }

/* "Главная" badge already styled by .main-photo::after — refine spacing */
.photo-preview.main-photo::after {
    padding: 3px 10px;
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
}

.photo-counter {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 8px;
    text-align: center;
}

.photo-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

/* ========== NOTIFICATIONS PANEL ========== */

.notifications-panel {
    width: 380px;
    max-height: 420px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 12px 16px;
    transition: var(--transition);
}

.notification-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.notification-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    margin-top: 6px;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.notification-dot.read {
    background: #cbd5e1;
    animation: none;
}

.notification-title {
    font-size: 0.87rem;
    font-weight: 500;
}

.notification-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* ========== CHAT / ASSISTANT ========== */

.assistant-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.assistant-fab:hover {
    transform: scale(1.08);
}

.assistant-fab img {
    width: 28px;
    height: 28px;
}

.assistant-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 420px;
    height: 100vh;
    background: var(--surface-solid);
    box-shadow: -4px 0 40px rgba(0, 0, 0, 0.12);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.assistant-panel.open {
    right: 0;
}

.assistant-resize {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    cursor: col-resize;
    z-index: 10;
    transition: background 0.2s;
}

.assistant-resize:hover,
.assistant-resize:active {
    background: var(--accent);
    opacity: 0.3;
}

.assistant-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.assistant-overlay.open {
    opacity: 1;
    visibility: visible;
}

.assistant-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.assistant-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.assistant-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    display: flex;
    gap: 10px;
    max-width: 88%;
}

.chat-msg.user {
    margin-left: auto;
    flex-direction: row-reverse;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.87rem;
    line-height: 1.55;
}

.chat-msg.user .chat-bubble {
    background: var(--accent);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-msg.assistant .chat-bubble {
    background: #f1f5f9;
    color: var(--text);
    border-bottom-left-radius: 4px;
}

.chat-typing {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.chat-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-secondary);
    opacity: 0.4;
    animation: typingDot 1.4s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% { opacity: 0.4; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-4px); }
}

.assistant-input {
    padding: 12px 16px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.assistant-data-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}

.assistant-data-btn:hover {
    border-color: var(--accent);
    color: var(--text);
}

.assistant-data-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.assistant-data-btn svg {
    width: 14px;
    height: 14px;
}

.assistant-input-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    background: #f1f5f9;
    border-radius: 50px;
    padding: 4px 4px 4px 16px;
}

.assistant-input-wrap .form-control {
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 0.87rem;
    box-shadow: none;
}

.assistant-input-wrap .form-control:focus {
    box-shadow: none;
    border: none;
    outline: none;
}

.assistant-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.assistant-send-btn:hover {
    transform: scale(1.06);
}

/* ========== DETAIL TABLE ========== */

.detail-table {
    width: 100%;
}

.detail-table tr td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

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

.detail-table .label {
    color: var(--text-secondary);
    font-size: 0.87rem;
    width: 40%;
}

.detail-table .value {
    font-weight: 600;
    text-align: right;
}

/* ========== TWO COLUMN FORM ========== */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* ========== AUTH PAGES ========== */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
}

.auth-card .card-body {
    padding: 40px;
}

.auth-title {
    text-align: center;
    margin-bottom: 32px;
}

.auth-title h1 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.auth-title p {
    color: var(--text-secondary);
    font-size: 0.93rem;
}

.password-toggle {
    position: relative;
}

.password-toggle .form-control {
    padding-right: 44px;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 1.3rem;
    }

    .filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .desktop-only {
        display: none !important;
    }

    .object-card-image {
        height: 200px;
    }

    .carousel-item img {
        height: 280px;
    }

    .assistant-panel {
        width: 100% !important;
        right: -100%;
    }

    .assistant-resize {
        display: none;
    }

    .notifications-panel {
        width: 300px;
    }

    .auth-card .card-body {
        padding: 24px;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

/* ========== ANIMATIONS ========== */

.fade-in {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== MISC ========== */

.text-secondary {
    color: var(--text-secondary);
}

.text-danger {
    color: var(--danger);
}

.text-success {
    color: var(--success);
}

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

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

.fw-bold {
    font-weight: 600;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }
.d-block { display: block; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }

.w-full { width: 100%; }
.overflow-hidden { overflow: hidden; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state svg {
    width: 80px;
    height: 80px;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 0.93rem;
}

.table-responsive {
    overflow: visible;
    -webkit-overflow-scrolling: touch;
}

.map-frame {
    width: 100%;
    border: none;
    border-radius: var(--radius-sm);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.open {
    display: flex;
}

.modal-content {
    background: var(--surface-solid);
    border-radius: var(--radius);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow: auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-body {
    padding: 24px;
}

.call-fab {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 900;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.call-fab.show {
    transform: translateX(-50%) translateY(0);
}

/* ========== SEARCH BAR ========== */

.search-bar {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-bar .form-control {
    padding-left: 40px;
    border-radius: 50px;
}

.search-bar-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

/* ========== PAGINATION ========== */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 20px 0;
}

.pagination-btn {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 0.87rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.pagination-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

.pagination-btn.active {
    background: var(--accent);
    color: #fff;
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.pagination-info {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0 12px;
}

/* ========== ACTIVE FILTERS ========== */

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(15, 15, 15, 0.06);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text);
}

.filter-tag-remove {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.15);
    color: var(--text);
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.filter-tag-remove:hover {
    background: var(--danger);
    color: #fff;
}

/* ========== CHAT MARKDOWN ========== */

.chat-bubble h1, .chat-bubble h2, .chat-bubble h3, .chat-bubble h4 {
    font-size: 0.93rem;
    font-weight: 700;
    margin: 10px 0 4px;
}

.chat-bubble h1:first-child, .chat-bubble h2:first-child, .chat-bubble h3:first-child {
    margin-top: 0;
}

.chat-bubble p {
    margin: 4px 0;
}

.chat-bubble ul, .chat-bubble ol {
    margin: 4px 0;
    padding-left: 18px;
}

.chat-bubble li {
    margin: 2px 0;
}

.chat-bubble strong {
    font-weight: 700;
}

.chat-bubble code {
    background: rgba(0, 0, 0, 0.06);
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 0.85em;
}

.chat-bubble hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 8px 0;
}

/* ========== MAP MODAL ========== */

.map-modal-content {
    max-width: 640px;
}

.map-modal-content .modal-body {
    padding: 0;
}

.map-modal-content .modal-body iframe {
    display: block;
    width: 100%;
    height: 480px;
    border: none;
    border-radius: 0 0 var(--radius) var(--radius);
}

/* ========== TABLE ROW HIGHLIGHT ========== */

tr.highlight td {
    background: rgba(59, 130, 246, 0.06);
}

mark {
    background: #fde68a;
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
}

/* Table avatar */
.table-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-xs);
    object-fit: cover;
    flex-shrink: 0;
    background: #f1f5f9;
}

/* Table dropdown fix */
.data-table td {
    position: relative;
}

.data-table .dropdown-menu {
    position: absolute;
    right: 16px;
    top: auto;
    z-index: 300;
    white-space: nowrap;
}

/* ========== PROFILE PAGE ========== */

.profile-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    margin-top: 24px;
}

.profile-sidebar .card-body {
    padding: 16px;
}

.profile-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-xs);
    color: var(--text);
    font-size: 0.87rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.profile-nav-item:hover {
    background: rgba(0, 0, 0, 0.04);
    opacity: 1;
}

.profile-nav-item.active {
    background: rgba(0, 0, 0, 0.06);
    font-weight: 600;
}

.profile-nav-item.disabled {
    opacity: 0.4;
    cursor: default;
}

.profile-nav-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.6;
}

.profile-avatar-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
    flex-shrink: 0;
    border: 3px solid rgba(0, 0, 0, 0.06);
}

.profile-avatar-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-avatar-info .name {
    font-size: 1.15rem;
    font-weight: 700;
}

.profile-avatar-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.profile-form-section {
    padding: 24px;
}

.profile-form-section h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.profile-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin: 24px 0;
}

.profile-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.01);
    border-radius: 0 0 var(--radius) var(--radius);
}

@media (max-width: 768px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
    .profile-form-grid {
        grid-template-columns: 1fr;
    }
    .profile-avatar-section {
        flex-direction: column;
        text-align: center;
    }
}

/* ---------- Location picker (city + region) ---------- */
.loc-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}
.loc-add-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 8px;
    font-size: 12px;
    font-weight: 500;
    color: #111;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 999px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.15s ease;
}
.loc-add-chip:hover {
    background: #111;
    color: #fff;
    border-color: #111;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.loc-add-chip svg { display: block; }
.loc-region-hint {
    font-size: 11px;
    opacity: 0.6;
    margin-top: 4px;
}

/* Location modals */
.loc-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    pointer-events: none;
}
.loc-modal[hidden] { display: none; }
.loc-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 17, 22, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: auto;
}
.loc-modal.is-open .loc-modal__backdrop { opacity: 1; }
.loc-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 32px);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px -12px rgba(0,0,0,0.35), 0 8px 20px -4px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(14px) scale(0.97);
    transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: auto;
}
.loc-modal.is-open .loc-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.loc-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.loc-modal__eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a8f98;
    margin-bottom: 4px;
}
.loc-modal__title {
    font-size: 20px;
    font-weight: 600;
    color: #0f1116;
    margin: 0;
    letter-spacing: -0.01em;
}
.loc-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: rgba(0,0,0,0.04);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #4a4f57;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.loc-modal__close:hover { background: #0f1116; color: #fff; transform: rotate(90deg); }
.loc-modal__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.loc-add-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 14px;
    background: rgba(0,0,0,0.03);
    border-radius: 12px;
    border: 1px dashed rgba(0,0,0,0.1);
}
.loc-add-form--split {
    grid-template-columns: minmax(140px,1fr) minmax(140px,1.4fr) auto;
}
.loc-section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7078;
    padding: 0 2px;
}
.loc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 4px;
}
.loc-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    transition: all 0.15s ease;
}
.loc-item:hover {
    background: #fff;
    border-color: rgba(0,0,0,0.15);
    transform: translateX(2px);
}
.loc-item[data-editing="1"] {
    background: #fff;
    box-shadow: 0 0 0 2px #111 inset;
}
.loc-item-name {
    font-weight: 500;
    color: #111;
    font-size: 14px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.loc-item-input {
    width: 100%;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    background: #fff;
}
.loc-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    color: #555;
    transition: all 0.15s ease;
}
.loc-icon-btn:hover { background: rgba(0,0,0,0.06); color: #111; }
.loc-icon-btn.danger:hover { background: rgba(220,38,38,0.1); color: #dc2626; }
.loc-icon-btn svg { display: block; }
.loc-region-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}
.loc-region-group-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
    padding: 0 4px;
}
.loc-empty {
    padding: 20px;
    text-align: center;
    color: #888;
    font-size: 13px;
    background: rgba(0,0,0,0.02);
    border-radius: 12px;
}
.loc-error {
    color: #dc2626;
    font-size: 12px;
    padding: 6px 10px;
    background: rgba(220,38,38,0.08);
    border-radius: 8px;
    margin-top: 4px;
}

@media (max-width: 560px) {
    .loc-add-form--split {
        grid-template-columns: 1fr;
    }
}

/* ---------- Drag-to-reorder handles ---------- */
.drag-col { width: 36px; padding: 0 !important; }
.data-table td.drag-cell {
    width: 36px;
    padding: 0 4px 0 8px !important;
    text-align: center;
    vertical-align: middle;
}
.drag-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #9aa0a8;
    cursor: grab;
    transition: background 0.15s ease, color 0.15s ease;
    touch-action: none;
}
.drag-handle:hover { background: rgba(0,0,0,0.05); color: #0f1116; }
.drag-handle:active { cursor: grabbing; }
.drag-handle svg { display: block; }

.table-row.is-dragging,
.mobile-card.is-dragging {
    opacity: 0.55;
    outline: 2px dashed rgba(0,0,0,0.2);
    outline-offset: -2px;
}

.mobile-card { position: relative; }
.mobile-drag {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 5;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
