/**
 * =============================================================================
 * @encoding UTF-8
 * @author [Zerohold](//zerohold.sd1.su)
 * @project [SD1](services.sd1.su)
 * @summary SD1 › Кодирование HTML онлайн - стили сервиса
 * @created 2026-10
 * @modified 2026-10
 *
 * @file D:/node/sd1.su/services.sd1.su/html-encoding/css/styles.css
 * @link https://services.sd1.su/html-encoding/css/styles.css
 *
 * @remarks
 * - Общие стили подключаются из https://cdn.sd1.su/css/services/styles-services.css
 * - Здесь только уникальные для сервиса стили
 * =============================================================================
 */

/* --- HTML Encoding Styles --- */
.html-encoding
{
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.input-panel, .results-panel
{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panel-title
{
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.input-group
{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-label, .result-label
{
  font-size: 0.875rem;
  font-weight: 500;
}

.input-textarea
{
  width: 100%;
  min-height: 15rem;
  resize: vertical;
  font-family: monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 0.75rem;
  border: 1px solid #cbd5e0;
  border-radius: 0.375rem;
}

.result-textarea
{
  width: 100%;
  min-height: 12rem;
  resize: vertical;
  font-family: monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 0.75rem;
  border: 1px solid #cbd5e0;
  border-radius: 0.375rem;
  background-color: #f7fafc;
}

.results-grid
{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.result-item
{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}

.result-item-header
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.result-item-title
{
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.result-description
{
  font-size: 0.875rem;
  color: #4a5568;
  margin: 0.25rem 0 0.5rem;
}

.button-container
{
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.info-block
{
  margin-top: 2rem;
}

.info-title
{
  margin: 1.5rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.info-block p
{
  margin: 0.75rem 0;
  line-height: 1.6;
}

.info-block ul
{
  list-style-position: inside;
  padding-left: 0;
  margin: 0.75rem 0;
}

.info-block ul li
{
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.info-block code
{
  background-color: #f7fafc;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-family: monospace;
  font-size: 0.875rem;
  color: #2d3748;
}

.info-block strong
{
  font-weight: 600;
  color: #2d3748;
}

.required-mark
{
  color: #e53e3e;
  margin-left: 0.25rem;
  font-weight: bold;
}

.warning-text
{
  color: #d69e2e;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Адаптивность для мобильных */
@media (max-width: 768px)
{
  .button-container
  {
    flex-direction: column;
  }

  .input-textarea, .result-textarea
  {
    font-size: 0.8rem;
  }

  .result-item
  {
    padding: 0.75rem;
  }
}
