/* =========================================================
   INLINE STYLES - ВЫНЕСЕНЫ ИЗ HTML
   ========================================================= */

/* Calculator Result */
#calcResult {
  margin-top: 12px;
}

/* Shop Items */
.shop.reveal {
  overflow: visible;
  min-height: 280px;
}

.shop img {
  display: block;
  width: 100%;
   object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.shop h3 {
  text-align: center;
}

/* Careers Section */
#careers.section-soft {
  background-color: #f7faf9;
}

.section-header {
  text-align: center;
  max-width:100%;
 margin: 0 auto 24px;
}

.section-title {
  margin-bottom: 8px;
}

.careers-wrap {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card.job.reveal {
  margin: 0;
  padding: 18px 18px;
}

.card.job h3 {
  margin: 0 0 6px 0;
}

.card.job .meta {
  margin-bottom: 8px;
  color: #6b7280;
}

.card.job p {
  margin: 0;
}

/* Form Styles */
.card {
  margin: 0;
  padding: 18px 18px;
}

.card h3.no-top {
  margin: 0 0 12px 0;
  text-align: center;
}

#job-application-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  grid-column: span 1;
}

.field-full {
  grid-column: span 2;
}

#username {
  transition: border-color 0.3s ease;
}

#username-status {
  margin-top: 5px;
  font-size: 0.85em;
  display: none;
  font-weight: 500;
}

.field p {
  font-size: 0.85em;
  color: #666;
  margin: 0;
}

.submit-wrapper {
  grid-column: span 2;
  display: flex;
  justify-content: center;
}

/* Form Success Message */
#form-success {
  display: none;
  color: green;
  margin-top: 16px;
  padding: 15px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f9fff9;
}

#form-success h3 {
  margin: 0 0 6px 0;
}

#form-success p {
  margin: 0 0 6px 0;
}

#form-success p:last-child {
  margin: 0;
}

/* Navigation Styles */
.brand-badge {
  padding: 0;
}

.brand-badge img {
  width: 32px;
  height: 32px;
  display: block;
}

/* Footer Styles */
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer .brand-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer .links {
  display: flex;
  gap: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  #job-application-form {
    grid-template-columns: 1fr;
  }
  
  .field {
    grid-column: span 1;
  }
  
  .field-full {
    grid-column: span 1;
  }
  
  .submit-wrapper {
    grid-column: span 1;
  }
  
  .careers-wrap {
    grid-template-columns: 1fr;
  }
  
  .footer .container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer .links {
    justify-content: center;
  }
}

/* =========================================================
СТИЛИ ДЛЯ МАГАЗИНОВ ИЗ БАЗЫ ДАННЫХ
========================================================= */

/* Стили для placeholder магазина */
.shop-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 10px;
}

.shop-placeholder svg {
  width: 100%;
  height: 100%;
}

/* Стили для информации о стране магазина */
.shop-country {
  font-size: 0.85em;
  color: #6b7280;
  margin: 4px 0 8px 0;
  font-style: italic;
}

/* Стили для ссылки на магазин */
.shop-link {
  display: inline-block;
  padding: 6px 12px;
  background-color: #147470;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: 500;
  transition: background-color 0.3s ease;
  margin-top: 8px;
}

.shop-link:hover {
  background-color: #0f5a56;
  color: white;
  text-decoration: none;
}

/* Адаптивность для ссылок магазинов */
@media (max-width: 768px) {
  .shop-link {
    font-size: 0.8em;
    padding: 5px 10px;
  }
}
