/* Botón de domiciliar - estilo discreto en esquina superior derecha */
.button-domiciliar-link {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: 1.5px solid #00A9FA;
    color: #00A9FA;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.button-domiciliar-link:hover {
    background: #00A9FA;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 169, 250, 0.2);
}
.button-domiciliar-link:active {
    transform: translateY(0);
}
.button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.button .loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.button .spinner {
    margin-right: 8px;
}
#btnConsultarLoading.hidden { display: none; }
#btnConsultarText.hidden { display: none; }
.button-primary { background: #00A9FA; color: white; }
.button-primary:hover { background: #0088CC; transform: translateY(-2px); }
.button-secondary { background: #F5F5F5; color: #333; border: 2px solid #E0E0E0; }
.button-secondary:hover { background: #E0E0E0; }

/* Estilos para grupo de botones */
.button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.button-group .button {
    flex: 1;
    margin-bottom: 0;
}

.button-group .button-primary {
    background: #28A745;
    color: white;
}

.button-group .button-primary:hover {
    background: #218838;
    transform: translateY(-2px);
}
.button-auto-pay {
    background: #00d1ff;
    color: #003366;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.button-auto-pay:hover {
    background: #33e1ff;
    transform: translateY(-2px);
}
.button-auto-pay.button-auto-pay-loading {
    background: #80ecff;
    cursor: progress;
    transform: none;
}
.button-auto-pay-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
    font-weight: 600;
}
.button-auto-pay-secondary:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

/* Estilos para la selección de servicio */
.service-selection {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.button-service {
    background: #fff;
    color: #333;
    border: 2px solid #E0E0E0;
    padding: 20px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.button-service:hover {
    border-color: #00A9FA;
    background: #F8FBFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.button-service:active {
    transform: translateY(0);
}

.service-icon {
    font-size: 40px;
    display: block;
}

.service-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.service-text {
    font-size: 18px;
    font-weight: 600;
}

/* Estilos específicos para cada tipo de servicio */
#btnFibra:hover {
    border-color: #00A9FA;
    background: linear-gradient(135deg, #F8FBFF 0%, #E3F2FD 100%);
}

#btnInalambrico:hover {
    border-color: #00A9FA;
    background: linear-gradient(135deg, #F8FBFF 0%, #E3F2FD 100%);
}

/* Estilos para grupo de botones */
.button-group {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.button-group .button {
    flex: 1;
    margin-bottom: 0;
}

/* Botón de regreso específico */
#btnRegresar {
    background: #F5F5F5;
    color: #666;
    border: 2px solid #E0E0E0;
    transition: all 0.3s;
}

#btnRegresar:hover {
    background: #E0E0E0;
    border-color: #CCC;
    transform: translateY(-1px);
}
