/* DMV Calculator - match site form style (pill inputs + big red CTA) */

.dmv-calc{
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  font-family: inherit;
}

.dmv-calc__form{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Labels like screenshot: muted, clean */
.dmv-row label{
  font-size: 14px;
  font-weight: 600;
  color: #6f7b88;
  margin: 0 0 6px;
}

/* Two-column layout */
.dmv-grid2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Inline radios */
.dmv-inline{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* Help text */
.dmv-help{
  font-size: 13px;
  color: #7a8796;
  margin-top: 6px;
  line-height: 1.35;
}

/* Pill inputs + selects */
.dmv-calc input[type="text"],
.dmv-calc input[type="number"],
.dmv-calc select{
  width: 100%;
  box-sizing: border-box;

  height: 52px;
  padding: 0 18px;

  border-radius: 999px;
  border: 1.5px solid #d7e0ea;
  background: #ffffff;

  font-size: 15px;
  color: #2c3642;

  transition: border-color 150ms ease, box-shadow 150ms ease;
}

/* Placeholder like screenshot */
.dmv-calc input::placeholder{
  color: #9aa7b6;
}

/* Focus glow: subtle and modern */
.dmv-calc input:focus,
.dmv-calc select:focus{
  outline: none;
  border-color: #b7c6d7;
  box-shadow: 0 0 0 4px rgba(183,198,215,0.25);
}

/* Make selects look “pill” without the ugly native padding issues */
.dmv-calc select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, #9aa7b6 50%),
    linear-gradient(135deg, #9aa7b6 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 22px,
    calc(100% - 16px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

/* Error styling */
.dmv-error{
  border-color: #b00000 !important;
  box-shadow: 0 0 0 4px rgba(176,0,0,0.10) !important;
}

/* CTA button like screenshot: big, red, rounded pill, full width */
.dmv-btn{
  width: 100%;
  height: 56px;

  border: 0;
  border-radius: 999px;

  background: #b00000; /* deep red */
  color: #ffffff;

  font-size: 16px;
  font-weight: 700;

  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: transform 120ms ease, filter 120ms ease;
}



/* Results box: clean card */
.dmv-results{
  margin-top: 12px;
  padding: 16px 18px;

  border-radius: 18px;
  border: 1px solid #e7eef6;
  background: #ffffff;

  box-shadow: 0 8px 22px rgba(0,0,0,0.04);
}



#izracunmodal h3{
  margin: 10px 0 8px;
  font-size: 18px;
  color: #1f2a36;
}

#izracunmodal p{
  margin: 10px 0;
  color: #2c3642;
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 680px){
  .dmv-grid2{ grid-template-columns: 1fr; }
}
/* DMV button hover – keep pill shape, switch to black */
.dmv-btn:hover{
  background: #000000!important;
  border-radius: 999px!important; /* explicitly keep pill */
  filter: none;         /* kill any brightness tricks */
}
.dmv-btn:active{
  background: #000000!important;
  border-radius: 999px!important;
  transform: translateY(1px)!important;
}


