#app-button {

    position: fixed;

    bottom: 20px;
    right: 20px;

    width: 70px;
    height: 70px;

    background: linear-gradient(
        135deg,
        #111,
        #333
    );

    color: white;

    border-radius: 18px;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;

    z-index: 99999;

    font-size: 24px;
    font-weight: bold;

    box-shadow: 0 4px 12px rgba(0,0,0,0.3);

    transition: 0.2s;
}

#app-button:hover {

    transform: scale(1.05);
}

#app-panel {

    position: fixed;

    top: 0;
    right: -340px;

    width: 320px;
    height: 100%;

    background: white;

    border-radius: 18px 0 0 18px;

    box-shadow:
        -8px 0 30px rgba(0,0,0,0.15);

    transition: 0.3s;

    z-index: 99998;

    padding: 25px;

    font-family: Arial, sans-serif;
}

#app-panel.open {

    right: 0;
}

#app-panel h2 {

    margin-top: 0;

    margin-bottom: 20px;

    font-size: 24px;

    font-weight: 700;

    color: #111;
}

#app-panel select,
#app-panel input[type="range"] {

    width: 100%;

    margin-top: 8px;

    margin-bottom: 18px;
}

#app-panel select {

    border: 1px solid #ddd;

    border-radius: 10px;

    padding: 10px;

    background: white;

    font-size: 14px;
}

#app-panel input[type="range"] {

    margin-top: 10px;
}

/* =========================
   TÍTULOS DE SECCIÓN
========================= */

.as-section-title {

    margin-top: 20px;

    margin-bottom: 10px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: #777;
}

/* =========================
   TEXTO AYUDA
========================= */

.as-help {

    margin-top: -10px;

    margin-bottom: 20px;

    font-size: 12px;

    color: #666;

    line-height: 1.4;
}

/* =========================
   CHECKBOXES
========================= */

.as-toggle {

    display: flex;

    align-items: center;

    gap: 10px;

    cursor: pointer;

    margin-top: 12px;

    margin-bottom: 12px;

    font-size: 14px;

    color: #222;
}

.as-toggle input {

    transform: scale(1.15);
}

/* =========================
   SEPARADOR
========================= */

.as-divider {

    height: 1px;

    background: #eee;

    margin-top: 20px;

    margin-bottom: 20px;
}

/* =========================
   FOOTER
========================= */

.as-footer {

    margin-top: 25px;

    font-size: 12px;

    color: #888;

    text-align: center;
}

#accessight-reset{

    width:100%;

    margin-top:16px;

    padding:12px;

    border:none;

    border-radius:10px;

    background:#f3f3f3;

    cursor:pointer;

    font-size:14px;

    transition:0.2s;

}

#accessight-reset:hover{

    background:#e7e7e7;

}

/* =========================
   LOGO BOTÓN
========================= */

.as-button-logo{

    width:100%;

    height:100%;

    object-fit:contain;
    
    display: block;

}

/* =========================
   CABECERA
========================= */

.as-header{

    text-align:center;

    margin-bottom:20px;

}

.as-logo{

    width:180px;

    max-width:100%;

    height:auto;

}

.as-subtitle{

    margin-top:8px;

    font-size:13px;

    color:#666;

}

/* =========================
   ESTADO DEL PROCESAMIENTO
========================= */

.as-status {

    margin-top: 16px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.4;
}

.as-status-info {
    color: #1f4f74;
    background: #edf6fc;
}

.as-status-success {
    color: #245c3a;
    background: #edf8f1;
}

.as-status-warning {
    color: #704b00;
    background: #fff7df;
}
