/* StädApp - Mobile-first styles */

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-bottom: 0;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Bottom sheet for room status */
.room-bottom-sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid #dee2e6;
    border-radius: 12px 12px 0 0;
    padding: 1rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
    max-height: 50vh;
    overflow-y: auto;
}

/* Large touch targets */
.status-btn {
    min-height: 48px;
    font-size: 1.1rem;
}

.quick-status {
    min-height: 40px;
    min-width: 80px;
}

/* Room list items */
.list-group-item {
    padding: 0.75rem 1rem;
}

/* Map container */
#map, #editorMap {
    touch-action: none;
}

/* Cards */
.card {
    border-radius: 8px;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .container-fluid {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    h2, h3, h4 {
        font-size: 1.3rem;
    }

    .room-bottom-sheet {
        border-radius: 16px 16px 0 0;
        padding: 1rem 0.75rem;
    }

    .status-btn {
        min-height: 56px;
        font-size: 1.2rem;
    }

    .breadcrumb {
        font-size: 0.85rem;
    }

    .table {
        font-size: 0.85rem;
    }
}

/* OpenLayers overrides */
.ol-zoom {
    top: 0.5em;
    right: 0.5em;
    left: auto;
}

.ol-attribution {
    display: none;
}
