.loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f8fa;
    z-index: 9998;
    text-align: center;
}

.plane-container {
    position: absolute;
    top: 50%;
    left: 50%;
}

.paper-admin-title {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.paper-admin-user {
    opacity: 0.9;
    font-size: 0.875rem;
}

.paper-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.08);
    padding: 1rem;
}

.source-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
}

.leaflet-canvas {
    width: 100%;
    height: 70vh;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.map-panel {
    position: relative;
}

.map-disabled-overlay {
    display: none;
    position: absolute;
    inset: 48px 16px 38px 16px;
    background: rgba(100, 116, 139, 0.45);
    color: #fff;
    border-radius: 6px;
    z-index: 900;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    padding: 1rem;
}

.map-disabled-overlay.active {
    display: flex;
}

.map-panel--disabled .leaflet-canvas {
    filter: grayscale(1) opacity(0.65);
}

.map-panel--crosshair .leaflet-container {
    cursor: crosshair !important;
}

.cp-marker-icon-wrapper {
    background: transparent;
    border: 0;
}

.cp-marker-icon {
    min-width: 30px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.3);
}

.cp-marker-icon--source {
    background: #f59e0b;
}

.cp-marker-icon--osm {
    background: #0ea5e9;
}

.cp-table-wrap {
    overflow-x: auto;
}

.cp-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.cp-table th,
.cp-table td {
    border: 1px solid #e5e7eb;
    padding: 0.4rem;
    min-width: 90px;
}

.cp-table td input {
    width: 100%;
}

.cp-table tbody tr.selected {
    background: #edf5ff;
}

.row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.geo-action-btn {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #fff !important;
}

.geo-action-btn:hover,
.geo-action-btn:focus {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 0.8rem;
}

.form-grid p {
    margin: 0;
}

.form-grid p label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.form-grid p input,
.form-grid p select,
.form-grid p textarea {
    width: 100%;
    min-height: 40px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0.5rem;
}

.form-grid p input.zoom-slider {
    min-height: auto;
    height: 32px;
    padding: 0;
    border: 0;
    appearance: auto;
    -webkit-appearance: auto;
}

.zoom-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 0.8rem;
}

.zoom-preview-card {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.75rem;
    background: #fbfdff;
}

.zoom-preview-head {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.zoom-preview-image {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1/1;
    image-rendering: auto;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    display: block;
    background: #eef2f7;
}

.zoom-preview-meta {
    margin-top: 0.45rem;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .zoom-preview-grid {
        grid-template-columns: 1fr;
    }

    .leaflet-canvas,
    .source-image {
        max-height: 55vh;
        height: 55vh;
    }
}
