/* ================================================= */
/* ESTRUCTURA PRINCIPAL - SIMETRÍA 1100px            */
/* ================================================= */

.main-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start; 
    justify-content: center;
    gap: 25px; 
    padding: 20px; 
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
}

/* Forzamos a que ambas columnas ocupen el mismo espacio (50/50) */
.canvas-column, 
.sidebar-column {
    flex: 1; 
    min-width: 0; 
    display: flex;
    flex-direction: column;
}

/* Columna Izquierda: El Mapa */
.canvas-column {
    align-items: flex-end; /* Lo pega al centro del diseño */
}

#starCanvas {
    width: 100%;
    max-width: 500px; /* Tamaño máximo para mantener la proporción */
    height: auto !important;
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 4px; /* Un toque sutil de acabado */
}

/* Columna Derecha: El Panel */
.sidebar-column {
    align-items: flex-start; /* Lo pega al centro del diseño */
}

#editor-panel {
    width: 100%;
    max-width: 450px; /* Ligeramente más estrecho que el canvas para aire visual */
    background: #ffffff;
    padding: 10px;
    box-sizing: border-box;
}

/* ================================================= */
/* ESTILOS DE ELEMENTOS INTERNOS                     */
/* ================================================= */

#editor-panel label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    color: #333;
}

#editor-panel input, 
#editor-panel select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

#editor-panel input:focus {
    border-color: #000;
    outline: none;
}

/* Botón de Compra - Único protagonista */
#btnNext {
    width: 100%;
    padding: 18px;
    background-color: #000;
    color: #fff;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

#btnNext:hover {
    background-color: #333;
}

/* Responsividad para tablets/móviles */
@media (max-width: 850px) {
    .main-container {
        flex-direction: column;
        align-items: center;
    }
    .canvas-column, .sidebar-column {
        width: 100%;
        align-items: center;
    }
    #editor-panel {
        max-width: 100%;
    }
}