.io-contact-form {
    width: 100%;
    box-sizing: border-box;

}

.bod-modal-content .io-contact-form {
    color: white;
}

.io-contact-form .content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.io-contact-form .content label.regular span {
    display: block;
	text-align: left;
	font-weight: bold;
	margin-bottom: 4px;
}

.io-contact-form  div.checkboxgroup {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* default: 2 kolone */
  gap: 16px;
}
.io-contact-form h3 {
	font-size: 18pt;
    text-transform: uppercase;
    text-align: center;
    padding: 30px 0 0 0;
}

@media (min-width: 768px) {
  .io-contact-form  .checkboxgroup {
    grid-template-columns: repeat(3, 1fr) !important; /* veći ekrani: 6 kolona */
  }
}

.checkboxgroup-item {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 14px 16px;
  border: 1.5px solid #e5c7cc;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 14px;
  background: #fff;
  color: #333;
}

/* hover */
.checkboxgroup-item:hover {
  border-color: #891438;
}

/* ukloni default izgled */
.checkboxgroup-item input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #caa0a7;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: all 0.15s ease;
  background: #fff;
}

/* checked stanje checkboxa */
.checkboxgroup-item input:checked {
  border-color: #891438;
  background: #891438;
}

/* check znak */
.checkboxgroup-item input:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

/* suptilan selected kartice */
.checkboxgroup-item:has(input:checked) {
  border-color: #891438;
  color: #891438;
}
.io-contact-form .content label.regular input,
.io-contact-form .content label.regular textarea,
.io-contact-form .content label.regular select {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 12px;
  font-size: 14px;
  font-family: inherit;

  background-color: #fafafa;
  border: 1.5px solid #e5c7cc;
  border-radius: 8px;

  transition: all 0.2s ease;
  outline: none;
}

/* hover */
.io-contact-form .content label.regular input:hover,
.io-contact-form .content label.regular textarea:hover,
.io-contact-form .content label.regular select:hover {
  border-color: #c08a95;
  background-color: #fff;
}

/* focus */
.io-contact-form .content label.regular input:focus,
.io-contact-form .content label.regular textarea:focus,
.io-contact-form .content label.regular select:focus {
  border-color: #891438;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(137, 20, 56, 0.1);
}

/* placeholder */
.io-contact-form .content label.regular input::placeholder,
.io-contact-form .content label.regular textarea::placeholder {
  color: #aaa;
}

/* textarea resize */
.io-contact-form .content label.regular textarea {
  resize: vertical;
  min-height: 100px;
}
.io-contact-form .content label.regular .hint {
	display: block;
	margin-top: 4px;
    font-size: small;
	line-height: 1.3;
    opacity: 0.7;
	text-align: left;
}

.io-contact-form .content label.regular textarea {
    min-height: 96px;
}

.io-contact-form .msgs:not(:empty) {
    padding-bottom: 24px;
}

.io-contact-form .msgs .error {
    background-color: rgb(255, 212, 212);
    border: 1px solid rgb(251, 85, 85);
    color: rgb(251, 85, 85);
    margin: 4px 0;
    padding: 16px;
}

.io-contact-form .msgs .info {
    background-color: rgb(241, 255, 212);
    border: 1px solid rgb(123, 166, 37);
    color: rgb(123, 166, 37);
    margin: 4px 0;
    padding: 16px;
}

.io-contact-form .checkboxgroup {
    display: block;
}




.io-contact-form button {
  display: inline-block;
  width: 100%;
  padding: 14px 18px;

  background: #891438;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;

  border: none;
  border-radius: 10px;
  cursor: pointer;

  transition: all 0.2s ease;
}

/* hover */
.io-contact-form button:hover {
  background: #6e102c; /* tamnija nijansa */
  box-shadow: 0 6px 14px rgba(137, 20, 56, 0.25);
}

/* active (klik) */
.io-contact-form button:active {
  transform: translateY(1px);
  box-shadow: 0 3px 8px rgba(137, 20, 56, 0.2);
}

/* focus (accessibility) */
.io-contact-form button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(137, 20, 56, 0.25);
}

/* disabled stanje */
.io-contact-form button:disabled {
  background: #d9b3bb;
  cursor: not-allowed;
  box-shadow: none;
}