/* src/components/SubscriptionList.css */
.subscription-list-container {
    padding: 20px;
    margin: 20px auto 0;
    max-width: 1000px;
    color: #fff;
  }
  
  .subscription-list-title {
    font-size: 1.5em;
    text-align: left;
    margin: 0;
    font-weight: 600;
  }
  
  .subscription-total {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 20px;
  }
  
  .subscription-list-grid {
    display: flex;
    justify-content: center;
  }
  
  .subscription-card {
    border-radius: 10px;
    padding: 20px;
    width: 100%;
  }
  
  .subscription-card-content {
    max-height: 400px;
    overflow-y: auto;
  }
  
  .subscription-list {
    list-style: none;
    padding: 0;
  }
  
  .subscription-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
  }
  
  .subscription-item-checkbox {
    position: relative;
    width: 20px;
    height: 20px;
    margin-right: 15px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: 2px solid #03DAC6;
    border-radius: 4px;
    background-color: transparent;
    transition: all 0.3s ease;
  }

  .subscription-item-checkbox:checked {
    background-color: #03DAC6;
  }

  .subscription-item-checkbox:checked::before {
    content: '\2714';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: #121212;
  }

  .subscription-item-checkbox:hover {
    border-color: #4ECDC4;
  }

  .subscription-item-info {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 200px;
  }
  
  .subscription-item-icon {
    font-size: 1.5em;
    margin-right: 15px;
    color: #03DAC6;
  }
  
  .subscription-item-name {
    font-size: 1.2em;
    margin: 0;
    flex: 1;
  }
  
  .subscription-item-amount {
    font-size: 0.8em;
    color: #adadad;
  }
  
  .subscription-item-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    flex: 1;
    min-width: 150px;
  }
  
  .subscription-item-actions button {
    background: #2c2c2c;
    color: #fff;
    border: none;
    padding: 5px 10px;
    margin-left: 5px;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .subscription-item-actions .delete-button {
    background: #E94560;
  }
  
  .subscription-item-actions button:hover {
    opacity: 0.9;
  }
  
  .subscription-item-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.9em;
    color: #ccc;
    margin-top: 5px;
    flex: 1;
    min-width: 200px;
  }
  
  .subscription-item-details-row {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 5px;
  }
  
  .credit-card-icon {
    margin-right: 5px;
    color: #45B7D1;
  }
  
  .subscription-item-indicators {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 5px;
  }
  
  .autopay-indicator,
  .notify-indicator,
  .subscription-item-due-date-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    margin: 2px 5px 2px 0;
    white-space: nowrap;
    height: 24px; /* Set a fixed height for all indicators */
  }
  
  .autopay-indicator {
    background-color: rgba(69, 183, 209, 0.2);
    color: #45B7D1;
  }
  
  .notify-indicator {
    background-color: rgba(255, 253, 107, 0.2);
    color: #fffd6b;
  }
  
  .subscription-item-due-date-badge {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    order: -1; /* This will make the due date appear first */
  }
  
  .autopay-icon,
  .notify-icon {
    margin-right: 3px;
  }

  @media (max-width: 768px) {
    .subscription-item {
      flex-direction: column;
      align-items: flex-start;
    }

    .subscription-item-info,
    .subscription-item-details,
    .subscription-item-actions {
      width: 100%;
      margin-top: 10px;
    }

    .subscription-item-actions {
      justify-content: flex-start;
    }
  }

  .subscription-list-controls {
    display: flex;
    align-items: center;
  }

  .sort-select {
    background-color: #2c2c2c;
    color: #fff;
    border: 1px solid #03DAC6;
    border-radius: 5px;
    padding: 5px 10px;
    margin-left: 10px;
    cursor: pointer;
  }

  .sort-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(3, 218, 198, 0.5);
  }

  .subscription-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }

  .subscription-list-container {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
  }

  .currency-symbol {
    color: #888888; /* Darker grey for the currency symbol */
  }

  .subscription-item-amount {
    font-size: 0.8em;
    color: #adadad; /* Keeping the original lighter grey for the amount */
  }
