/* (c) 2026 Sentys Inc. All rights reserved. */


.contact-banner {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-banner[hidden] { display: none; }
.contact-banner--ok {
  background: #f3f7e0;
  border: 1px solid #B0D237;
  color: #2d3d00;
}
.contact-banner--error {
  background: #fff4f0;
  border: 1px solid #f1bdaf;
  color: #7c2d12;
}


.contact-form .optional {
  color: #999;
  font-weight: 400;
  font-size: 0.85em;
  margin-left: 4px;
}

.prefilled-sketch {
  margin-top: 10px;
  padding: 10px 14px;
  background: #f3f7e0;
  border: 1px solid #B0D237;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #1a1a19;
  line-height: 1.4;
}
.prefilled-sketch[hidden] { display: none; }
.prefilled-sketch__check {
  color: #4a6300;
  font-weight: 700;
  font-size: 1.05rem;
}
.prefilled-sketch__label {
  flex: 1 1 auto;
}
.prefilled-sketch__label a {
  color: #4a6300;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prefilled-sketch__clear {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  color: #707070;
  padding: 0 6px;
  border-radius: 4px;
}
.prefilled-sketch__clear:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #1a1a19;
}



.attachment-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.attachment-list[hidden] { display: none; }
.attachment-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #f7f6f2;
  border: 1px solid #e3e1da;
  border-radius: 6px;
  font-size: 0.92rem;
  color: #1a1a19;
  line-height: 1.4;
}
.attachment-item__name {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
.attachment-item__size {
  flex: 0 0 auto;
  color: #707070;
  font-size: 0.85em;
  white-space: nowrap;
}
.attachment-item__remove {
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  color: #707070;
  padding: 0 6px;
  border-radius: 4px;
}
.attachment-item__remove:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #1a1a19;
}

.attachment-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.attachment-toolbar[hidden] { display: none; }
.attachment-toolbar__total {
  font-size: 0.85rem;
  color: #707070;
}
.attachment-toolbar--over .attachment-toolbar__total {
  color: #7c2d12;
  font-weight: 600;
}
.attachment-toolbar__clear {
  background: transparent;
  border: 1px solid #d0cec7;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #444;
  padding: 4px 12px;
}
.attachment-toolbar__clear:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: #a9a69d;
  color: #1a1a19;
}

.attachment-error {
  margin-top: 8px;
  padding: 10px 14px;
  background: #fff4f0;
  border: 1px solid #f1bdaf;
  border-radius: 6px;
  color: #7c2d12;
  font-size: 0.9rem;
  line-height: 1.4;
}
.attachment-error[hidden] { display: none; }





.contact-form .attachment-item__remove,
.contact-form .prefilled-sketch__clear {
  background: transparent;
  border: 0;
  border-radius: 4px;
  padding: 0 6px;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  color: #707070;
  align-self: center;
  transition: none;
}
.contact-form .attachment-item__remove:hover,
.contact-form .prefilled-sketch__clear:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #1a1a19;
  transform: none;
  box-shadow: none;
}
.contact-form .attachment-toolbar__clear {
  background: transparent;
  border: 1px solid #d0cec7;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 400;
  color: #444;
  align-self: center;
  transition: none;
}
.contact-form .attachment-toolbar__clear:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: #a9a69d;
  color: #1a1a19;
  transform: none;
  box-shadow: none;
}
