/* ==========================================================================
   Smart Parlay Widget Styles — Dark Mode
   ========================================================================== */

   .sp-wrap {
    font-family: 'Inter', sans-serif;
    max-width: 940px;
    margin: 40px auto;
    padding: 24px;
    background: #1f1f1f;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .1);
    color: #eee;
    text-align: center;
  }
  
  .sp-h2 {
    font-size: 1rem;
    font-weight: 500;
    color: #ddd;
    margin-bottom: 12px;
  }
  
  /* List container */
  .sp-list {
    border-collapse: collapse;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
  }
  
  .sp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #222;
    border-bottom: 1px solid #333;
  }
  
  .sp-row:last-child {
    border-bottom: none;
  }
  
  .sp-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-align: left;
  }
  
  /* Team line with logo + code */
  .sp-teamline {
    font-size: .95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  /* ✅ Logo small & consistent */
  .sp-team-logo {
    max-height: 26px !important;
    max-width: 26px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 4px !important;
    border-radius: 4px !important;
    background: #fff !important;
    padding: 2px !important;
  }
  .sp-teamline .team-code {
    font-weight: 600;
    color: #eee;
    font-size: .9rem;
  }
  
  /* ✅ Team code text */
  .sp-teamline .team-code {
    font-weight: 600;
    color: #eee;
    font-size: .9rem;
  }
  
  .sp-subline {
    font-size: .8rem;
    color: #aaa;
  }
  
  /* Odds box */
  .sp-oddbox {
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    background: #2d2d2d;
    border: 1px solid #444;
    min-width: 60px;
    text-align: center;
    color: #f2f2f2;
  }
  
  /* Footer with calculator */
  .sp-footerbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    background: #2d2d2d;
    padding: 14px;
    border: 1px solid #444;
    border-radius: 10px;
    margin-top: 14px;
  }
  
  .sp-stake-input {
    padding: 8px;
    width: 100px;
    text-align: right;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: .95rem;
    background: #1a1a1a;
    color: #eee;
  }
  
  .sp-ret {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
  }
  
  /* Empty state */
  .sp-empty {
    background: #2a2a2a;
    border: 1px dashed #444;
    border-radius: 8px;
    padding: 14px;
    text-align: center;
    color: #aaa;
    font-size: .9rem;
  }
  
  /* Responsive */
  @media (max-width: 600px) {
    .sp-wrap {
      padding: 10px;
    }
    .sp-row {
      flex-direction: column;
      align-items: flex-start;
      gap: 6px;
    }
    .sp-oddbox {
      align-self: flex-end;
    }
    .sp-footerbar {
      flex-direction: column;
      gap: 12px;
    }
    .sp-stake-input {
      width: 90%;
    }
  }