/* Styles moved out of contact.html so the CSP can drop style-src 'unsafe-inline'. */

.contact-sent-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(13, 59, 59, 0.08);
  border: 1px solid rgba(13, 59, 59, 0.2);
  color: #0d3b3b;
  font-size: 0.9rem;
  line-height: 1.4;
}
.contact-sent-banner i {
  font-size: 1.15rem;
  color: #0d7a6f;
  flex-shrink: 0;
}
.contact-sent-banner span {
  flex: 1;
}
.contact-sent-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  color: inherit;
  opacity: 0.6;
}
.contact-sent-close:hover {
  opacity: 1;
}

.error-msg {
  display: none;
  color: #e23b3b;
  font-size: 0.8rem;
  margin-top: 4px;
}
.field.invalid .error-msg {
  display: block;
}
.field.invalid .form-input,
.field.invalid .form-textarea,
.field.invalid .phone-group {
  border-color: #e23b3b;
}
.field.invalid .form-input,
.field.invalid .form-textarea {
  outline: 1px solid #e23b3b;
}

.phone-group {
  position: relative;
  display: flex;
}
.cc-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 8px 0 0 8px;
  background: rgba(135, 163, 172, 0.35) !important;
  cursor: pointer;
  font-size: 1rem;
  white-space: nowrap;
}
.cc-flag {
  font-size: 1.2rem;
  line-height: 1;
}
.phone-input {
  border-radius: 0 8px 8px 0 !important;
  flex: 1;
  min-width: 0;
}
.cc-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 280px;
  max-height: 280px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 50;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.cc-search-wrap {
  position: sticky;
  top: 0;
  padding: 8px;
  background: #fff;
}
.cc-search {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
}
.cc-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
}
.cc-option:hover,
.cc-option.active {
  background: #f0f0f0;
}
.cc-option .name {
  flex: 1;
  font-size: 0.9rem;
}
.cc-option .dial {
  color: #888;
  font-size: 0.85rem;
}
