/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8f9fa;
    color: #212529;
    line-height: 1.5;
}

header {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #0f172a;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Map Container Layout Fixes */
#map-container {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    min-height: 560px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Clear Backdrop container wrapper for our 3D Canvas Elements */
#canvas-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0f172a; /* Rich deep slate background space */
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 500px;
}

/* Force Canvas element execution boundaries to match script dimensions */
#globe-canvas {
    width: 500px;
    height: 500px;
    cursor: grab;
    display: block;
}

#globe-canvas:active {
    cursor: grabbing;
}

#map-instructions {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#map-instructions h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

#map-instructions p {
    color: #64748b;
}

/* Product Panel Layout */
#product-panel {
    margin-top: 2rem;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
