.custom-card-fields {
    font-family: Arial, sans-serif;
    max-width: 400px;
    margin: 20px auto;
    padding: 15px;
    box-sizing: border-box;
  }
  
  .card-number-row {
    margin-bottom: 15px;
    position: relative;
  }
  
  .card-number-row label,
  .bottom-row-field label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 0px !important;
  }
  
  .card-number-row input,
  .bottom-row-field input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
  }
  
  .card-icon-container {
    position: absolute;
    right: 10px;
    top: 30px;
    display: flex;
    align-items: center;
    gap: 5px;
  } 
 .card-icon-container-classic{
  margin-top: 3px !important;
  }
  .classic-card-fields{
    background-color: white;
    border-radius: 6px;
  }
  
  .card-icon-container img {
    height: 20px !important;
    width: auto;
  }
  
  .custom-card-bottom-row {
    display: flex;
    gap: 15px;
  }
 
  
  .bottom-row-field{
    flex: 1;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .bottom-row-field input {
    padding-right: 40px; /* Space for CVV icon */
  }
  
  .cvv-container img {
    position: absolute !important;
    right: 10px !important;
    top:25px !important;
    height: 30px !important;
  
  }
  .cvv-icon-in-classic {
   margin-top: 8px !important;
  }
  .MontyPayLogo {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
  }
  
  .MontyPayLogo img {
    height: 20px !important;
    margin-top: -10px;
  }

  .MontyPayLogo-classic {
    margin: -10px 0 0 0 !important;
  
  }
  
  .payment-error {
    color: #d9534f;
    font-size: 12px;
    margin-top: 5px;
  }
  
  /* Input placeholder styling */
  input::placeholder {
    color: #999;
    opacity: 1;
  }
  
  /* Focus states */
  input:focus {
    outline: none;
    border-color: #66afe9;
    box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
  }
  
  /* Error state */
  input.error {
    border-color: #d9534f;
  }
  .masterCard{
    background-color: black;
    border-radius: 4px;
  }
/* Base styles for your input */
.card-number-input {
  font-size: 16px;
  /* …other styles… */
}

/* Mobile: make the placeholder smaller (and you can also adjust padding/font if you like) */
@media screen and (max-width: 480px) {
  .card-number-input {
    font-size: 14px;    /* overall font smaller on mobile */
    padding: 0.5em;     /* if you need less padding */
  }
  .card-number-input::placeholder {
    font-size: 12px;    /* placeholder text smaller */
    opacity: 0.7;       /* optional: make it a little lighter */
  }
}

  