/* =========================================================
   KONTAKT HERO
========================================================= */

.contact-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6,15,21,.97) 0%, rgba(6,15,21,.90) 42%, rgba(6,15,21,.24) 72%, rgba(6,15,21,.05) 100%),
    url("../assets/contact-hero.jpg") center right / cover no-repeat;
}

.contact-hero-inner {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 42px;
}

.contact-hero-copy {
  max-width: 590px;
}

.contact-kicker {
  display: block;
  margin-bottom: 9px;
  color: #c99a46;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
}

.contact-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 48px;
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.035em;
}

.contact-hero-copy p {
  max-width: 540px;
  margin: 0;
  color: rgba(255,255,255,.83);
  font-size: 11px;
  line-height: 1.55;
}


/* HERO BENEFITS */

.contact-hero-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 850px;
  min-height: 78px;
  border-top: 1px solid rgba(255,255,255,.16);
}

.contact-hero-benefit {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 18px;
  border-right: 1px solid rgba(255,255,255,.14);
}

.contact-hero-benefit:first-child {
  padding-left: 0;
}

.contact-hero-benefit:last-child {
  border-right: 0;
}

.contact-hero-benefit i {
  width: 30px;
  flex-shrink: 0;
  color: #c99b48;
  font-size: 20px;
  text-align: center;
}

.contact-hero-benefit span {
  color: rgba(255,255,255,.82);
  font-size: 9px;
  line-height: 1.35;
}


/* =========================================================
   KONTAKTY
========================================================= */

.contact-regions {
  padding: 28px 0 34px;
  background: #fff;
}

.contact-section-heading {
  margin-bottom: 22px;
}

.contact-section-heading h2 {
  margin: 0 0 5px;
  color: #12181c;
  font-size: 29px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.025em;
}

.contact-section-heading p {
  margin: 0;
  color: #666c70;
  font-size: 10px;
  line-height: 1.45;
}


/* =========================================================
   CONTACT CARDS
========================================================= */

.contact-regions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.contact-card {
  overflow: hidden;
  border: 1px solid #dfdfdc;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,.035);
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-card-image {
  height: 150px;
  overflow: hidden;
}

.contact-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.contact-card-content {
  padding: 16px 15px 18px;
}

.contact-card-content h3 {
  margin: 0 0 5px;
  color: #171c20;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}

.contact-card-description {
  min-height: 32px;
  margin: 0 0 16px;
  color: #71767a;
  font-size: 8px;
  line-height: 1.45;
}


/* CONTACT DATA */

.contact-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card-list a,
.contact-card-list > div {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  align-items: start;
  color: #343a3f;
}

.contact-card-list a {
  transition: color .2s ease;
}

.contact-card-list i {
  margin-top: 1px;
  color: #c89338;
  font-size: 13px;
  text-align: center;
}

.contact-card-list span {
  font-size: 9px;
  line-height: 1.45;
}

.contact-card-list a:hover {
  color: #b88936;
}


/* HOVER */

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 22px rgba(0,0,0,.08);
}

.contact-card:hover .contact-card-image img {
  transform: scale(1.04);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

  .contact-hero-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-hero-benefit:nth-child(2) {
    border-right: 0;
  }

  .contact-regions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .contact-hero {
    background:
      linear-gradient(90deg, rgba(6,15,21,.98) 0%, rgba(6,15,21,.84) 72%, rgba(6,15,21,.42) 100%),
      url("../assets/contact-hero.jpg") 68% center / cover no-repeat;
  }

  .contact-hero-inner {
    min-height: 430px;
  }

  .contact-hero h1 {
    font-size: 39px;
  }

  .contact-hero-benefits {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }

  .contact-hero-benefit,
  .contact-hero-benefit:first-child {
    min-height: 68px;
    padding: 10px;
  }

  .contact-regions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .contact-card-image {
    height: 125px;
  }

  .contact-card-content {
    padding: 13px 11px 15px;
  }

  .contact-card-content h3 {
    font-size: 12px;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .contact-regions-grid {
    grid-template-columns: 1fr;
  }

  .contact-card-image {
    height: 190px;
  }

  .contact-card-description {
    min-height: 0;
  }

}

/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form-section {
  padding: 30px 0 26px;
  background: #fff;
}

.contact-form-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 34px;
  align-items: start;
}


/* =========================================================
   FORM HEADING
========================================================= */

.contact-form-heading {
  margin-bottom: 17px;
}

.contact-form-heading h2 {
  margin: 0 0 5px;
  color: #12181c;
  font-size: 29px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.025em;
}

.contact-form-heading p {
  max-width: 670px;
  margin: 0;
  color: #666c70;
  font-size: 9px;
  line-height: 1.5;
}


/* =========================================================
   FORM
========================================================= */

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 15px;
}

