/* Общие стили для страницы */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f5f7;
  color: #333;
}

/* Стили для заголовков */
h1 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

h1 a {
  color: #0079bf;
  text-decoration: none;
  transition: color 0.3s ease;
}

h1 a:hover {
  color: #0056b3;
}

h2 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 20px;
  color: #444;
}

/* --- Контейнер приложения --- */
.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  box-sizing: border-box;
}

/* Инпуты */
.input-text {
  display: inline-block;
  width: calc(50% - 12px);
  padding: 10px 12px;
  margin: 5px 0px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-text:focus {
  border-color: #0079bf;
  box-shadow: 0 0 0 3px rgba(0, 121, 191, 0.2);
  outline: none;
}

.fullname-container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.fullname-container .input-text {
    width: 50%;
    box-sizing: border-box;
}

/* Кнопки */
button {
  display: inline-block;
  padding: 10px 18px;
  margin-top: 10px;
  border: none;
  border-radius: 8px;
  background: #0079bf;
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #005f8c;
}

button:active {
  background: #00486a;
}

.ajax-request-container,
.attention-container {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.ajax-request-container .ajax-response-name,
.attention-container .click-for-btn {
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
}

/* Блоки для отображения данных */
.attention-message,
.displays-tracked-date,
.ajax-response-name,
.last-first-name, 
.click-for-btn {
  margin-top: 12px;
  padding: 10px 14px;
  background: #eef6fb;
  border: 1px solid #cfe4f3;
  border-radius: 8px;
  font-size: 15px;
  color: #333;
  height: 40px;
  line-height: 20px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
  transition: background 0.3s ease;
}

.attention-message {
  background: #fff4e5;
  border-color: #ffd591;
}

.last-first-name {
  font-weight: bold;
  background: #e8f9e9;
  border-color: #b6e2b9;
}

table {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  margin: 20px 0;
}

th, td {
  padding: 10px;
  text-align: left;
  border: 1px solid #ddd;
}

th {
  background-color: #f4f4f4;
}
