:root {
    --primary-color: #4479BA;
    --secondary-color: #2AAD56;
    --text-color: #333;
    --background-color: #f9f9f9;
    --header-bg-color: #95A5A6;
    --border-color: #E0E0E0;
  }
  
  body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  h1 {
    font-size: 2.5rem;
    margin: 30px 0;
    text-align: center;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  }
  
  table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
  }
  
  thead {
    background-color: var(--header-bg-color);
  }
  
  th {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem;
    border-bottom: 2px solid var(--border-color);
  }
  
  td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
  }
  
  tbody tr:last-child td {
    border-bottom: none;
  }
  
  tr.pris {
    background-color: #FFCCCC;
  }
  
  tr.pris:hover {
    background-color: #FFB3B3;
  }
  
  tr.dispo:hover {
    background-color: var(--secondary-color);
    color: white;
  }
  
  tbody tr:hover {
    transition: background-color 0.3s ease;
  }
  
  a.link_button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }
  
  a.link_button:hover {
    background-color: #3a69a0;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  }
  
  .footer {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    color: #8C8C8C;
    text-align: center;
    margin-top: 30px;
  }
  
  @media (max-width: 768px) {
    .container {
      padding: 0 15px;
    }
    
    h1 {
      font-size: 2rem;
    }
    
    table, thead, tbody, th, td, tr {
      display: block;
    }
    
    thead tr {
      position: absolute;
      top: -9999px;
      left: -9999px;
    }
    
    tr {
      margin-bottom: 1rem;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      overflow: hidden;
    }
    
    td {
      border: none;
      position: relative;
      padding-left: 50%;
      text-align: right;
    }
    
    td:before {
      content: attr(data-label);
      position: absolute;
      left: 6px;
      width: 45%;
      padding-right: 10px;
      white-space: nowrap;
      text-align: left;
      font-weight: bold;
    }
  }

.gift-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 12px;
    margin-bottom: 15px;
    max-width: 100%;
    overflow: hidden;
}

.gift-card-offert{
  background-color: #f59682;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 12px;
  margin-bottom: 15px;
  max-width: 100%;
  overflow: hidden;
}

.gift-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.gift-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    /* white-space: nowrap;
    overflow: hidden;
    max-width: 70%; */
}

.gift-favorite {
    background-color: #ff6b6b;
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
  }

.gift-favorite::before {
    content: '❤️';
    margin-right: 5px;
}

.gift-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gift-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gift-link {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
}

.gift-price {
    color: #2ecc71;
    font-weight: bold;
    font-size: 0.9rem;
}

.gift-price {
    font-size: 0.9rem;
}

.gift-clicks {
    color: #7f8c8d;
    font-size: 0.8rem;
}

.gift-status {
    display: flex;
    align-items: center;
}

.gift-purchased {
    background-color: #2ecc71;
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.gift-purchased::before {
    content: '⚠';
    margin-right: 5px;
}

.gift-offert {
    background-color: #ff6b6b;
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.gift-offert::before {
    content: '🎁';
    margin-right: 5px;
}

@media (max-width: 600px) {
    .gift-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
