/* src/styles/main.scss */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background:
    linear-gradient(
      135deg,
      #eff6ff 0%,
      #ffffff 50%,
      #faf5ff 100%);
  min-height: 100vh;
}
.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.app-header {
  background: #ffffff;
  border-bottom: 1px solid #f3f4f6;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding: 0.25rem 0;
}
.app-header .header-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.app-header .logo-icon {
  height: 5rem;
  width: auto;
  color: #252d7e;
  flex-shrink: 0;
}
.app-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.app-footer {
  background: #ffffff;
  border-top: 1px solid #f3f4f6;
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.btn-primary {
  background: #252d7e;
  color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.btn-primary:hover:not(:disabled) {
  background: rgb(25.4233128834, 30.9202453988, 86.5766871166);
}
.btn-secondary {
  background: #e5e7eb;
  color: #1f2937;
}
.btn-secondary:hover:not(:disabled) {
  background: #d1d5db;
}
.btn-scan {
  background: #d00018;
  color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 1rem 1.5rem;
}
.btn-scan svg {
  width: 1.5rem;
  height: 1.5rem;
}
.btn-scan:hover:not(:disabled) {
  background: rgb(157, 0, 18.1153846154);
}
.btn-full {
  width: 100%;
}
.btn-close {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.btn-close:hover {
  background: #ffffff;
}
.form-card {
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  max-width: 42rem;
  width: 100%;
  margin: 0 auto;
}
.form-header {
  background: #252d7e;
  padding: 1.5rem;
  color: #ffffff;
}
.form-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
}
.form-header p {
  font-size: 0.875rem;
  margin: 0;
  opacity: 0.9;
}
.form-body {
  padding: 1.5rem;
}
.form-section {
  margin-bottom: 1.5rem;
}
.form-section:last-child {
  margin-bottom: 0;
}
.section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111827;
  margin-bottom: 1rem;
}
.section-header svg {
  width: 1rem;
  height: 1rem;
}
.section-header.primary svg {
  color: #252d7e;
}
.section-header.secondary svg {
  color: #d00018;
}
.section-content {
  padding-left: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group:last-child {
  margin-bottom: 0;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}
.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: #111827;
  background: #ffffff;
  transition: all 0.2s;
}
.form-input::placeholder,
.form-select::placeholder {
  color: #9ca3af;
}
.form-input:hover,
.form-select:hover {
  border-color: rgb(65.6134969325, 77.6380368098, 199.3865030675);
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #252d7e;
  box-shadow: 0 0 0 3px rgba(37, 45, 126, 0.1);
}
.form-input.is-invalid,
.form-select.is-invalid {
  border-color: #dc2626 !important;
  background-color: rgb(251.875, 235.625, 235.625);
}
.form-select {
  padding-right: 2.5rem;
}
.form-input.monospace {
  font-family:
    "Monaco",
    "Menlo",
    "Courier New",
    monospace;
  font-size: 0.875rem;
}
.radio-group {
  display: flex;
  gap: 1rem;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #ffffff;
  transition: all 0.2s;
  flex: 1;
}
.radio-label:hover {
  border-color: rgb(65.6134969325, 77.6380368098, 199.3865030675);
  background: #f9fafb;
}
.radio-input {
  position: absolute;
  opacity: 0;
}
.radio-input:checked + .radio-custom {
  border-color: #252d7e;
  background: #252d7e;
}
.radio-input:checked + .radio-custom::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.radio-input:checked ~ .radio-text {
  color: #252d7e;
  font-weight: 600;
}
.radio-input:focus + .radio-custom {
  box-shadow: 0 0 0 3px rgba(37, 45, 126, 0.1);
}
.radio-custom {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  background: #ffffff;
  transition: all 0.2s;
  flex-shrink: 0;
}
.radio-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0;
  transition: all 0.2s;
}
.radio-text {
  font-size: 1rem;
  color: #111827;
  transition: all 0.2s;
}
.error-message {
  display: none;
  font-size: 0.75rem;
  color: #dc2626;
  background: rgb(251.875, 235.625, 235.625);
  border-left: 3px solid #dc2626;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  margin-top: 0.5rem;
  font-weight: 500;
}
.form-input.is-invalid + .error-message,
input:invalid:not(:placeholder-shown) + .error-message {
  display: block;
}
.info-box {
  background: rgb(164.1717791411, 169.9386503067, 228.3282208589);
  border: 2px solid rgb(105.036809816, 114.5582822086, 210.963190184);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1.5rem;
}
.info-box .info-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}
.info-box .info-header svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #252d7e;
  flex-shrink: 0;
}
.info-box .info-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
}
.info-box .info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.info-box .reference-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid rgb(124.7484662577, 133.018404908, 216.7515337423);
}
.info-box .reference-image-container {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 0.5rem;
  border: 1px solid rgb(105.036809816, 114.5582822086, 210.963190184);
}
.info-box .reference-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.25rem;
}
.info-box .image-caption {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #374151;
  text-align: center;
  font-weight: 600;
}
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  padding: 1rem;
  transition: all 0.3s;
}
.modal.invisible,
.modal.modal-invisible {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}
.modal-content {
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  width: 80%;
  max-height: 80%;
  overflow: hidden;
  transform: scale(1);
  transition: transform 0.3s;
}
.modal-header {
  background: #252d7e;
  padding: 1.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.modal-header svg {
  width: 2rem;
  height: 2rem;
  color: #ffffff;
}
.modal-header .modal-title h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
}
.modal-header .modal-title p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}
.modal-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
}
.modal-footer {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding: 1rem 1.5rem;
  display: flex;
  gap: 0.75rem;
}
.summary-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.summary-card {
  padding: 1rem;
  border-radius: 0.5rem;
  border: 2px solid;
}
.summary-card.primary {
  background: rgb(164.1717791411, 169.9386503067, 228.3282208589);
  border-color: rgb(105.036809816, 114.5582822086, 210.963190184);
}
.summary-card.secondary {
  background: rgb(255, 182.5, 190.8653846154);
  border-color: rgb(255, 106, 123.1923076923);
}
.summary-card.success {
  background: rgb(158.2258064516, 251.7741935484, 222.7419354839);
  border-color: rgb(84.1935483871, 249.3064516129, 198.064516129);
}
.summary-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.summary-label svg {
  width: 1rem;
  height: 1rem;
}
.summary-label.primary {
  color: rgb(25.4233128834, 30.9202453988, 86.5766871166);
}
.summary-label.primary svg {
  color: #252d7e;
}
.summary-label.secondary {
  color: rgb(157, 0, 18.1153846154);
}
.summary-label.secondary svg {
  color: #d00018;
}
.summary-label.success {
  color: rgb(3.3548387097, 100.6451612903, 70.4516129032);
}
.summary-label.success svg {
  color: #059669;
}
.summary-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  word-break: break-all;
}
.summary-value.large {
  font-size: 1.125rem;
}
.summary-value.monospace {
  font-family:
    "Monaco",
    "Menlo",
    "Courier New",
    monospace;
}
.summary-sections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.summary-section {
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  overflow: hidden;
}
.summary-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background: #252d7e;
}
.summary-section-header svg {
  width: 1.25rem;
  height: 1.25rem;
}
.summary-items {
  display: flex;
  flex-direction: column;
}
.summary-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  transition: background-color 0.2s ease;
}
.summary-item:last-child {
  border-bottom: none;
}
.summary-item:hover {
  background-color: #f9fafb;
}
.summary-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: #f3f4f6;
  border-radius: 0.5rem;
  color: #4b5563;
}
.summary-item-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.summary-item-content {
  flex: 1;
  min-width: 0;
}
.summary-item-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.375rem;
}
.summary-item-value {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  color: #111827;
  word-break: break-word;
}
.summary-item-value.monospace {
  font-family:
    "Monaco",
    "Menlo",
    "Courier New",
    monospace;
  font-size: 1rem;
}
.info-badge {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  border-radius: 0.25rem;
}
.info-badge.primary {
  background: #252d7e;
}
.info-badge.secondary {
  background: #d00018;
}
.scanner-overlay {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scanner-container {
  position: relative;
  width: 80%;
  max-width: 500px;
}
.scanner-container video {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}
.scanner-container .btn-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}
.invisible {
  visibility: hidden;
}
.icon {
  flex-shrink: 0;
}
.icon.icon-sm {
  width: 1rem;
  height: 1rem;
}
.icon.icon-md {
  width: 1.25rem;
  height: 1.25rem;
}
.icon.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}
.icon.icon-xl {
  width: 2rem;
  height: 2rem;
}
@media (max-width: 768px) {
  .app-header .header-content {
    padding: 0 1rem;
  }
  .app-main {
    padding: 1rem;
  }
  .form-card {
    max-width: 100%;
  }
  .scanner-container {
    width: 95%;
  }
  .reference-images {
    grid-template-columns: 1fr;
  }
}
/*# sourceMappingURL=app.css.map */
