﻿/* Дизайни умумӣ */
body {
  font-family: 'Noto Sans','Times New Roman toj', 'Times New Roman','Times New Roman tj', 'Times New Roman taj','Segoe UI', sans-serif;
  background: #eef2f5;
  margin: 0;
  padding: 1rem 2rem;
  justify-content: center;
      align-items: center;
}

/* Сарлавҳа ва навбар */
header {
  background: #ffffff;
  padding: 1rem;
  border-bottom: 2px solid #ccc;
}
nav a {
  margin-right: 1rem;
  text-decoration: none;
  color: #007acc;
  font-weight: bold;
}
nav a:hover {
  text-decoration: underline;
}

/* Матн ва тугмаҳо */
textarea {
  width: 100%;
  height: 120px;
  font-size: 1.1rem;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}
button {
  padding: 0.6rem 1.2rem;
  margin: 0.5rem 0.5rem 0.5rem 0;
  font-size: 1rem;
  background-color: #007acc;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button:hover {
  background-color: #005f99;
}

/* Ҷой барои натиҷаҳо */
#results {
  margin-top: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Рӯйхати зебо (ул/li) барои натиҷаҳо */
#results ul {
  list-style: none;
  padding: 0;
}
#results li {
  padding: 0.3rem 0;
  border-bottom: 1px solid #eee;
}

/* Ҷадвал барои натиҷаҳо (ихтиёрӣ) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
table th, table td {
  padding: 0.5rem;
  border-bottom: 1px solid #ddd;
  text-align: left;
}
table th {
  background-color: #f5f5f5;
  color: #333;
}

/* Қисми поён */
footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
  text-align: center;
  color: #666;
}
