/* ================================================
   INLINE TO CLASS - Заміна inline стилів на класи
   Створено: 14.12.2025
   ================================================ */

/* === ТИПОГРАФІКА === */
.fs-13 { font-size: 13px; }
.fs-14 { font-size: 14px; }
.fs-15 { font-size: 15px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-24 { font-size: 24px; }
.fs-26 { font-size: 26px; }
.fs-32 { font-size: 32px; }
.fs-40 { font-size: 40px; }

.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-900 { font-weight: 900; }

/* === КОЛЬОРИ === */
.text-gray { color: #6b7280; }
.text-gray-dark { color: #475569; }
.text-dark { color: #1f2937; }
.text-navy { color: #1e3a5f; }
.text-black { color: #1a1a1a; }
.text-blue { color: #3b82f6; }
.text-pink { color: #E91E8C; }
.text-white { color: #fff; }

/* === ВІДСТУПИ === */
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }

.mt-30 { margin-top: 30px; }
.mt-35 { margin-top: 35px; }

.p-24 { padding: 24px; }
.p-32 { padding: 32px; }
.px-20 { padding-left: 20px; padding-right: 20px; }
.px-24 { padding-left: 24px; padding-right: 24px; }
.px-30 { padding-left: 30px; padding-right: 30px; }
.py-10 { padding-top: 10px; padding-bottom: 10px; }
.py-16 { padding-top: 16px; padding-bottom: 16px; }
.py-25 { padding-top: 25px; padding-bottom: 25px; }

/* === КАРТКИ === */
.card-white {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-bordered {
  background: white;
  padding: 32px;
  border-radius: 16px;
  text-decoration: none;
  border: 2px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.card-gradient-blue {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  padding: 25px 30px;
  border-radius: 12px;
  margin-top: 30px;
  text-align: center;
  font-size: 18px;
}

/* === FAQ ACCORDION === */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  padding: 16px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question-text {
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
  padding-right: 20px;
}

.faq-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  color: #6b7280;
  transition: transform 0.3s ease;
}

.faq-answer {
  display: none;
  padding: 0 24px 20px 24px;
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
}

.faq-answer.active {
  display: block;
}

/* === СПИСКИ === */
.list-check {
  list-style: none;
  padding: 0;
}

.list-check-item {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}

.list-check-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3b82f6;
}

/* === ІКОНКИ === */
.icon-lg { font-size: 40px; margin-bottom: 16px; }
.icon-md { font-size: 32px; margin-bottom: 12px; }

/* === ФОРМИ === */
.form-input-styled {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  outline: none;
  transition: all 0.3s;
  box-sizing: border-box;
  color: #1e293b;
  background: white;
}

.form-input-styled:focus {
  border-color: #3b82f6;
}

.form-label-styled {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 8px;
}

/* === ЗАГОЛОВКИ === */
.section-title {
  font-size: 26px;
  font-weight: 700;
  color: #1e3a5f;
  margin: 35px 0 20px;
}

.section-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 16px;
}

/* === FLEX UTILS === */
.d-flex { display: flex; }
.flex-center { align-items: center; }
.flex-between { justify-content: space-between; }
.flex-column { flex-direction: column; }
.gap-8 { gap: 8px; }

/* === LINE HEIGHT === */
.lh-15 { line-height: 1.5; }
.lh-17 { line-height: 1.7; }

/* === FLEX GROW === */
.flex-grow { flex-grow: 1; }

/* === HIDDEN === */
.visually-hidden {
  width: 1px;
  height: 1px;
  visibility: hidden;
}

/* === COLOCATION СТИЛІ === */
.colo-text {
  font-size: 16px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 20px;
}

.colo-table-header {
  padding: 8px 0;
  font-weight: 500;
  color: #1f2937 !important;
}

.colo-table-cell {
  padding: 8px 0;
  color: #6b7280 !important;
}

.colo-table-row {
  border-bottom: 1px solid #f3f4f6;
}

.colo-logo {
  height: 40px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s;
}

.colo-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.colo-section-title {
  font-size: 22px;
  font-weight: 600;
  color: #1e3a8a;
  margin: 32px 0 16px 0;
}

.colo-faq-btn {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.colo-faq-icon {
  font-size: 20px;
  color: #6b7280;
  transition: transform 0.3s;
}

.colo-faq-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}

.colo-faq-text {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

.colo-faq-content {
  display: none;
  padding: 0 24px 20px 24px;
}

.colo-faq-card {
  background: white;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

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

.colo-icon-blue {
  font-size: 32px;
  margin-bottom: 8px;
  color: #3b82f6;
}
/**
 * Utility classes to replace inline styles
 * Created: 14.12.2025
 * Purpose: Reduce inline styles from 241 to <50
 */

/* Font sizes */
.fs-14 { font-size: 14px !important; }
.fs-16 { font-size: 16px !important; }
.fs-18 { font-size: 18px !important; }
.fs-20 { font-size: 20px !important; }
.fs-24 { font-size: 24px !important; }

/* Font weights */
.fw-400 { font-weight: 400 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }

/* Colors */
.text-primary { color: #E91E8C !important; }
.text-success { color: #4CAF50 !important; }
.text-warning { color: #ff6b35 !important; }
.text-info { color: #2196F3 !important; }
.text-dark { color: #1e3a5f !important; }
.text-muted { color: #6b7280 !important; }

/* Background */
.bg-transparent { background: transparent !important; }
.bg-primary { background: #E91E8C !important; }
.bg-success { background: #4CAF50 !important; }

/* Visibility */
.sr-only { 
    width: 1px; 
    height: 1px; 
    visibility: hidden; 
    position: absolute;
    overflow: hidden;
}

/* Flex utilities */
.d-flex { display: flex !important; }
.flex-center { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Spacing */
.p-16 { padding: 16px !important; }
.p-24 { padding: 24px !important; }
.px-16 { padding-left: 16px !important; padding-right: 16px !important; }
.px-24 { padding-left: 24px !important; padding-right: 24px !important; }
.py-16 { padding-top: 16px !important; padding-bottom: 16px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-20 { margin-bottom: 20px !important; }

/* Border radius */
.rounded-8 { border-radius: 8px !important; }
.rounded-12 { border-radius: 12px !important; }
.rounded-16 { border-radius: 16px !important; }
.rounded-full { border-radius: 50% !important; }

/* Cursor */
.cursor-pointer { cursor: pointer !important; }

/* Transitions */
.transition-bg { transition: background 0.2s ease !important; }
.transition-all { transition: all 0.3s ease !important; }

/* FAQ accordion styles (replacing 15+ inline styles) */
.faq-question-btn {
    padding: 16px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
}
.faq-question-btn:hover {
    background: #f8f9fa;
}

/* Icon sizes */
.icon-20 { width: 20px; height: 20px; }
.icon-40 { width: 40px; height: 40px; }
.icon-80 { width: 80px; height: 80px; }

/* Common button styles */
.btn-pink-lg {
    width: 100%;
    padding: 16px;
    background: #E91E8C;
    color: white;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-pink-lg:hover {
    background: #d61a7d;
    transform: translateY(-2px);
}

.btn-gradient-pink {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #E91E8C 0%, #F06292 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(233, 30, 140, 0.35);
}
.btn-gradient-pink:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233, 30, 140, 0.45);
}

/* Success icon circle */
.success-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
}

/* Map container */
.map-container-lg {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
}

/* ================================================
   OVERRIDE INLINE STYLES FROM DB CONTENT
   ================================================ */

/* Замінюємо inline font стилі на стандартні */
.page-content [style*="font-size: 14px"],
.page-content [style*="font-size:14px"] {
    font-size: 14px !important;
}

.page-content [style*="font-size: 18px"],
.page-content [style*="font-size:18px"] {
    font-size: 18px !important;
}

/* Видаляємо непотрібні font-family з контенту */
.page-content [style*="Helvetica Neue"] {
    font-family: inherit !important;
}

/* Нормалізуємо margin з контенту */
.page-content [style*="margin: 0px"] {
    margin: inherit !important;
}

/* FAQ секція - переписуємо accordion стилі */
.faq-section [style*="padding: 16px 24px"] {
    padding: 16px 24px !important;
}

.faq-section [style*="cursor: pointer"] {
    cursor: pointer !important;
}

/* Select2 hidden inputs */
[style*="width: 1px"][style*="height: 1px"][style*="visibility: hidden"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    visibility: hidden !important;
}

/* Lazy Modal Loader */
.lazy-modal-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.lazy-modal-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #fff;
    border-top-color: #E91E8C;
    border-radius: 50%;
    animation: lazy-spin 1s linear infinite;
}
@keyframes lazy-spin {
    to { transform: rotate(360deg); }
}
