body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

header {
    background-color: #000000;
    padding: 20px;
    text-align: center;
    border-bottom: 4px solid #ffc107;
}

#logo {
    width: 80px;
    margin-bottom: 10px;
}

h1 {
    margin: 0;
    color: #ffc107;
}

main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 600px;
    margin: auto;
}

section {
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

section h2 {
    color: #ffc107;
    margin-bottom: 15px;
}

input, button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

input {
    background-color: #2b2b2b;
    color: white;
}

button {
    background-color: #ffc107;
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease;
}

button:hover {
    background-color: #e0a800;
}

.franja {
    border-left: 5px solid #ffc107;
}

.franja-oscura {
    border-left: 5px solid #444;
}
#productosPanel {
    background-color: #1e1e1e;
    border: 1px solid #ffcc00;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    color: white;
}

#productosPanel input,
#productosPanel button {
    margin: 5px;
    padding: 8px;
    border-radius: 8px;
    border: none;
    outline: none;
}

#productosPanel button {
    background-color: #ffcc00;
    color: black;
    cursor: pointer;
    transition: 0.3s;
}

#productosPanel button:hover {
    background-color: #ffc107;
}

.producto-item {
    background-color: #2a2a2a;
    border-left: 4px solid #ffcc00;
    padding: 10px;
    margin: 8px 0;
    border-radius: 6px;
    font-size: 14px;
    transition: background-color 0.2s;
}

.producto-item:hover {
    background-color: #333333;
}
#cotizacionFormal {
    margin-top: 30px;
    background-color: #111;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid gold;
    width: 80%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
    position: relative;
}

.oculto {
    display: none;
}

/* Oculta por defecto cualquier panel que así lo requiera */
#adminPanel,
#loginPanel,
#pdfArea,
#productosPanel {
    display: none;
}

/* Clases de control dinámico */
.visible {
    display: block;
}


#incluirIVA {
  transform: scale(1.2);
  margin-right: 5px;
}


input[type="checkbox"] {
  accent-color: #ffc107;
  cursor: pointer;
}

textarea#descripcionCotizacion {
    width: 100%;
    background-color: #1e1e1e;     /* Fondo igual a los inputs */
    color: #ffffff;                /* Texto blanco */
    border: none;                 /* Sin borde visible */
    padding: 10px;
    border-radius: 8px;           /* Bordes redondeados */
    font-size: 14px;              /* Tamaño de texto uniforme */
    margin-top: 10px;
    resize: none;                 /* No permitir redimensionar */
    box-sizing: border-box;       /* Que padding no altere el tamaño */
    font-family: inherit;         /* Misma fuente que el resto */
    line-height: 1.5;             /* Buena legibilidad */
}

textarea#descripcionCotizacion::placeholder {
    color: #cccccc;               /* Color más claro para el placeholder */
    font-style: italic;           /* Estilo de nota */
}
