/* ================================================================
   Info Pages Styles (УПД, Счет, Акт)
   Используется в: upd/info.html, schet/info.html, akt/info.html
   ================================================================ */

/* Content Sections v12 */
.content-section {
  margin-bottom: 48px;
}

.lead-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 32px;
}

/* Example Cards v12 */
.example-card {
  background: white;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.example-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  background-image: radial-gradient(#3b82f6 1px, transparent 1px), linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  background-size: 24px 24px, 100% 100%;
  padding: 32px;
  text-align: center;
}

.example-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.example-badge-secondary {
  background: rgba(251, 191, 36, 0.2);
  color: #FBBF24;
  border-color: rgba(251, 191, 36, 0.3);
}

.example-header h2 {
  color: white;
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0;
}

.example-content {
  padding: 40px;
}

.example-content > p {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 32px;
}

/* Field Groups */
.field-group {
  margin-bottom: 40px;
}

.field-group h3 {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
}

.field-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.field-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 15px;
  color: #475569;
}

.field-list li:last-child {
  border-bottom: none;
}

.field-list li strong {
  color: #0f172a;
  font-weight: 600;
  display: inline-block;
  min-width: 150px;
}

.field-list li .highlight {
  background: #3b82f6;
  color: white;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
}

.field-list li em {
  color: #94a3b8;
  font-size: 14px;
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.example-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.example-table thead {
  background: #f8fafc;
}

.example-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #e2e8f0;
}

.example-table td {
  padding: 12px 16px;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
}

.example-table .total-row {
  background: #f8fafc;
  font-weight: 700;
}

.example-table .total-row td {
  color: #0f172a;
  border-bottom: none;
}

.note {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: #92400e;
}

/* Tips Section */
.tips-section {
  margin: 64px 0;
}

.tips-section h2 {
  font-size: 32px;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.tip-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: white;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  margin-bottom: 16px;
}

.tip-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  font-size: 24px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.tip-content h4 {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.tip-content p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Download Section */
.download-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  background-image: radial-gradient(#3b82f6 1px, transparent 1px), linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  background-size: 24px 24px, 100% 100%;
  padding: 64px 40px;
  border-radius: 32px;
  margin: 64px 0;
}

.download-section h2 {
  font-size: 36px;
  font-weight: 900;
  color: white;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-align: center;
}

.download-section > p {
  font-size: 18px;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.download-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.download-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.download-icon {
  width: 64px;
  height: 64px;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.download-icon svg {
  color: #3b82f6;
}

.download-card h4 {
  font-size: 20px;
  font-weight: 900;
  color: white;
  margin: 0 0 12px 0;
}

.download-card p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0 0 24px 0;
}

.download-btn {
  width: 100%;
  padding: 16px 24px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
}

.download-btn:hover {
  background: #2563eb;
  transform: scale(1.02);
}


/* Responsive */
@media (max-width: 768px) {
  .example-header {
    padding: 24px;
  }
  
  .example-header h2 {
    font-size: 22px;
  }
  
  .example-content {
    padding: 24px;
  }
  
  .field-list li strong {
    display: block;
    margin-bottom: 4px;
  }
  
  .download-section {
    padding: 40px 24px;
  }
  
  .download-section h2 {
    font-size: 28px;
  }
  
  .download-grid {
    grid-template-columns: 1fr;
  }
  
  .auth-modal {
    padding: 32px 24px;
  }
}
