/* =========================================================
   FUNDAMENTALS SCREENER — GETICK STYLE (Stage2 Match)
   ========================================================= */

/* =========================
   WRAPPER
   ========================= */
.scrf-wrap{
  padding: 10px 10px 18px 10px;
}

/* spacing */
.scrf-gap{
  height: 16px;
}

/* =========================
   CARDS
   ========================= */
.scrf-wrap .ui-card{
  background: #0f1117;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* header */
.scrf-wrap .ui-card-header{
  font-weight: 450 !important;
  font-size: 13px;
  color: rgba(255,255,255,.75);
}

/* 🔥 remove grey block under table */
.scrf-wrap .card-body{
  background: transparent !important;
  padding: 0 !important;
}

/* =========================
   TABLE BASE
   ========================= */
.scrf-wrap table.screener-table{
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0;
  font-size: 12px;
  line-height: 1.2;
  color: rgba(255,255,255,.88);
}

/* =========================
   KILL ALL BORDERS
   ========================= */
.scrf-wrap table.screener-table,
.scrf-wrap table.screener-table *{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* =========================
   HEADER (UW DARK)
   ========================= */
.scrf-wrap table.screener-table.table-dark > thead > tr > th{
  background-color: rgba(6,6,6,.96) !important;
  color: rgba(255,255,255,.75) !important;

  font-size: 11px;
  letter-spacing: .35px;
  padding: 10px 10px;

  text-align: center;
  vertical-align: middle;
}

/* =========================
   BODY CELLS
   ========================= */
.scrf-wrap table.screener-table.table-dark > tbody > tr > *{
  padding: 9px 10px;
  color: rgba(255,255,255,.86) !important;
  vertical-align: middle;

  background-color: rgba(0,0,0,.58) !important;
}

/* =========================
   ZEBRA
   ========================= */
.scrf-wrap table.screener-table.table-dark > tbody > tr:nth-child(odd) > *{
  background-color: rgba(0,0,0,.62) !important;
}
.scrf-wrap table.screener-table.table-dark > tbody > tr:nth-child(even) > *{
  background-color: rgba(0,0,0,.52) !important;
}

/* =========================
   HOVER
   ========================= */
.scrf-wrap table.screener-table.table-hover > tbody > tr:hover > *{
  background-color: rgba(255,255,255,.040) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
  color: rgba(255,255,255,.95) !important;
}

/* =========================
   COLUMN ALIGNMENTS
   ========================= */

/* ticker */
.scrf-wrap table.screener-table tbody td:nth-child(1){
  text-align: left !important;
  white-space: nowrap;
}

/* name */
.scrf-wrap table.screener-table tbody td:nth-child(2){
  text-align: left !important;
}

/* =========================
   TICKER CELL
   ========================= */
.scrf-wrap .ticker-link{
  font-weight: 800;
}

/* logo */
.scrf-wrap img{
  width: 20px;
  margin-right: 6px;
}

/* =========================
   SCORE BADGES
   ========================= */
.scrf-wrap span{
  letter-spacing: 0.3px;
}

/* opcional: mejorar badge look */
.scrf-wrap span{
  display: inline-block;
  min-width: 22px;
  text-align: center;
}

/* =========================
   DROPDOWN (match Stage2)
   ========================= */
.scrf-wrap .dropdown-toggle{
  background: rgba(0,0,0,.55) !important;
  color: rgba(255,255,255,.92) !important;

  border: 1px solid rgba(46,204,113,.45) !important;
  border-radius: 14px !important;

  padding: 8px 12px !important;
  font-weight: 800 !important;

  box-shadow:
    0 0 0 1px rgba(46,204,113,.15),
    0 10px 25px rgba(0,0,0,.45) !important;
}

/* dropdown open */
.scrf-wrap .dropdown-toggle:focus,
.scrf-wrap .dropdown-toggle[aria-expanded="true"]{
  border-color: rgba(46,204,113,.75) !important;
  box-shadow:
    0 0 0 2px rgba(46,204,113,.35),
    0 12px 30px rgba(0,0,0,.55) !important;
}

/* dropdown menu */
.scrf-wrap .dropdown-menu{
  background: #0b0b10 !important;
  border: 1px solid rgba(46,204,113,.25) !important;
  border-radius: 14px !important;
  padding: 6px;
  box-shadow: 0 20px 45px rgba(0,0,0,.75);
}

/* items */
.scrf-wrap .dropdown-item{
  color: rgba(255,255,255,.90) !important;
  font-weight: 700;
  border-radius: 10px;
  padding: 8px 12px;
}

.scrf-wrap .dropdown-item:hover{
  background: rgba(46,204,113,.25) !important;
  color: #ffffff !important;
}

/* =========================
   APPLY BUTTON (fix)
   ========================= */
.scrf-wrap .btn{
  height: 42px !important;
  min-height: 42px !important;

  padding: 10px 18px !important;
  border-radius: 16px !important;

  font-size: 13px !important;
  font-weight: 900 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
}

/* apply style */
.scrf-wrap .btn{
  background: rgba(46,204,113,.20) !important;
  border: 1px solid rgba(46,204,113,.45) !important;
  color: rgba(255,255,255,.95) !important;
}

.scrf-wrap .btn:hover{
  background: rgba(46,204,113,.30) !important;
  border-color: rgba(46,204,113,.70) !important;
}

/* =========================
   FINAL FIXES
   ========================= */

/* remove bootstrap background */
.scrf-wrap table.screener-table.table-dark{
  --bs-table-bg: transparent !important;
  background-color: transparent !important;
}
/* =========================
   TICKER LINK (AZUL)
   ========================= */
.scrf-wrap a{
  color: #4fc3f7 !important;
  font-weight: 800;
  text-decoration: none;
}

.scrf-wrap a:hover{
  color: #81d4fa !important;
}
/* =========================
   LOGO BOX STYLE
   ========================= */
.scrf-wrap img{
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  padding: 2px;
}
/* =========================
   PAGINATION BUTTONS
   ========================= */
.scrf-wrap .scr2-pagination .btn{
  width: 32px !important;
  height: 32px !important;

  padding: 0 !important;
  margin: 0 6px;

  border-radius: 6px !important;

  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;

  color: rgba(255,255,255,0.85) !important;
  font-weight: 900;
}

.scrf-wrap .scr2-pagination .btn:hover{
  background: rgba(255,255,255,0.18) !important;
  border-color: rgba(255,255,255,0.25) !important;
}
/* =========================
   PAGINATION TEXT
   ========================= */
.scrf-wrap .scr2-pagination div{
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;

  margin: 0 8px;
}
/* =========================
   TABLE TOPBAR
   ========================= */
.scrf-wrap .scr2-table-topbar{
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 8px 10px 6px 10px;
}
/* =========================
   DROPDOWN FINAL POLISH
   ========================= */
.scrf-wrap .scr2-index-toggle{
  height: 34px !important;
  padding: 6px 12px !important;
  font-size: 12px !important;
}
