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

body {
    margin: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
    background: radial-gradient(ellipse at center, #ffffff 0%, #000000 100%);
    color: white;
}
canvas { display: block; }

/* Icono en la esquina inferior derecha */
.app-icon img{
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 90px;
    height: 45px;
    size: contain;
    z-index: 10;
}

form {
    position: absolute;
    bottom: 12px;
    left: 12px;
    size: contain;
    z-index: 10;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    padding: 6px;
    border-radius: 12px;
}
form h6{
    margin-bottom: 3px;
    margin-right: 3px;
}
form img{
    width: 90px;
}
/* Contenedor de controles */
.controls, .navigation-guide {
    position: absolute;
    left: 12px;
    background: rgba(0, 0, 0, 0.1);
    padding: 12px;
    border-radius: 9px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.controls { top: 12px; }
.navigation-guide { bottom: 12px; font-size: 12px; line-height: 1.5; }

button {
    color: white;
    background: transparent;
    border: 1px solid white;
    padding: 8px 14px;
    margin: 3px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 6px;
}
button:hover {
    background: white;
    color: black;
}

 /* Loader profesional */
 #loader {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1000;
    transition: opacity 0.5s ease-in-out;
}

/* Contenedor del icono y spinner */
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Icono de la aplicación */
.loader-icon {
    width: 240px;
    height: 120px;
    margin-bottom: 15px;
}

/* Spinner de carga profesional */
.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Texto de carga */
.loader-text {
    margin-top: 15px;
    font-size: 18px;
    color: #ffffff;
    font-weight: bold;
}

#brand, #guide, #controls, #donate{
    display: none;
}
a{
    color: white;
    text-decoration: none;
}

.upload-btn {
    background-color: white;
    color: gray;
    padding: 6px 6px;
    margin: 3px;
    border: none;
    border-radius: 4px;
    cursor: pointer;

}

.cancel-btn {
    background-color: #f44336;
    color: white;
    padding: 6px 12px;
    margin: 3px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.load-btn {
    background-color: #2196F3;
    color: white;
    padding: 8px 15px;
    margin: 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#localUploadContainer, #urlUploadContainer {
    margin-top: 10px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    width: auto;
}

#changeColorObj{
    height: 30px;
    border-radius: 15px;
    display: none;

}
#mtlToggle{
    display: none;
}