.contact-field {
  display: flex;
  flex-direction: column;
}

.contact-field-full {
  margin-top: 13px;
}

.contact-field label {
  margin-bottom: 5px;
  color: #272d31;
  font-size: 8px;
  font-weight: 600;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid #dedede;
  border-radius: 3px;
  background: #fff;
  color: #252a2e;
  font-family: inherit;
  font-size: 9px;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-field input,
.contact-field select {
  height: 39px;
  padding: 0 11px;
}

.contact-field textarea {
  min-height: 96px;
  padding: 10px 11px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #aaa;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: #b88936;
  box-shadow: 0 0 0 3px rgba(184,137,54,.08);
}


/* =========================================================
   FILES
========================================================= */

.contact-files {
  margin-top: 15px;
}

.contact-files-title {
  margin-bottom: 7px;
  color: #31373b;
  font-size: 8px;
  font-weight: 600;
}

.contact-files-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.contact-upload {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 10px 14px;
  border: 1px dashed #c9c9c6;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.contact-upload input {
  display: none;
}

.contact-upload > i {
  color: #3f4b54;
  font-size: 22px;
}

.contact-upload span {
  display: block;
  color: #73787c;
  font-size: 7px;
  line-height: 1.35;
}

.contact-upload strong {
  display: block;
  margin-bottom: 2px;
  color: #1d2327;
  font-size: 9px;
}

.contact-upload:hover {
  border-color: #b88936;
  background: #fbfaf7;
}


/* =========================================================
   FORM BOTTOM
========================================================= */

.contact-form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 17px;
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #666c70;
  font-size: 7px;
  line-height: 1.45;
}

.contact-consent input {
  margin-top: 2px;
}

.contact-consent small {
  display: block;
  margin-top: 2px;
  color: #8a8e91;
  font-size: 7px;
}

.contact-submit {
  min-width: 175px;
  height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 0;
  border-radius: 3px;
  background: linear-gradient(135deg, #d3aa5a, #b8842f);
  color: #fff;
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.13);
}


/* =========================================================
   SIDE PANEL
========================================================= */

.contact-side-panel {
  overflow: hidden;
  border-radius: 4px;
  background: #f5f5f3;
  box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

.contact-side-top {
  padding: 25px 30px 22px;
  background: #071823;
  color: #fff;
}

.contact-call-icon {
  margin-bottom: 5px;
}

.contact-call-icon i {
  color: #c8943b;
  font-size: 23px;
}

.contact-side-top > span {
  display: block;
  margin-bottom: 3px;
  color: rgba(255,255,255,.80);
  font-size: 11px;
}

.contact-side-phone {
  display: block;
  margin-bottom: 5px;
  color: #d1a24e;
  font-size: 25px;
  line-height: 1;
  font-weight: 600;
}

.contact-side-phone:hover {
  color: #e2bc73;
}

.contact-side-top > p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.68);
  font-size: 8px;
}

