/**
 * EMLAK STÜDYOM - AKILLI HİZALAMA ÇİZGİLERİ (SMART GUIDES)
 * css/smart-guides.css
 */

#smart-guides-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
    overflow: visible;
}

.smart-guide-line {
    position: absolute;
    pointer-events: none;
    z-index: 99999;
    will-change: transform;
    opacity: 0.95;
}

.smart-guide-line.v-line {
    width: 1px;
    height: 100%;
    top: 0;
    background: #ec4899;
    box-shadow: 0 0 4px rgba(236, 72, 153, 0.6);
}

.smart-guide-line.h-line {
    height: 1px;
    width: 100%;
    left: 0;
    background: #ec4899;
    box-shadow: 0 0 4px rgba(236, 72, 153, 0.6);
}

/* Merkez Çizgileri için Özel Vurgu (Canvas Center Cyan) */
.smart-guide-line.center-line {
    background: #06b6d4;
    box-shadow: 0 0 5px rgba(6, 182, 212, 0.7);
}

.smart-guide-badge {
    position: absolute;
    pointer-events: none;
    background: #ec4899;
    color: #ffffff;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1;
    padding: 2px 5px;
    border-radius: 3px;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    transform: translate(-50%, -50%);
    z-index: 100000;
    opacity: 0.92;
    transition: opacity 0.12s ease-out;
}

.smart-guide-badge.center-badge {
    background: #0891b2;
}

/* Katmanlar Ağacı (Layers) Sürükle-Bırak Göstergeleri */
.layer-item.drop-indicator-top {
    border-top: 2px solid #0ea5e9 !important;
    box-shadow: 0 -3px 8px rgba(14, 165, 233, 0.4);
}
.layer-item.drop-indicator-bottom {
    border-bottom: 2px solid #0ea5e9 !important;
    box-shadow: 0 3px 8px rgba(14, 165, 233, 0.4);
}

/* Akıllı Hizalama Sidebar Toggle Satırı */
.snap-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    margin-top: 4px;
    margin-bottom: 8px;
}

.snap-toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text, #0f172a);
    cursor: pointer;
}

body[data-theme="dark"] .snap-toggle-label {
    color: #e2e8f0;
}
