.brand-bar {
  background: #fff;
  border-bottom: 1px solid #eef2f7;
}

.brand-bar .logo {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.page-wrap {
  max-width: 1100px;
  margin: 32px auto;
}

.card-hero {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.sample-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.sample-grid a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eef2f7;
  transition: 0.2s;
  background: #fff;
}

.sample-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sample-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(13, 110, 253, 0.15);
}

.note-tips {
  background: #fff;
  border: 1px dashed #dbe4f0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.9rem;
}

.dropzone {
  position: relative;
  border: 2px dashed #d6dcef;
  border-radius: 12px;
  background: #fbfcff;
  padding: 18px;
  text-align: center;
  transition: all 0.15s ease;
}

.dropzone.dragover {
  border-color: var(--he-primary);
  background: #f0f6ff;
}

.dz-icon {
  font-size: 2rem;
}

.dz-thumb {
  max-height: 140px;
  margin-top: 10px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.progress-wrap {
  display: none;
}

.iti {
  width: 100%;
}

.error {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.35rem;
}

.is-invalid {
  border-color: #dc3545 !important;
}

.is-valid {
  border-color: #198754 !important;
}

.lightbox-img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.modal-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-wrapper {
  display: inline-block;
  position: relative;
}

.lightbox-img {
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  display: block;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.close-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

body {
  background: linear-gradient(135deg, #f3f7fa 0%, #e2eafc 100%);
  font-family: "Inter", Arial, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}
.lightbox-overlay {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 40, 55, 0.86);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadein 0.18s;
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox-img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 16px;
  box-shadow: 0 8px 32px #222a;
  border: 4px solid #fff;
  background: #fff;
}
.lightbox-overlay:after {
  content: "✕";
  position: absolute;
  top: 32px;
  right: 48px;
  font-size: 2.1rem;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  text-shadow: 0 2px 10px #111;
  z-index: 2;
  transition: color 0.16s;
}
.lightbox-overlay:hover:after {
  color: #ff4444;
}

.sample-photos {
  max-width: 850px;
  margin: 0 auto 28px auto;
  padding: 18px 22px;
  background: linear-gradient(110deg, #e8f0fe 60%, #fafbfc 100%);
  border-radius: 16px;
  box-shadow: 0 2px 12px #0001;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sample-title {
  font-size: 1.12rem;
  color: #3366cc;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.sample-list {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.sample-list img {
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px #0001;
  transition: transform 0.2s, box-shadow 0.2s;
  background: #eee;
  cursor: pointer;
}
.sample-list img:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 6px 16px #3366cc22;
}

h1 {
  text-align: center;
  color: #224;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-top: 38px;
}
form {
  background: #fff;
  padding: 38px 34px 26px 34px;
  border-radius: 18px;
  box-shadow: 0 6px 36px #1111ff11;
}
form .intl-tel-input {
  width: 100%;
}
label {
  font-weight: 500;
  margin-bottom: 7px;
  display: block;
  color: #233a5d;
  font-size: 1.07em;
  width: 100%;
}
input,
select {
  width: 100%;
  padding: 11px 12px;
  margin-bottom: 18px;
  border: 1.5px solid #dbe7fd;
  border-radius: 8px;
  font-size: 1em;
  background: #f6faff;
  transition: border 0.15s;
}
input:focus,
select:focus {
  border-color: #3a8bff;
  outline: none;
  background: #fff;
}
button {
  background: linear-gradient(90deg, #396afc, #2948ff);
  color: #fff;
  padding: 13px 0;
  border: none;
  border-radius: 9px;
  font-size: 1.13em;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  transition: background 0.18s;
}
button:hover {
  background: linear-gradient(90deg, #2948ff, #396afc);
}
#loading {
  text-align: center;
  margin-top: 40px;
}
#result {
  margin-top: 38px;
  text-align: center;
}
.img-result-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}
.img-result-wrap img {
  border-radius: 16px;
  box-shadow: 0 2px 14px #0001;
  border: 2px solid #e2eafc;
  width: 205px;
  object-fit: cover;
}
.img-arrow {
  font-size: 55px;
  color: #396afc;
  margin: 0 15px;
  flex-shrink: 0;
}
.info-wrap {
  margin-top: 25px;
  color: #18324b;
  font-size: 1.07em;
}
