/* outer */
.nc-wrap{
  max-width: 1180px;
  margin: 18px auto;
  padding: 0 14px;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
}
.nc-cards {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nc-card-icon {
  height: 28px;
  width: auto;
  opacity: 0.9;
  transition: 0.2s ease;
}

.nc-card-icon:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* top header box */
.nc-header{
  background:#fff;
  border:2px solid #5c5c5c;
  border-radius:2px;
  padding:18px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.nc-brand__name{
  font-size:60px;
  font-weight:800;
  line-height:1;
  letter-spacing:-1px;
  color:#243a93;
}
.nc-brand__sub{
  margin-top:4px;
  font-size:14px;
  color:#8a8a8a;
  padding-left:2px;
}
.nc-header__right{
  font-size:18px;
  color:#777;
  padding-top:10px;
  white-space:nowrap;
}

/* big light gray stage */
.nc-stage{
  margin-top:22px;
  background:#efefef;
  border-radius:4px;
  padding:26px 26px 18px;
}

/* columns */
.nc-cols{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:22px;
}

.nc-col{min-width:0;}

.nc-panel{
  background:#fff;
  border:1px solid #d2d2d2;
  border-radius:6px;
  overflow:hidden;
}
.nc-panel__head{
  margin:14px 14px 0;
  background:#5f5f5f;
  color:#fff;
  font-size:20px;
  font-weight:700;
  padding:10px 16px;
  border-radius:3px;
}
.nc-panel__body{
  padding:14px 14px 16px;
}

/* row layout like screenshot (label left, field right) */
.nc-row{
  display:grid;
  grid-template-columns: 180px 1fr;
  align-items:center;
  gap:12px;
  padding:12px 0;
}
.nc-row--line{
  border-bottom:1px solid #dcdcdc;
}
.nc-row__label{
  color:#333;
  font-size:18px;
}
.nc-req{
  color:#c43b2e;
  font-weight:700;
  margin-left:2px;
}

.nc-divider{
  border-top:1px solid #dcdcdc;
  margin:6px 0 0;
}

/* inputs */
.nc-input, .nc-select{
  width:100%;
  box-sizing:border-box;
  border:1px solid #cfcfcf;
  background:#f0f0f0;
  border-radius:6px;
  padding:12px 14px;
  font-size:16px;
  outline:none;
}
.nc-input::placeholder{color:#9a9a9a;}
.nc-input:focus, .nc-select:focus{
  background:#fff;
  border-color:#a8a8a8;
}

/* amount is small right box */
.nc-input--amount{
  max-width: 150px;
  justify-self:end;
  text-align:right;
  background:#efefef;
}

/* cvv small */
.nc-input--cvv{
  max-width: 120px;
}

/* inline input + view button */
.nc-inline{
  display:flex;
  align-items:center;
  gap:10px;
}
.nc-view{
  background:#5f5f5f;
  color:#fff;
  border:0;
  border-radius:4px;
  padding:10px 14px;
  font-size:14px;
  cursor:pointer;
}
.nc-view:hover{filter:brightness(.96);}

/* selects in expiration */
.nc-select{
  max-width:180px;
  background:#fff;
}

/* accepted row */
.nc-row--accepted{
  padding-top:6px;
  padding-bottom:10px;
}
.nc-cards{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

/* simple “logo tiles” (close enough to screenshot without image files) */
.nc-card{
  width:58px;
  height:36px;
  border:1px solid #cfcfcf;
  border-radius:3px;
  background:#fff;
  display:inline-block;
  position:relative;
}
.nc-card:after{
  content:"";
  position:absolute;
  inset:0;
  display:block;
}
.nc-card--visa:after{ content:"VISA"; font-weight:800; color:#1a3aa0; font-size:14px; line-height:36px; text-align:center; }
.nc-card--mc:after{ content:"MC"; font-weight:800; color:#d11b1b; font-size:14px; line-height:36px; text-align:center; }
.nc-card--disc:after{ content:"DISC"; font-weight:800; color:#111; font-size:12px; line-height:36px; text-align:center; }
.nc-card--amex:after{ content:"AMEX"; font-weight:800; color:#0b6bb3; font-size:12px; line-height:36px; text-align:center; }

/* spacing */
.nc-mt{ margin-top:18px; }

/* bottom area */
.nc-bottom{
  margin-top:18px;
  padding-top:10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
img.logo{
    max-width:150px;
}
/* recaptcha + hint like screenshot */
.nc-recaptcha-wrap{
  margin-top:6px;
}
.nc-recaptcha-hint{
  color:#d21f1f;
  text-align:center;
  font-size:14px;
  line-height:1.25;
  margin-top:6px;
}

/* submit button */
.nc-submit{
  margin-top:12px;
  background:#5f5f5f;
  color:#fff;
  border:0;
  border-radius:6px;
  padding:14px 48px;
  font-size:22px;
  cursor:pointer;
}
.nc-submit:disabled{opacity:.6; cursor:not-allowed;}

.nc-msg{
  min-height:22px;
  font-size:14px;
  text-align:center;
}

/* responsive */
@media (max-width: 980px){
  .nc-cols{ grid-template-columns: 1fr; }
  .nc-header{ flex-direction:column; align-items:flex-start; }
  .nc-header__right{ white-space:normal; padding-top:0; }
}
@media (max-width: 600px){
  .nc-row{ grid-template-columns: 1fr !important; }
  .nc-input--amount{ justify-self:stretch; max-width:none; }
  .nc-inline{ flex-direction:row; }
}

/* tighter overall canvas */
.nc-wrap{
  max-width: 1020px;        /* was 1180 */
  margin: 10px auto;        /* was 18 */
}

/* smaller header */
.nc-header{
  padding: 12px 16px;       /* was 18px 22px */
  gap: 12px;                /* was 18 */
}
.nc-brand__name{
  font-size: 44px;          /* was 60 */
}
.nc-header__right{
  font-size: 16px;          /* was 18 */
  padding-top: 0;           /* was 10 */
}

/* reduce big gray stage padding */
.nc-stage{
  margin-top: 12px;         /* was 22 */
  padding: 14px;            /* was 26px 26px 18px */
}

/* panels tighter */
.nc-panel__head {
    margin: 10px 10px 0;
    padding: 5px;
    font-size: 16px;
}
.nc-panel__body{
  padding: 5px 10px;  /* was 14px 14px 16px */
}

/* rows: less vertical height */
.nc-row{
  padding: 8px 0;           /* was 12px 0 */
  grid-template-columns: 160px 1fr; /* was 180px */
  gap: 10px;                /* was 12 */
}
.nc-row__label{
  font-size: 14px;          /* was 18 */
}

/* inputs: slightly shorter */
.nc-input, .nc-select{
  padding: 10px 12px;       /* was 12px 14px */
  font-size: 15px;          /* was 16 */
}

/* bottom area tighter */
.nc-bottom{
  margin-top: 0px;         /* was 18 */
  padding-top: 0px;         /* was 10 */
  gap: 8px;                 /* was 10 */
}
.nc-submit{
  margin-top: 8px;          /* was 12 */
  padding: 12px 40px;       /* was 14px 48px */
  font-size: 20px;          /* was 22 */
}

.nc-wrap {
  height: 100vh; 
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}