/* Стили авторизации */
.t-auth-container {
  max-width: 400px;
  margin: 30px auto;
  padding: 25px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.t-auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.t-auth-input {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
}

.t-auth-button {
  background: #3366ff;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.t-auth-button:hover {
  background: #254eda;
}

/* Стили редактора */
.t-news-editor {
  max-width: 800px;
  margin: 30px auto;
  padding: 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.t-news-input, .t-news-textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 6px;
  font-size: 16px;
}

.t-news-textarea {
  min-height: 200px;
  resize: vertical;
}

.t-news-file {
  margin-bottom: 20px;
}

.t-news-button {
  background: #3366ff;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s;
}

.t-news-button:hover {
  background: #254eda;
  transform: translateY(-2px);
}

.t-news-button-logout {
  background: #ff4444;
  margin-left: 15px;
}

/* Стили ленты новостей */
.t-news-feed {
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.news-date {
  color: #888;
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.news-date::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #3366ff;
  border-radius: 50%;
  margin-right: 8px;
}

.news-title {
  font-size: 22px;
  margin: 0 0 15px 0;
  color: #222;
}

.news-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  white-space: pre-line;
}

.news-image {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.news-image img {
  max-width: 100%;
  display: block;
  transition: transform 0.3s;
}

.news-image img:hover {
  transform: scale(1.02);
}