.contacts-section {
  background: #0f0f0f;
  padding: 100px 0;
}

.contacts-container {
  width: min(1400px, 90%);
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contacts-info h2{
  color: white;
  font-size: 60px;
  margin-bottom: 30px;
}

.contacts-info p {
  color: #bfbfbf;
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-item {
  color: white;
  font-size: 22px;
  margin-bottom: 20px;
}

.contacts-social {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.contacts-social a {
  color: #c7a46a;
  text-decoration: none;
}

.contacts-social a:hover {
  color: white;
}

.contacts-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts-form h2 {
  color: white;
  font-size: 40px;
  margin-bottom: 20px;
  align-self: center;
}

.contacts-form input,
.contacts-form textarea {
  width: 100%;

  background: #1d1d1d;

  border: 1px solid #333;

  color: white;

  padding: 18px;

  border-radius: 14px;

  font-size: 18px;

  resize: none;
}

.contacts-form input:focus,
.contacts-form textarea:focus {
  outline: none;
  border-color: #c7a46a;
}


/* ============================= */
/* Сообщения администратора */
/* ============================= */

.messages-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.messages-empty {
  color: #aaa;
  text-align: center;
  margin-top: 40px;
}

.message-card {
  position: relative;
  padding: 18px;
  background: #1b1b1b;
  border: 1px solid #3a3a3a;
  border-radius: 14px;
}

.message-card h4 {
  margin: 0 40px 6px 0;
  color: #fff;
  font-size: 18px;
}

.message-contact {
  color: #c9a96e;
  font-size: 14px;
  margin-bottom: 14px;
  word-break: break-word;
}

.message-text {
  color: #ddd;
  line-height: 1.5;
  margin: 0 0 14px;
  white-space: pre-wrap;
  word-break: break-word;
}

.message-date {
  color: #777;
  font-size: 12px;
}

.delete-message {
  position: absolute;
  top: 14px;
  right: 14px;

  width: 34px;
  height: 34px;

  border: 1px solid #444;
  border-radius: 8px;

  background: #242424;
  cursor: pointer;

  transition: 0.2s;
}

.delete-message:hover {
  background: #333;
  transform: scale(1.05);
}

.messages-title {
  color: #fff;
  margin: 0 0 10px;
  font-size: 24px;
  align-self: center;
}
