@font-face {
    font-family: 'Inter';
    src: url('./fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {	
	box-sizing: border-box;
	font-size:1em;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0px;
  font-family: 'Inter', sans-serif;
  background-color: rgb(253, 253, 253);
  color: #333;
}

h2 {
    font-weight: bold;
}

button {
    width:100%;
    background: linear-gradient(135deg, #fbbf24, #ee873e) !important;
    color: white;
    border: none;
    padding: 10px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 24px;
    cursor: pointer;
    transition: background 0.3s;
}
/* Grid-boxes */
.grid-box {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap:5px;
}

.grid-box input {
    width: 100%;
}

img {
    max-width: 35%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
}

label {
    color: black;
}

input:focus,
select:focus {
  outline: none;
  border-color: #6366f1;
}

.input-error {
  border: 2px solid red !important;
  background-color: #fff0f0;
}

.tooltip {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #6b8dd6, #495579);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  font-weight: bold;
  margin-left: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  vertical-align: middle;
}

.tooltip:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  font-size: 0.85rem;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.tooltip:hover::after {
  opacity: 1;
}

#onetime-amount{
    display: none;
}

#plans-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border: 2px solid black; /* nice blue border */
    background: linear-gradient(135deg, #fbbf24, #f09553);
    border-radius: 16px;
    padding: 1.5rem;
    width: 100%;
    max-width: 600px;
    margin: 1rem auto;

    font-weight: 600;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

#plans-options label {
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: black;
}

#plans-options input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.1);
    accent-color: #2563eb; /* gives it a clean blue accent in modern browsers */
}

#plans-options:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

#onetime-amount input {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #94a3b8;
    border-radius: 8px;
    margin-top: 0.25rem;
}
  
#onetime-amount label,
#individuals-only label,
#businesses-only label {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgb(65, 54, 54);
}

#my-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 500px;
    gap: 5px;
}

#wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;      
    max-width: 1200px; 
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Media Queries */
@media (max-width: 450px){
    #wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
    #plans-options {
        margin-top: 5px;
    }
  }
  