/* Box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Body */
body {
  margin: 0;
  font-family: "Rubik", sans-serif; /* нов шрифт */
  background: #f2f4f7;
  color: #111;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Контейнер */
.container {
  background: #ffffff;
  margin: 20px;           /* 20px отстояние на мобилни устройства */
  padding: 16px;
  border-radius: 10px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: none;
}

/* Заглавие */
h1 {
  margin: 0 0 12px 0;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 600; /* по-дебел */
}

/* Labels */
label {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
}

/* Inputs */
textarea,
input#latOutput {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border: 1px solid #d0d6dc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Rubik", sans-serif; /* Rubik и за текстовите полета */
  background: #fff;
  color: #111;
  outline: none;
  transition: border-color .12s ease;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* Button */
button {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  background: #007bff;
  color: #fff;
  font-weight: 500;
  font-family: "Rubik", sans-serif;
  transition: background .14s ease;
}

button:active { transform: translateY(1px); }
button:hover { background: #0063d1; }

/* Copied message */
.copied {
  display: none;
  margin-top: 12px;
  text-align: center;
  font-weight: 500;
  color: #14824b;
  font-size: 0.95rem;
}

/* Desktop / tablet */
@media (min-width: 768px) {
  .container {
    width: 800px;
    margin: 20px auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    
  }
  h1 { font-size: 1.6rem; }
  textarea { min-height: 80px; }
  button { font-size: 1.05rem; padding: 16px; }
}

/* FAQ Accordion */
#faq .faq-item {
  
  margin-bottom: 8px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: #007bff;
  border: none;
  padding: 12px 8px;
  font-size: 1rem;
  font-family: "Rubik", sans-serif;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question .plus {
  font-weight: bold;
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 8px;
}

.faq-answer.open {
  padding: 12px 8px;
}

.faq-question.active .plus {
  transform: rotate(45deg); /* + -> x при отваряне */
}

