.floor-container {
    position: relative;
    width: 100%;
    height: 600px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    overflow: hidden;
}

#floor {
    position: absolute;
    left: 0;
    top: 0;
}

.tile {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid #dee2e6;
    box-sizing: border-box;
    cursor: pointer;
}

.tile.white {
    background-color: #ffffff;
}

.tile.gray {
    background-color: #6c757d;
}

.tile.black {
    background-color: #212529;
}

.tile.red {
    background-color: #dc3545;
}

.tile.blue {
    background-color: #0d6efd;
}

.tile.green {
    background-color: #198754;
}

.tile.darkgray {
    background-color: #343a40;
}

.tile.lightgreen {
    background-color: #90ee90;
}

.tile.lightgray {
    background-color: #dee2e6;
}

.tile.pink {
    background-color: #e83e8c;
}

.tile.purple {
    background-color: #6f42c1;
}

.tile.turquoise {
    background-color: #20cfcf;
}

.tile.yellow {
    background-color: #ffc107;
}

.tile.orange {
    background-color: #fd7e14;
}

.tile.lightblue {
    background-color: #5bc0ff;
}

.tile.notile {
    position: relative;
    background-color: #e0e0e0;
    background-image: repeating-linear-gradient(135deg, #cccccc 0 4px, transparent 4px 12px);
    opacity: 1;
    border: 1.5px dashed #b0b0b0;
}

.tile.notile::after {
    content: 'No tile';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #888;
    font-size: 0.8em;
    font-weight: bold;
    pointer-events: none;
    opacity: 0.7;
    letter-spacing: 0.5px;
}

.object {
    position: absolute;
    background-color: rgba(255, 0, 0, 0.3);
    border: 2px solid #dc3545;
    cursor: move;
    z-index: 1000;
}

.object:hover {
    background-color: rgba(255, 0, 0, 0.4);
}

.object .remove-object {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    font-size: 12px;
    display: none;
}

.object:hover .remove-object {
    display: block;
}

.edge {
    position: absolute;
    background-color: #6c757d;
    z-index: 100;
}

.corner {
    position: absolute;
    background-color: #495057;
    z-index: 101;
}

.color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active {
    border: 2px solid #000;
    transform: scale(1.1);
}

.pattern-mode .tile {
    cursor: crosshair;
}

.navbar {
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.frame-tile {
    background-color: rgba(80, 80, 80, 0.3);
    border: 1px solid #adb5bd;
    /* pointer-events: none; */
}

.frame-tile.lightrampbrown {
    background-color: #e0c9a6;
    
}

.frame-tile.lightrampbrown::after {
    content: 'Empty ramp';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #7a5c2e;
    font-size: 0.6em;
    font-weight: bold;
    pointer-events: none;
    opacity: 0.5;
    letter-spacing: 0.5px;
    text-align: center;
}

.chevron {
    transition: transform 0.3s;
    font-size: 1.2em;
    margin-left: 10px;
}

.chevron svg {
    transition: transform 0.3s;
    transform: rotate(-90deg);
}

.chevron:not(.collapsed) svg {
    transform: rotate(0deg);
}

.card-body[style*="display: none"] {
    padding: 0 !important;
    border: none !important;
    height: 0 !important;
    min-height: 0 !important;
}

.tile.lightbrown {
    background-color: #f3e5d3;
}

.tile.lightbrown::after {
    content: 'Empty tile';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #7a5c2e;
    font-size: 0.6em;
    font-weight: bold;
    pointer-events: none;
    opacity: 0.4;
    letter-spacing: 0.5px;
    text-align: center;
} 