.vf-clubbonus-list-container {
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  padding-left: 4rem !important;
  padding-right: 4rem !important;
  box-sizing: border-box !important;
  background: #fff;
  z-index: 1;
}

/* Reduce table font size */
.vf-clubbonus-list-container table {
    font-size: 0.85rem !important;
}

.vf-clubbonus-list-container table th,
.vf-clubbonus-list-container table td {
    padding: 0.5rem !important;
    vertical-align: middle !important;
}

.vf-clubbonus-list-container h3 {
    font-size: 1.5rem;
}


#vf-clubbonus-search {
  max-width: 400px;
  display: inline-block;
}

.vf-clubbonus-list-container h3 {
  font-weight: bold;
}

/* Ensure the table itself takes 100% of the container */
.vf-clubbonus-list-container .table-responsive {
  width: 100%;
}

/* Pagination Styling */
.vf-clubbonus-page-link {
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #dee2e6;
    color: #000;
    padding: 0.25rem 0.75rem;
    transition: all 0.2s;
}

.vf-clubbonus-page-link:hover {
    background-color: #f8f9fa;
    color: #000;
    text-decoration: none;
}

.page-item.active .vf-clubbonus-page-link {
    background-color: #ffc107; /* Match theme yellow if possible */
    border-color: #ffc107;
    color: #000;
}

/* Date Input Styling (CF7) */
input.abreisedatum,
input.rueckreisedatum,
input#rueckreise {
    background-color: #f0f0f0 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 15px 20px !important;
    padding-right: 50px !important; /* Make room for the icon */
    font-size: 16px !important;
    width: 100% !important;
    display: block !important; 
    position: relative !important;
    box-sizing: border-box !important;
    margin-bottom: 10px;
}

/* Ensure calendar icon is at the very right - Absolute positioning with !important to override theme flex */
input.abreisedatum::-webkit-calendar-picker-indicator,
input.rueckreisedatum::-webkit-calendar-picker-indicator,
input#rueckreise::-webkit-calendar-picker-indicator {
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
    padding: 0 !important;
    filter: invert(0.2) !important;
    margin: 0 !important;
}

input.abreisedatum:focus,
input.rueckreisedatum:focus {
    outline: 2px solid #ffc107 !important;
    background-color: #e8e8e8 !important;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #ffc107 !important; 
    border-color:#ffc107 !important; 
}

input.abreisedatum[type="text"],
input.rueckreisedatum[type="text"] {
    appearance: none;
    -webkit-appearance: none;
}

/* Trash styles */
.vf-clubbonus-delete-btn:hover {
    background-color: #dc3545 !important;
    color: #fff !important;
    border-color: #dc3545 !important;
}

.vf-clubbonus-restore-btn:hover {
    background-color: #28a745 !important;
    color: #fff !important;
    border-color: #28a745 !important;
}

.nav-tabs .nav-link {
    color: #495057;
    border: 1px solid transparent;
}

.nav-tabs .nav-link.active {
    color: #000;
    font-weight: bold;
    border-bottom: 3px solid #ffc107;
}

