/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
#barra-carga {
    position: fixed;
    top: 4px;
    right: 250px;
    z-index: 10000;
    width: 200px;
    height: 15px;
    appearance: none;
    -webkit-appearance: none;
}

#barra-carga::-webkit-progress-bar {
    background-color: #FFFFFF;
    border: 2px solid #FFFFFF;
    border-radius: 4px;
}

#barra-carga::-webkit-progress-value {
    background-color: #E77E90;
    border-radius: 2px;
}

body {
  background-color: white;
  color: white;
  font-family: Verdana;
  
  
/* Nuevo estilo para que el Drawbox quede en la columna derecha */
.drawbox-widget {
    width: 220px;
    background-color: var(--sidebar-bg, #1c122e);
    border: var(--border-style, 2px solid #bd93f9);
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
    align-self: flex-start; /* Se alinea a la misma altura que inicia el Main */
}

.drawbox-title {
    font-family: 'VT323', monospace;
    color: var(--accent-pink, #ff79c6);
    font-size: 20px;
    margin: 0 0 10px 0;
    text-align: center;
}

#drawCanvas {
    background-color: #ffffff;
    border: 1px solid var(--accent-pink, #ff79c6);
    cursor: crosshair;
    display: block;
    margin: 0 auto 10px auto;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.drawbox-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 10px;
}

.drawbox-controls input[type="color"] {
    border: none;
    width: 26px;
    height: 26px;
    cursor: pointer;
    background: none;
    padding: 0;
}

.drawbox-btn {
    background-color: var(--main-bg, #221738);
    color: var(--accent-pink, #ff79c6);
    border: 1px solid var(--accent-pink, #ff79c6);
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
}

.drawbox-btn:hover {
    background-color: var(--accent-purple, #bd93f9);
    color: #11091c;
}

.drawbox-gallery-title {
    font-size: 12px;
    color: var(--accent-pink, #ff79c6);
    margin: 8px 0 5px 0;
    text-align: center;
    border-top: 1px dashed var(--accent-purple, #bd93f9);
    padding-top: 6px;
}

#drawGallery {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    max-height: 140px;
    overflow-y: auto;
    justify-content: center;
    padding: 5px;
    background-color: #11091c;
    border-radius: 4px;
    border: 1px solid var(--accent-purple, #bd93f9);
}

.saved-draw-img {
    width: 45px;
    height: 35px;
    border: 1px solid var(--accent-pink, #ff79c6);
    background-color: #fff;
    border-radius: 3px;
    object-fit: contain;
}
  
}