/* StarPay Cash — tareas.css
   Tareas, cupos, microtareas y sus indicadores.
   Reglas separadas del CSS original; conserva los nombres de clases existentes.
*/

/* PC COMODO - Tareas centradas y visibles */

/* --- TICKET SYSTEM - CUPOS --- */

.ticket-blue-card{background:linear-gradient(135deg,#EFF6FF 0%,#DBEAFE 100%);border:1px solid #BFDBFE;border-radius:16px;padding:12px 14px;display:flex;align-items:center;gap:10px;margin:10px 0}

.ticket-blue-icon{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#00A8D6,#008FC0);display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 4px 12px rgba(0,168,214,0.25)}

.ticket-blue-text{flex:1}

.ticket-blue-text b{font-size:13px;font-weight:900;color:#0F172A}

.ticket-blue-text span{display:block;font-size:11px;color:#475569;margin-top:2px}

.ticket-count-badge{background:#0F172A;color:#fff;border-radius:9999px;padding:4px 10px;font-size:11px;font-weight:800;min-width:28px;text-align:center}

.ticket-modal-overlay{position:fixed;inset:0;z-index:99999;background:rgba(15,23,42,0.6);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:16px;animation:fadeIn .2s ease}

.ticket-modal-card{background:#fff;border-radius:20px;padding:20px;max-width:360px;width:100%;box-shadow:0 20px 60px rgba(0,0,0,0.25);animation:popIn .3s ease}

.cupo-request-card{background:#fff;border:1px solid #E2E8F0;border-radius:12px;padding:12px;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between;gap:10px}

.cupo-approve-btn{background:#10b981;color:#fff;border:none;border-radius:8px;padding:8px 12px;font-size:11px;font-weight:800;cursor:pointer}

.cupo-approve-btn.v5{background:#0F172A}

.cupo-reject-btn{background:#fee2e2;color:#ef4444;border:1px solid #fecaca;border-radius:8px;padding:8px 12px;font-size:11px;font-weight:800;cursor:pointer}

/* TAREAS BADGE ARRIBITA - donde señala la flecha, no dentro del círculo */

.tareas-red-dot{top:-6px !important;right:-6px !important;left:auto !important;margin-left:0 !important;z-index:10;}

/* Tarjeta de balance de Tareas: de degradado a tarjeta blanca/celeste */

.starpay-paypal-section .sp-task-balance-card{
  background:#fff!important;color:#0F172A!important;
  border:2px solid #0F172A!important;border-radius:16px!important;
  box-shadow:4px 4px 0 #0F172A!important;padding:14px!important;
}

.starpay-paypal-section .sp-task-balance-card > div:first-child > div:first-child{
  display:block!important;flex:1 1 auto!important;min-width:0!important;
  width:auto!important;height:auto!important;margin:0!important;padding:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;backdrop-filter:none!important;
}

.starpay-paypal-section .sp-task-balance-card > div:first-child > div:first-child > div{
  display:block!important;width:auto!important;height:auto!important;
  margin:0!important;padding:0!important;background:transparent!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
}

.starpay-paypal-section .sp-task-balance-card > div:first-child > div:first-child > div:first-child{
  color:#64748B!important;font-size:10px!important;opacity:1!important;
  font-weight:850!important;letter-spacing:.08em!important;
}

.starpay-paypal-section .sp-task-balance-card > div:first-child > div:first-child > div:nth-child(2){
  color:#00A8D6!important;font-size:24px!important;line-height:1.15!important;
  font-weight:950!important;margin-top:3px!important;
}

.starpay-paypal-section .sp-task-balance-card > div:first-child > div:first-child > div:nth-child(3){
  color:#64748B!important;font-size:10px!important;opacity:1!important;
  display:flex!important;align-items:center!important;gap:5px!important;margin-top:5px!important;
}

.starpay-paypal-section .sp-task-balance-card > div:first-child > div:last-child{
  width:44px!important;height:44px!important;min-width:44px!important;
  background:#EAF8FF!important;color:#0070BA!important;
  border:2px solid #0F172A!important;border-radius:12px!important;
  box-shadow:2px 2px 0 #0F172A!important;backdrop-filter:none!important;
}

@media (max-width:480px) {
.starpay-paypal-section .sp-task-balance-card{padding:12px!important}
.starpay-paypal-section .sp-task-balance-card > div:first-child > div:first-child > div:nth-child(2){font-size:22px!important}
}
