#laanekort-container {
    font-family: Arial, sans-serif;
  }
  
  .loan-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #0071bc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 10px;
    max-width: 1050px;
    margin: 0 auto 40px auto;
  }
  
  .loan-header {
    position: absolute;
    top: -30px;
    left: 16px;
    background-color: #0071bc;
    color: white;
    font-weight: bold;
    padding: 3px 6px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    z-index: 2;
  }
  
  /* JUSTERET LAYOUT */
  .loan-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    align-items: center;
  }
  
  .loan-left {
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
  }
  
  
  .bank-logo {
  max-width: 200px;
  max-height: 60px;
  margin-bottom: 8px;
}





  
  .rating-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #f3fcf8;
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 10px 16px;
  }
  
  .rating-score {
    font-size: 22px;
    font-weight: bold;
    color: #f59e0b;
  }
  
  .stars {
    display: flex;
    gap: 5px;
  }
  
  .star {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
  }
  
  .star.full {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23f59e0b" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="10,1 12.5,7 19,7.5 14,12 15.5,18.5 10,15 4.5,18.5 6,12 1,7.5 7.5,7"/></svg>');
  }
  
  .star.empty {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23f59e0b" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><polygon points="10,1 12.5,7 19,7.5 14,12 15.5,18.5 10,15 4.5,18.5 6,12 1,7.5 7.5,7"/></svg>');
  }
  
  .loan-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  
  .loan-amount {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .loan-info-wrapper {
    margin-top: 10px;
  }
  
  .loan-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
  }
  
  .loan-details {
    background: #f0faf5;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    font-size: 15px;
    min-width: 300px;
    border: 2px solid #0071bc;
  }
  
  .detail-row {
    display: flex;
    justify-content: space-between;
  }
  
  .label {
    color: #111;
  }
  
  .value {
    font-weight: bold;
  }
  
  .loan-usps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-size: 15px;
  }
  .loan-usps .checkmark {
    color: #10b981; /* Grøn farve – skift evt. til fx #f59e0b for orange */
  }
  .loan-cta-box {
    width: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
  }
  
  .loan-cta {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .cta-button {
    display: block;
    width: 100%;
    max-width: 200px;
    padding: 14px 24px;
    background-color: #f59e0b;
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: background-color 0.2s ease;
  }
  
  .cta-button:hover {
    background-color: #d97706;
  }
  
  .loan-example {
    font-size: 8px;
    color: #666;
    margin-top: 5px;
    line-height: 1.5;
  }
  

  @media screen and (max-width: 767px) {
    .loan-card {
      display: flex;
      flex-direction: column;
      padding: 1rem;
    }
  
    .loan-content {
      display: flex;
      flex-direction: column;
    }
  
    .loan-left {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 330px; /* justér så det passer til mobilen */
        margin: 0 auto;   /* centrerer indholdet */
        gap: 0.5rem;      /* sikrer luft mellem logo og stjerner */
      }
      
      .bank-logo {
        flex-shrink: 0;
        max-width: 140px;
        zoom: 0.7;
      }
      
      .rating-box {
        zoom: 0.6; /* virker i de fleste browsere */
        transform-origin: right center;
        font-size: 0.7rem;
        white-space: nowrap; /* forhindrer linjeskift */
      }
      
      .rating-box svg {
        width: 16px;
        height: 16px;
      }
      
      
    .loan-amount {
      text-align: center;
      font-weight: bold;
      font-size: 1.1rem;
    }
  
    .loan-details-grid {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .loan-details {
      width: 100%;
      max-width: 320px; /* Gør boksen lidt smallere */
      text-align: center;
      padding: 1rem;
      border: 2px solid #1e2b5f;
      border-radius: 12px;
      background: #f0fbfa;
      zoom: 0.9; /* virker i de fleste browsere */
    }
  
    .loan-usps {
      padding: 0;
      list-style: none;
      text-align: left;
    }
  
    .loan-usps li {
      margin: 0.25rem 0;
      font-size: 1rem;
      display: flex;
      align-items: center;
    }
  
    .loan-usps .checkmark {
      color: green;
      margin-right: 0.5rem;
      font-weight: bold;
    }
  
    .loan-cta-box {
      width: 100%;
      display: flex;
      justify-content: center;
    }
  
    .cta-button {
      width: 100%;
      text-align: center;
      background-color: #00b388;
      color: white;
      font-weight: bold;
      padding: 1rem;
      border-radius: 8px;
      text-decoration: none;
      font-size: 1.1rem;
    }
  
    .loan-example {
      font-size: 0.55rem;
      text-align: center;
      line-height: 1.4;
    }
  }
  
  