/* IDS Car Wash-style Add Card Page CSS */

.idscarwash-card-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #fff;
    font-family: 'Inter', sans-serif;
    padding: 20px;
}

.idscarwash-card-wrapper .card-container {
    width: 100%;
    max-width: 420px;
    margin: auto;
    padding: 40px;
    box-sizing: border-box;
    text-align: left;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.idscarwash-card-wrapper .card-logo {
  margin-bottom: 32px;
}

.idscarwash-card-wrapper .card-logo img {
  height: 24px;
}

.idscarwash-card-wrapper .card-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.idscarwash-card-wrapper .card-subtext {
  font-size: 17px;
  color: #000000;
  margin-bottom: 32px;
  line-height: 1.6;
}

.idscarwash-card-wrapper .card-input label,
.idscarwash-card-wrapper .card-expiry label,
.idscarwash-card-wrapper .card-cvv label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #000000;
}

.idscarwash-card-wrapper .card-input input,
.idscarwash-card-wrapper .card-expiry input,
.idscarwash-card-wrapper .card-cvv input {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: none;
  border-bottom: 2px solid #ccc;
  font-size: 16px;
  background: transparent;
  outline: none;
  transition: border-color 0.3s;
  margin-bottom: 24px;
}

.idscarwash-card-wrapper input:focus {
  border-color: #04d9ff;
}

.idscarwash-card-wrapper .card-exp-cvv {
  display: flex;
  gap: 24px;
}

.idscarwash-card-wrapper .card-expiry,
.idscarwash-card-wrapper .card-cvv {
  flex: 1;
}

.idscarwash-card-wrapper .card-button {
  background-color: #04d9ff;
  color: white;
  font-weight: 600;
  font-size: 16px;
  padding: 14px;
  border: none;
  border-radius: 8px;
  width: 100%;
  cursor: not-allowed;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.idscarwash-card-wrapper .card-button:hover:enabled {
  background-color: #04d9ff;
  cursor: pointer;
}

.idscarwash-card-wrapper .help-text {
  margin-top: 48px;
  text-align: center;
  font-size: 14px;
  color: #000000;
}

.idscarwash-card-wrapper .help-text a {
  color: #04d9ff;
  text-decoration: none;
  font-weight: 500;
}

.idscarwash-card-wrapper .help-text a:hover {
  text-decoration: underline;
}

.card-address-toggle {
  margin: 24px 0;
  font-size: 15px;
  color: #000000;
}

.card-address-toggle input[type="checkbox"] {
  margin-right: 8px;
}

.card-alt-address .card-input {
  margin-bottom: 16px;
}

input.valid {
  border: 2px solid #28a745;
}

input.invalid {
  border: 2px solid #dc3545;
}

/* ... (all the existing CSS code from the previous step) ... */

@media screen and (max-width: 480px) {
    .idscarwash-card-wrapper {
        padding: 10px;
    }
    .idscarwash-card-wrapper .card-container {
        padding: 30px 20px;
    }
    .idscarwash-card-wrapper .card-title {
        font-size: 24px;
    }
    /* This will stack the Expiration/CVV inputs vertically on mobile */
    .idscarwash-card-wrapper .card-exp-cvv {
        flex-direction: column;
        gap: 0;
    }
    .idscarwash-card-wrapper .card-exp-cvv .card-expiry,
    .idscarwash-card-wrapper .card-exp-cvv .card-cvv {
        flex: none;
    }
}