.angular-motion-page {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.angular-motion-card {
    min-height: 0;
    border: 1px solid #dbe4f0;
    box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.05);
}

.angular-motion-layout {
    flex: 1 1 auto;
    min-height: 0;
}

.angular-motion-layout > [class*="col-"] {
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.angular-motion-section-title {
    font-weight: 600;
    color: #1f2a44;
}

.angular-motion-helper {
    color: #64748b;
    font-size: 0.875rem;
}

.angular-motion-form-body {
    overflow: visible;
}

.angular-motion-map {
    position: relative;
    width: 100%;
    height: 420px;
    min-height: 320px;
    border: 1px solid #dbe4f0;
    border-radius: 0.5rem;
    background: #f8fbff;
    overflow: hidden;
}

.angular-motion-map.angular-motion-pick-active {
    outline: 3px solid rgba(13, 110, 253, 0.25);
}

.angular-motion-map .cesium-viewer,
.angular-motion-map .cesium-widget,
.angular-motion-map .cesium-widget canvas {
    width: 100%;
    height: 100%;
}

.angular-motion-map.angular-motion-pick-active,
.angular-motion-map.angular-motion-pick-active canvas {
    cursor: crosshair;
}

.angular-motion-cursor-coords-panel {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    max-width: calc(100% - 20px);
    padding: 6px 10px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 12px;
    line-height: 1.3;
    pointer-events: none;
    white-space: nowrap;
}

.angular-motion-target-marker {
    position: absolute;
    z-index: 1001;
    display: none;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.angular-motion-target-marker__dot {
    display: block;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #ff1f2f;
    box-shadow: 0 0 0 1px rgba(255, 31, 47, 0.65);
}

.angular-motion-target-marker__label {
    position: absolute;
    left: 50%;
    bottom: 16px;
    color: #ff4d5d;
    font: 700 12px sans-serif;
    text-shadow:
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff;
    transform: translateX(-50%);
    white-space: nowrap;
}

.angular-motion-result-card {
    min-height: 360px;
}

.angular-motion-table-wrap {
    max-height: calc(100vh - 35rem);
    min-height: 320px;
    overflow: auto;
}

.angular-motion-table thead th {
    position: sticky;
    top: 0;
    background: #f8fafc;
    z-index: 1;
    white-space: nowrap;
}

.angular-motion-table td,
.angular-motion-table th {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1199.98px) {
    .angular-motion-page {
        height: auto;
    }

    .angular-motion-layout > [class*="col-"] {
        display: block;
    }

    .angular-motion-form-body {
        overflow: visible;
    }

    .angular-motion-table-wrap {
        max-height: 460px;
    }
}
