/* CONTENEDOR Y FORMULARIO */
#aomv-balance-form-container {
    text-align: center;
}

/* LABEL */
#aomv-balance-form-container .aomv-balance-label {
    font-weight: bold;
    color: #000;
    display: block;
    margin-bottom: 8px;
}

/* INPUT MSISDN */
#aomv-balance-form-container input.aomv-msisdn-input {
    width: 100% !important;
    max-width: 280px !important;
    padding: 32px !important;
    font-size: 16px !important;
    text-align: center !important;
    color: #888 !important;
    border: 2px solid var(--aomv-available-color);
    border-radius: 24px !important;
    outline: none !important;
    background-color: transparent !important;
    /*transition: border-color 0.3s ease-in-out;*/
    height: 50px;
}

#aomv-balance-form-container input.aomv-msisdn-input:focus {
    border-color: var(--aomv-available-color);
    border-width: 2px !important;
    border-style: dotted !important;
    outline: none !important;
}

/* BOTÓN CONSULTAR */
#aomv-balance-form-container #aomvCheckBalanceBtn {
    margin-top: 10px;
    padding: 12px 24px;
    font-size: 16px;
    color: #fff;
    background-color: var(--aomv-available-color);
    border: none;
    border-radius: 24px;
    cursor: pointer;
    /*transition: background-color 0.3s ease-in-out;*/
}

#aomv-balance-form-container #aomvCheckBalanceBtn:hover {
    background-color: var(--aomv-available-color);
}


/* MODAL */
.aomv-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);

    display: flex;
    justify-content: center;
    align-items: center;
}

.aomv-modal-content {
    background-color: white;
    /*margin: 10% auto;*/
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);

    max-height: 80vh;
    overflow-y: auto;
}

.aomv-close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.aomv-close:hover {
    color: black;
}


/* Mensajes de error */
.aomv-balance-error {
    text-align: center;
    color: red;
    font-weight: bold;
    margin-top: 15px;
}

/* Secciones generales */
.aomv-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}
/* .aomv-section {
    margin-top: 20px;
    text-align: center;
} */
 .aomv-promo-tt-yt{
    text-align: center; 
    margin-top: 20px;
 }

/* Títulos y valores principales */
.aomv-title {
    font-weight: bold;
    color: #000;
}

.aomv-title-promo-social{
    font-weight: bold;
    color: #EA5D31;
}

/* Texto de consumo */
.aomv-value {
    font-weight: bold;
    color: var(--aomv-available-color);
}

.aomv-value-promo-social{
    font-weight: bold; 
    color: black;
}

/* Gráfica (Chart.js) */
.aomv-chart {
    position: relative;
    width: 140px;
    margin: 10px auto;
    height: 140px; 
}

.aomv-chart canvas {
    width: 100%;
    height: 100%;
}

.aomv-chart-small {
    width: 120px;
    height: 60px;
    margin: 0 auto;
}

/* Íconos sociales */
.aomv-social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.aomv-social-icons img {
    width: 24px;
    height: 24px;
}

/* Leyenda de la gráfica */
.aomv-legend {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 8px;
}

.legend-color {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 5px;
    vertical-align: middle;
}

.legend-available {
    background-color: var(--aomv-available-color);
}
.legend-used {
    background-color: #cccccc;
}

/* .aomv-dot {
    width: 12px;
    height: 12px;
    display: inline-block;
    margin-right: 5px;
}

.aomv-dot.available { background: #0066CC; }
.aomv-dot.used { background: #cccccc; } */



/* Vigencia del plan */
.aomv-validity,
.aomv-days {
    text-align: center;
    font-weight: bold;
    margin: 6px 0;
    font-size: 14px;
    color: #222;
}

.aomv-validity span,
.aomv-days span {
    color: var(--aomv-available-color);
}
