#claims-constructor {
  --claim-primary-color: #2c3e50;
  --claim-secondary-color: #3498db;
  --claim-accent-color: #e74c3c;
}

.claim-section {
  max-width: 950px;
  margin: 2rem auto;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background: #fff;
  text-align: center;
  overflow: hidden;
}

.claim-section-title {
  color: var(--claim-primary-color);
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 35px;
  font-family: 'Bebas Neue Bold', sans-serif;
}

.claim-section-subtitle {
  color: var(--claim-secondary-color);
  font-weight: 500;
  letter-spacing: .5px;
  font-size: 19px;
  line-height: 1.4;
}

.claim-section .col-12 {
  text-align: left;
}

.claim-section .form-label {
  display: block;
  font-weight: 600;
  margin-top: 1rem;
  color: var(--claim-primary-color);
}

.claim-section .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: all 0.3s;
  margin: 1rem 0 1rem;
}

.claim-section .form-control:focus {
  border-color: var(--claim-secondary-color);
  box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

.claim-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin: 1rem .35rem 1rem;
  border-radius: 8px;
  background-color: var(--claim-secondary-color);
  color: #fff;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
}

.claim-btn:hover,
.claim-btn:focus {
  background-color: #2980b9;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.claim-btn:disabled {
  background-color: #95a5a6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

#claims-constructor .required { color: var(--claim-accent-color); }

.company-fields {
  display: none;
  animation: claimFadeIn 0.5s ease-in-out;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-top: 1rem;
}

.loading-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: claimSpin 1s ease-in-out infinite;
  margin-left: 10px;
  vertical-align: middle;
}

@keyframes claimSpin { to { transform: rotate(360deg); } }

.unp-container { position: relative; }

.unp-status {
  position: absolute;
  right: 20px;
  bottom: 13px;
  font-size: 14px;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

#claims-constructor .valid { background-color: #d4edda; color: #155724; }
#claims-constructor .invalid { background-color: #f8d7da; color: #721c24; }

.form-progress {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: 1rem;
  position: relative;
}

.form-progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}

.step {
  position: relative;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  z-index: 1;
  text-align: center;
  min-width: 120px;
  font-size: 14px;
}

.step.active {
  border-color: var(--claim-secondary-color);
  background-color: var(--claim-secondary-color);
  color: #fff;
}

.form-step { display: none; }
.form-step.active { display: block; animation: claimFadeIn 0.5s; }
@keyframes claimFadeIn { from { opacity: 0; } to { opacity: 1; } }

.checkbox-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 1rem;
}

.checkbox-item:hover { background: #e9ecef; }

.form-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 24px;
}

.form-check-input {
  width: 1.2em;
  height: 1.2em;
  margin-top: 0;
  align-self: center;
  position: relative;
  top: -1px;
  flex-shrink: 0;
}

.form-check-label {
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  line-height: 1.3;
  padding-top: 1px;
}

.additional-field {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #dee2e6;
  display: none;
}

.additional-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #495057;
}

.policy-item a { color: var(--claim-secondary-color); transition: color 0.2s; }
.policy-item a:hover { color: #0056b3; }

.doc-guide {
  text-align: left;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  margin: 0 0 2rem;
  border-top: 4px solid var(--claim-secondary-color);
}

.doc-guide__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.doc-guide__icon { flex-shrink: 0; color: var(--claim-secondary-color); font-size: 24px; width: 24px; text-align: center; }
.doc-guide__title { margin: 0; color: var(--claim-primary-color); font-size: 1.25rem; }
.doc-guide__steps { display: grid; gap: 1.2rem; }
.doc-step { display: flex; gap: 1rem; align-items: flex-start; }

.doc-step__icon {
  width: 28px;
  height: 28px;
  background: var(--claim-secondary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.doc-step__content h4 { margin: 0 0 4px; color: var(--claim-primary-color); font-size: 1.05rem; }
.doc-step__content p { margin: 0; color: #555; line-height: 1.5; }

.doc-methods {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 8px;
}

.doc-methods li { display: flex; align-items: center; gap: 8px; color: #555; }
.doc-methods i { color: var(--claim-secondary-color); width: 18px; text-align: center; }

.doc-notice {
  background: #fff9e6;
  border-radius: 8px;
  padding: 12px;
  margin-top: 1.5rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-left: 3px solid #ffc107;
}

.doc-notice__icon { flex-shrink: 0; color: #e67e22; font-size: 20px; width: 20px; margin-top: 2px; text-align: center; }
.doc-notice p { margin: 0; color: #5a4a00; font-size: 0.95rem; }
.error-message { color: #dc3545; font-size: 0.85rem; margin-top: 0.25rem; }

.claims-delivery-text {
  text-align: left;
  line-height: 1.45;
  padding: 0 10px;
}

@media (max-width: 992px) {
  .claim-section { padding: 1.5rem; }
}

@media (max-width: 768px) {
  .claim-section { padding: 1rem; border-radius: 8px; }
  .claim-section-title { font-size: 28px; }
  .form-progress { flex-direction: column; }
  .form-progress::before { display: none; }
  .step { margin-bottom: 0.5rem; }
  .checkbox-item { padding: 0.75rem; }
  .claim-section .col-12 { padding-left: 0.5rem; padding-right: 0.5rem; }
  .form-check { gap: 0.5rem; }
  .form-check-label { font-size: 0.95rem; }
  .doc-guide { padding: 1.25rem; }
  .doc-step { gap: 0.75rem; }
  .unp-status { position: static; display: inline-block; margin-top: .5rem; }
}

@media (max-width: 576px) {
  .checkbox-item { padding: 0.75rem 0.5rem; }
  .form-check-input { top: 0; }
  .form-check-label { line-height: 1.4; }
}

@media (max-width: 480px) {
  .claim-section { padding: 0.75rem; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); }
}

.claims-intro-text,
.claim-section-subtitle {
  margin-bottom: 30px;
}

.claim-section-header {
  max-width: none;
}

.claim-textarea {
  height: auto;
}

.claim-is-hidden {
  display: none;
}

.claim-btn:disabled {
  opacity: 0.5;
}

