/* custom.css */

/* Logo animation from old site */
.uk-logo:hover {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}
@keyframes shake {
10%, 90% { transform: translate3d(-1px, 0, 0); }
20%, 80% { transform: translate3d(2px, 0, 0); }
30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Samo na My Account stranici */
.woocommerce-account #sb_company_fields { margin-top: 12px; }
.woocommerce-account #sb_company_fields .form-row-first,
.woocommerce-account #sb_company_fields .form-row-last { width: 48%; }
.woocommerce-account #sb_company_fields .form-row-first { float: left; }
.woocommerce-account #sb_company_fields .form-row-last  { float: right; }
.woocommerce-account #sb_company_fields .form-row-wide { clear: both; }
.woocommerce-account #sb_company_fields .clear { clear: both; }

/* Box oko adrese */
.sb-address-box { border: 1px solid #e5e5e5; padding: 12px 14px; margin-top: 10px; background: #fff; line-height: 1.6; }
.sb-address-separator { border: none; border-top: 1px solid #e5e5e5; margin: 12px 0; }
/* Checkbox + dugme u jednom redu */
.sb-copy-shipping-form { margin-top: 8px; }
.sb-copy-label { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; font-size: 14px; }
.sb-copy-shipping-form .uk-button-small { padding:3px 18px 0px; font-size:12px;line-height: 24px;border: 1px solid #1d2733;margin-top:6px; }

/* === UIkit look for Contact Form 7 === */
.wpcf7 .cf7-field { margin-bottom: 16px; }
.wpcf7 form p { margin: 0 0 16px 0; }
.wpcf7 form label { display:block; font-weight:600; margin: 0 0 3px 0; }

/* inputs */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="password"],
.wpcf7 select,
.wpcf7 textarea{
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #f8f8f8;
  color: inherit;
}

/* focus */
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus { outline: none; border-color: #2d9f39; box-shadow: 0 0 0 1px #329955; }

/* textarea */
.wpcf7 textarea{ min-height: 160px; resize: vertical; }

/* submit button (zelena kao kod tebe) */
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"]{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  background: #32d296; /* UIkit success green */
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover{
  background: #2ebd86;
}

/* success / error messages */
.wpcf7 .wpcf7-response-output{
  margin: 18px 0 0 0;
  padding: 14px 16px;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
  background: #f8f8f8;
}
.wpcf7 form.sent .wpcf7-response-output{
  border-color:#32d296;
  background: rgba(50,210,150,.10);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output{
  border-color:#f0506e;
  background: rgba(240,80,110,.10);
}

/* inline validation text */
.wpcf7 .wpcf7-not-valid-tip{
  margin-top: 6px;
  font-size: 0.9em;
}
/* NO success / error messages */
.wpcf7-response-output { display: none !important; }