.contact-side-button {
  width: 100%;
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 3px;
  background: linear-gradient(135deg, #d3aa5a, #b8842f);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.contact-side-button:hover {
  color: #fff;
}

.contact-response {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 19px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.contact-response i {
  color: #d1a04a;
  font-size: 23px;
}

.contact-response span {
  color: rgba(255,255,255,.76);
  font-size: 8px;
  line-height: 1.4;
}

.contact-response strong {
  display: block;
  color: #fff;
}


/* SIDE BENEFITS */

.contact-side-benefits {
  padding: 12px 22px 16px;
  background:
    linear-gradient(rgba(255,255,255,.94), rgba(255,255,255,.94)),
    url("../assets/contact-side-pattern.jpg") center / cover no-repeat;
}

.contact-side-benefit {
  min-height: 64px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #e2e2df;
}

.contact-side-benefit:last-child {
  border-bottom: 0;
}

.contact-side-benefit i {
  color: #c9953c;
  font-size: 20px;
  text-align: center;
}

.contact-side-benefit span {
  color: #30363a;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.35;
}

.contact-side-benefit small {
  display: block;
  margin-top: 2px;
  color: #757a7e;
  font-size: 7px;
  font-weight: 400;
}


/* =========================================================
   MAP
========================================================= */

.contact-map-section {
  padding: 6px 0 32px;
  background: #fff;
}

.contact-map-heading {
  margin-bottom: 12px;
}

.contact-map-heading h2 {
  margin: 0 0 5px;
  color: #12181c;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.025em;
}

.contact-map-heading p {
  max-width: 730px;
  margin: 0;
  color: #666c70;
  font-size: 8px;
  line-height: 1.45;
}

.contact-map {
  position: relative;
  width: 100%;
  overflow: visible;
  border: 1px solid #dededb;
  background: #fff;
}

.contact-map > img,
.contact-map-base {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}


/* MARKERS */

.contact-map-marker {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #555c61;
  font-size: 7px;
  font-weight: 600;
  transform: translate(-8px, -16px);
}

.contact-map-marker i {
  color: #c9953d;
  font-size: 17px;
}

.contact-map-marker span {
  display: block;
  white-space: nowrap;
}

.contact-map-marker small {
  display: block;
  color: #777;
  font-size: 6px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

  .contact-form-layout {
    grid-template-columns: 1fr 290px;
    gap: 25px;
  }

  .contact-side-top {
    padding: 23px 20px;
  }

  .contact-side-phone {
    font-size: 21px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .contact-form-layout {
    grid-template-columns: 1fr;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-files-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-submit {
    width: 100%;
  }

  .contact-side-panel {
    max-width: 100%;
  }
  .contact-map {
    overflow: visible;
  }

  .contact-map > img,
  .contact-map-base {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

  .contact-form-heading h2,
  .contact-map-heading h2 {
    font-size: 25px;
  }

  .contact-side-phone {
    font-size: 20px;
  }

}

/* =========================================================
   MAP TOOLTIP CONTACTS
========================================================= */

@media (min-width: 992px) {

  .contact-map {
    overflow: visible;
  }

  .contact-map-marker {
    z-index: 3;
    cursor: default;
    outline: 0;
  }

  .contact-map-marker:hover,
  .contact-map-marker:focus,
  .contact-map-marker:focus-within {
    z-index: 30;
  }

  .contact-map-marker > i,
  .contact-map-marker > span {
    position: relative;
    z-index: 2;
  }

  .contact-map-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    width: 330px;
    padding: 15px 16px 14px;
    border: 1px solid rgba(201,149,61,.38);
    border-radius: 6px;
    background: rgba(7,24,35,.98);
    box-shadow: 0 14px 34px rgba(0,0,0,.20);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .contact-map-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 10px;
    height: 10px;
    background: rgba(7,24,35,.98);
    border-right: 1px solid rgba(201,149,61,.38);
    border-bottom: 1px solid rgba(201,149,61,.38);
    transform: translate(-50%,-5px) rotate(45deg);
  }

  /* Invisible hover bridge between marker and tooltip.
     Keeps the card open while the mouse moves onto phone/email links. */
  .contact-map-tooltip::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 18px;
    background: transparent;
  }

  .contact-map-tooltip-down .contact-map-tooltip {
    top: calc(100% + 12px);
    bottom: auto;
    transform: translate(-50%,-8px);
  }

  .contact-map-tooltip-down .contact-map-tooltip::after {
    top: auto;
    bottom: 100%;
    border: 0;
    border-left: 1px solid rgba(201,149,61,.38);
    border-top: 1px solid rgba(201,149,61,.38);
    transform: translate(-50%,5px) rotate(45deg);
  }

  .contact-map-tooltip-down .contact-map-tooltip::before {
    top: auto;
    bottom: 100%;
    height: 18px;
  }

  .contact-map-tooltip-right {
    left: auto;
    right: -18px;
    transform: translate(0,8px);
  }

  .contact-map-tooltip-down .contact-map-tooltip-right {
    transform: translate(0,-8px);
  }

  .contact-map-tooltip-right::after {
    left: auto;
    right: 28px;
    transform: translate(0,-5px) rotate(45deg);
  }

  .contact-map-tooltip-down .contact-map-tooltip-right::after {
    left: auto;
    right: 28px;
    transform: translate(0,5px) rotate(45deg);
  }

  .contact-map-marker:hover .contact-map-tooltip,
  .contact-map-marker:focus .contact-map-tooltip,
  .contact-map-marker:focus-within .contact-map-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%,0);
  }

  .contact-map-marker:hover .contact-map-tooltip-right,
  .contact-map-marker:focus .contact-map-tooltip-right,
  .contact-map-marker:focus-within .contact-map-tooltip-right {
    transform: translate(0,0);
  }

  .contact-map-tooltip strong {
    display: block;
    margin-bottom: 7px;
    color: #d3aa5a;
    font-size: 12px;
    line-height: 1.2;
  }

  .contact-map-tooltip p {
    margin: 0 0 10px;
    color: rgba(255,255,255,.76);
    font-size: 8px;
    line-height: 1.55;
    font-weight: 400;
  }

  .contact-map-tooltip a {
    display: flex;
    cursor: pointer;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    white-space: nowrap;
  }

  .contact-map-tooltip a i {
    width: 14px;
    color: #d3aa5a;
    font-size: 10px;
    text-align: center;
  }

  .contact-map-tooltip a:hover {
    color: #e3bd77;
  }

}

.contact-map-regions-fallback {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 14px;
  padding: 15px 17px;
  border: 1px solid #e2e2df;
  background: #f7f7f5;
}

.contact-map-regions-fallback strong {
  display: block;
  margin-bottom: 4px;
  color: #1d2327;
  font-size: 10px;
}

.contact-map-regions-fallback p {
  max-width: 980px;
  margin: 0;
  color: #74797d;
  font-size: 7px;
  line-height: 1.5;
}

.contact-map-regions-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-map-regions-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #30363a;
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.contact-map-regions-contact i {
  width: 13px;
  color: #c9953d;
  text-align: center;
}

@media (max-width: 991px) {
  .contact-map-tooltip {
    display: none;
  }

  .contact-map-regions-fallback {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .contact-map-regions-contact a {
    white-space: normal;
  }
}


/* =========================================================
   MAPA SLOVENSKA - PRESNE ZAROVNANIE NA DODANU MAPU
   Zdroj obrazu je vlozeny priamo v kontakt.html.
========================================================= */
.contact-map {
  min-height: 0;
  overflow: visible;
  border: 1px solid #dededb;
  background: #fff;
}

.contact-map > .contact-map-base {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Bod markeru je zarovnany na skutocny bod mesta v dodanej mape. */
.contact-map-marker {
  z-index: 5;
  gap: 5px;
  transform: translate(-7px, -16px);
}

.contact-map-marker > i {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.20));
}

.contact-map-marker > span {
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(255,255,255,.90);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  color: #20262a;
}

/* Percentá sú prepočítané z reálnych GPS súradníc na slepú mapu 1672 × 941. */
.contact-map-bratislava { left: 10.27%; top: 70.61%; }
.contact-map-trnava      { left: 17.68%; top: 61.75%; }
.contact-map-nitra       { left: 25.36%; top: 64.50%; }
.contact-map-trencin     { left: 24.71%; top: 41.73%; }
.contact-map-zilina      { left: 35.42%; top: 29.01%; }
.contact-map-bb          { left: 41.39%; top: 47.85%; }
.contact-map-presov      { left: 73.95%; top: 37.71%; }
.contact-map-kosice      { left: 74.28%; top: 48.63%; }

@media (min-width: 992px) {
  .contact-map-marker:hover > i,
  .contact-map-marker:focus > i,
  .contact-map-marker:focus-within > i {
    color: #d7a84d;
    transform: scale(1.08);
  }
}

@media (max-width: 991px) {
  .contact-map {
    overflow: hidden;
  }

  .contact-map-marker {
    transform: translate(-5px, -12px);
  }

  .contact-map-marker > i {
    font-size: 13px;
  }

  .contact-map-marker > span {
    padding: 1px 3px;
    font-size: 6px;
  }
}

@media (max-width: 767px) {
  .contact-map > .contact-map-base {
    width: 100%;
    max-width: none;
    height: auto;
  }

  .contact-map-marker > span {
    display: none;
  }
}

/* =========================================================
   CONTACT FORM - reCAPTCHA + AJAX STATUS
========================================================= */

.contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-captcha {
  margin-top: 17px;
}

.contact-captcha .g-recaptcha {
  min-height: 78px;
}

.contact-captcha small {
  display: block;
  margin-top: 5px;
  color: #868b8f;
  font-size: 7px;
  line-height: 1.4;
}

.contact-consent a {
  color: #a8782c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-submit[disabled] {
  opacity: .65;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.contact-form-status {
  display: none;
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.45;
}

.contact-form-status.is-visible {
  display: block;
}

.contact-form-status.is-success {
  border: 1px solid #b9d8c0;
  background: #eef8f0;
  color: #235b31;
}

.contact-form-status.is-error {
  border: 1px solid #e1b7b7;
  background: #fff1f1;
  color: #842a2a;
}

@media (max-width: 430px) {
  .contact-captcha {
    overflow-x: auto;
    overflow-y: hidden;
  }
}

/* =========================================================
   UPLOAD - SELECTED FILES
========================================================= */

.contact-upload {
  position: relative;
  min-height: 82px;
}

.contact-upload-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.contact-upload-icon {
  flex-shrink: 0;
}

.contact-upload-icon i {
  color: #3f4b54;
  font-size: 22px;
}

.contact-upload-title {
  display: block;
  margin-bottom: 3px;
  color: #1d2327;
  font-size: 9px;
}

.contact-upload-default {
  color: #73787c;
  font-size: 7px;
}

.contact-upload-selected {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  color: #b8842f;
  font-size: 8px;
  font-weight: 700;
}

.contact-upload-selected[hidden] {
  display: none;
}

.contact-upload-selected i {
  color: #c99a46;
}

.contact-upload-names {
  max-width: 300px;
  margin-top: 4px;
  overflow: hidden;
  color: #53595d;
  font-size: 7px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-upload-change {
  margin-top: 4px;
  color: #a87828;
  font-size: 7px;
  font-weight: 600;
}

.contact-upload-change[hidden] {
  display: none;
}


/* SELECTED */

.contact-upload.has-files {
  border-style: solid;
  border-color: #c99a46;
  background: #fffaf0;
  box-shadow: 0 0 0 2px rgba(201,154,70,.08);
}

.contact-upload.has-files .contact-upload-icon i {
  color: #c99a46;
}


/* ERROR */

.contact-upload.has-error {
  border-style: solid;
  border-color: #d35a5a;
  background: #fff5f5;
}

.contact-upload.has-error .contact-upload-names {
  color: #b53636;
  font-weight: 600;
}


/* MOBILE */

@media (max-width: 767px) {

  .contact-upload-names {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

}

/* =========================================================
   UPLOAD STATUS - VÝRAZNÝ
========================================================= */

.contact-upload-status {
  display: none !important;
  width: 100% !important;
  min-height: 54px !important;

  margin-top: 10px !important;
  padding: 12px 16px !important;

  align-items: center !important;
  gap: 12px !important;

  border-radius: 5px !important;
  box-sizing: border-box !important;

  opacity: 1 !important;
  visibility: visible !important;
}


/* =========================================================
   SÚBOR VYBRANÝ
========================================================= */

.contact-upload-status.is-selected {
  display: flex !important;

  background: #11181d !important;

  border: 3px solid #d3a13f !important;

  box-shadow:
    0 4px 14px rgba(0,0,0,.16) !important;

  color: #ffffff !important;
}


.contact-upload-status.is-selected i {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 30px !important;
  height: 30px !important;

  flex: 0 0 30px !important;

  border-radius: 50% !important;

  background: #d3a13f !important;

  color: #11181d !important;

  font-size: 16px !important;

  opacity: 1 !important;
}


.contact-upload-status.is-selected span {
  display: block !important;

  color: #ffffff !important;

  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;

  opacity: 1 !important;
  visibility: visible !important;

  overflow-wrap: anywhere !important;
}


/* =========================================================
   CHYBA
========================================================= */

.contact-upload-status.is-error {
  display: flex !important;

  background: #8f2424 !important;
  border: 3px solid #d85656 !important;

  color: #ffffff !important;
}


.contact-upload-status.is-error i {
  color: #ffffff !important;

  font-size: 20px !important;

  opacity: 1 !important;
}


.contact-upload-status.is-error span {
  color: #ffffff !important;

  font-size: 13px !important;
  font-weight: 700 !important;

  opacity: 1 !important;
}


/* =========================================================
   AJ UPLOAD BOX ZVÝRAZNÍME
========================================================= */

.contact-upload-wrap:has(
  .contact-upload-status.is-selected
) .contact-upload {

  border: 2px solid #d3a13f !important;

  background: #fff9ed !important;
}