body {
  transform: scale(1.35);
  transform-origin: top left;
  font-family: Carlito, sans-serif;
  background: #f3fdf7;
  padding: 10px;
  overflow-x: hidden;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #0c170e;
  }

  .container {
    background: #1d1d1d !important;
  }

  h1 {
    color: #ecfdf0 !important;
  }

  label {
    color: #fff;
  }

  input {
    color: #fff;
    background-color: #2a2a2a;
    border-color: #6b6b6b !important;
  }

  .mobile-select {
    border-color: #6b6b6b !important;
    background-color: #434242 !important;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2351ff5a' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") !important;
    color: #51ff5a !important;
  }

  .mobile-select:focus, input:focus{
    border-color: #51ff5a !important;
  }
  
  button {
    background-color: #14a441 !important;
  }

  button:hover {
    background-color: #0d8232 !important;
  }

  .result {
    color: #beffc7 !important;
    background-color: #095c15 !important;
    border-color: #37974f !important;
  }


  .field-warning {
    color: #db7c7c !important;
  }

  .footer {
    color: #ffffff !important;
  }
  
  .footer .footer-link {
    color: #a3fcaf !important;
  }

  .footer .footer-link:hover {
    color: #29ae3a !important;
  }

  .info-icon {
    color: #81ff89!important;
  }

  .tooltip-text {
    background-color: #000000 !important;
    color: #fff !important;
    box-shadow: 0 4px 8px rgba(130, 130, 130, 0.5) !important;
  }
  
  .info-container:hover .info-icon {
    color: #24bf36 !important;
  } 
}

html {
  overflow-x: hidden;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  padding-top: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
  color: #00581f;
  margin-top: 15px;
}

label {
  display: inline-block;
  margin: 0;
  font-weight: bold;
  font-size: 1rem;
}

input {
  display: block;
  margin: 2px 0;        
  width: 100%;
  font-size: 1rem;
  font-family: Carlito, sans-serif;
  padding: 3px 6px;
  border-radius: 1px;
  border: 1px solid #c3c3c3;
  box-sizing: border-box;
}

.mobile-select {
  appearance: none;      
  -webkit-appearance: none;
  -moz-appearance: none;
  color: #0ac037;
  width: 100%;   
  padding: 3px 6px 3px 8px;
  font-weight: 600;
  font-family: Carlito, sans-serif;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 1px;
  background-color: #e9e9e9;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%230ac037' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
}

.inputs {
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
}

.label-row {
  display: flex;
  align-items: center;
  gap: 6px;          
  margin-bottom: 1px;
}

.mobile-select:focus, input:focus {
  outline: none;
  font-family: Carlito, sans-serif;
  box-shadow: 0 0 5px 2px rgba(29, 119, 255, 0.1);
  border-radius: 4px; 
  border: 1px solid #0ac037;
}

button {
  margin-top: 2px;
  padding: 10px;
  background: #01c91c;
  color: white;
  font-family: Carlito, sans-serif;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

button:hover {
  background: #0aa937;
}

button:focus {
  outline: 2px solid #0dd15b;
  outline-offset: 2px;
}

.result {
  margin-top: 20px;
  font-weight: bold;
  font-size: 1.1rem;
  color: #00a76a;

  background-color: #cafbd8;
  padding: 20px;
  border: 1px solid #8ef5c5;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.field-warning {
  color: #b85151;
  font-size: 0.85rem;
  display: none;
  margin-left: 1px;
  font-weight: bolder;
  white-space: nowrap;
}

.footer {
  font-size: 0.8rem;
  color: #777;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.footer-link {
  color: #0eaa3d;
}

.footer .footer-link:hover {
  color: #058a36;
  transition: font-weight 0s ease;
}

.info-container {
  position: relative;
  display: inline-block;
  margin-right: 0px;
  margin-bottom: 0px;
  cursor: pointer;
  user-select: none;
}

.tooltip-text {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  background-color: #e9e9e9;
  color: #313131;
  padding: 6px 10px;
  border-radius: 5px;
  font-family: Carlito;
  font-size: 0.75rem;
  font-weight: bolder;
  width: max-content;
  max-width: 280px;
  white-space: normal;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  display: none;
  transition: opacity 0.5s ease;
}

.info-icon {
    font-size: 15px;
    color: #1fc057;
    text-decoration: underline;
}

.info-container.visible .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.info-container:hover .info-icon{
  font-style: normal;
  font-weight: bolder;
  font-size: 15px;
  color: #088848;
  display: inline-block;
}

.info-container:hover .tooltip-text,
.info-container .tooltip-text:hover {
  display: block;
}