
#manual-renewal-form {
  .loader {
    box-sizing: border-box;
    border: 3px solid transparent;
    border-top-color: #bfbfbf;
    border-left-color: #bfbfbf;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    animation: 1s linear infinite rotation;
    display: none;
    position: relative;
    top: 5px;
    left: 10px;

    &.active {
      display: inline-block;
    }
  }

  @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
  }
}

.vindi-payment-profile-container {
  background: #fff;
  box-sizing: border-box;
}

.vindi-section-title {
  font-size: 14px;
}

.vindi-th {
  font-size: 12px !important;
  font-weight: 400 !important;
}

.vindi-no-cards {
  color: #777;
  font-style: italic;
  margin-bottom: 0;
}

.payment-cards-container {
  margin: 15px 0 5px;

  .actions {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-left-color: #0073aa;
    border-radius: 50%;
    animation: loader-spin 0.8s infinite linear;
  }

  .update-message {
    display: inline-block;
    padding: 5px 0;
    font-weight: 500;

    &.success {
      color: #46b450;
    }

    &.error {
      color: #dc3232;
    }
  }
}

.vindi-cards-table {
  border-collapse: collapse;
  margin-bottom: 15px;
  width: 100%;
  border: 1px solid #e5e5e5;

  th {
    background: #f9f9f9;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
  }

  td {
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
  }

  tr:last-child td {
    border-bottom: none;
  }

  .column-select {
    width: 25px;
    text-align: center;
  }

  .column-brand {
    width: 25%;
  }

  input[type=radio] {
    margin: 0;
  }
}

.vindi-card-row {
  &:hover {
    background-color: #f9f9f9;
  }

  &.selected-card {
    background-color: #f0f7ff;
  }
}

#update-payment-profile-button {
  height: 32px;
  line-height: 30px;
  padding: 0 12px;
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}