* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2b2b2b;
    color: #fff;
    overflow: hidden;
}

.cad-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.toolbar {
    background-color: #1e1e1e;
    padding: 1rem;
    border-bottom: 1px solid #444;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toolbar h1 {
    font-size: 1.5rem;
    margin-right: auto;
}

.toolbar button {
    background-color: #3177C6;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toolbar button:hover {
    background-color: #255a9c;
}

#coordinates {
    font-family: 'Courier New', monospace;
    background-color: #444;
    padding: 0.5rem;
    border-radius: 4px;
}

#blueprint-canvas {
    flex: 1;
    background-color: #3177C6;
    overflow: hidden;
    position: relative;
}

#cad-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Grid Styles */
.grid-line-1 {
    stroke: #444;
    stroke-width: 0.5;
    stroke-opacity: 0.3;
}

.grid-line-10 {
    stroke: #666;
    stroke-width: 1;
    stroke-opacity: 0.5;
}

.axis-line {
    stroke: #ff4444;
    stroke-width: 1.5;
    stroke-opacity: 0.7;
    stroke-dasharray: 5,5;
}

/* Drawing Styles */
.drawing-element {
    stroke: #00ff00;
    stroke-width: 2;
    fill: none;
}

.drawing-element circle {
    stroke: #ffaa00;
    fill: none;
}

