:root {
    --primary: #4f46e5;
    --secondary: #10b981;
}

body {
    font-family: 'Inter', sans-serif;
}
.h-screen-minus-nav {
    height: calc(100vh - 4rem);
    width: 100vw;
}
#canvas-container {
    min-width: 800px;
    min-height: 600px;
    background-color: #f3f4f6;
    border: 1px dashed #9ca3af;
    margin: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#floorplan-canvas {
    background-color: white;
    cursor: crosshair;
    width: 100%;
    height: 100%;
    display: block;
}

#canvas-container::before {
    content: "Drawing Area - Use Tools to Create Walls and Rooms";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #9ca3af;
    font-size: 1.2rem;
    pointer-events: none;
    opacity: 0.5;
    text-align: center;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    width: 90%;
    max-width: 500px;
}
#floorplan-canvas {
    background-color: white;
    cursor: crosshair;
    border: 1px solid #e5e7eb;
    transform-origin: 0 0;
}
.tool-button {
    transition: all 0.2s ease;
}

.tool-button:hover {
    transform: translateY(-2px);
}

.tool-button.active {
    background-color: var(--primary);
    color: white;
}

.room-label {
    font-size: 0.8rem;
    font-weight: 500;
    pointer-events: none;
    user-select: none;
}
.wall-length-label {
    font-size: 0.7rem;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 0.2rem 0.4rem;
    border-radius: 0.2rem;
    pointer-events: none;
    user-select: none;
}

.undo-hint {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    pointer-events: none;
    z-index: 100;
}
