/* =====================================================
   WELCOME TO AFRICA FORUM
   Sahara Gold & Safari Green Edition
===================================================== */

/* ====== ФОН С SVG (африканский пейзаж) ====== */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  background-color: #fdf8ef;
  background-image: url("data:image/svg+xml;utf8,
  <svg xmlns='http://www.w3.org/2000/svg' width='800' height='400'>
    <rect width='100%' height='100%' fill='%23fdf8ef'/>
    <circle cx='650' cy='90' r='60' fill='%23f4c430' opacity='0.35'/>
    <path d='M0 300 Q200 250 400 300 T800 300 L800 400 L0 400 Z' fill='%23e8d8b5' opacity='0.5'/>
    <g fill='%236b8e23' opacity='0.25'>
      <rect x='150' y='220' width='6' height='60'/>
      <ellipse cx='153' cy='210' rx='30' ry='20'/>
      <rect x='500' y='230' width='6' height='55'/>
      <ellipse cx='503' cy='220' rx='28' ry='18'/>
    </g>
  </svg>");
  background-repeat: repeat;
  color: #3a2f1b;
}

/* ====== БАЗОВЫЙ ТЕКСТ ====== */
font, th, td, p {
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

/* ====== ССЫЛКИ ====== */
a {
  text-decoration: none;
  color: #2e7d32;
  font-weight: 600;
  transition: 0.3s;
}
a:visited {
  color: #33691e;
}
a:hover, a:active {
  color: #c49b0b;
  text-shadow: 0 0 4px rgba(196,155,11,0.3);
}

/* ====== ЛИНИЯ ====== */
hr {
  border: none;
  border-top: 1px solid #d6c29a;
  margin: 15px 0;
}

/* ====== ТАБЛИЦЫ ФОРУМА ====== */
table.forumline {
  background: #ffffff;
  border: 1px solid #d6c29a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.row1 { background-color: #fffdf8; }
.row2 { background-color: #f7f1e3; }
.row3 { background-color: #f1e7d0; }

th, td.th {
  background: linear-gradient(90deg, #6b8e23, #4e6b18);
  color: #ffffff;
  font-weight: bold;
  padding: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

td.cat, td.catHead, td.catLeft, td.rowpic,
td.catSides, td.catRight, td.catBottom {
  background: linear-gradient(90deg, #f4c430, #d4a017);
  color: #3a2f1b;
  font-weight: bold;
}

/* ====== НАВИГАЦИЯ ====== */
.nav {
  font-weight: bold;
  font-size: 14px;
  color: #c49b0b;
}

.nav a, .nav a:visited {
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(107,142,35,0.1);
}

.nav a:hover {
  background: #6b8e23;
  color: #ffffff;
}

/* ====== КНОПКИ ====== */
input, textarea, select {
  font: 14px "Segoe UI", Arial, sans-serif;
  border-radius: 6px;
}

input.post, textarea.post, select {
  border: 1px solid #6b8e23;
  background: #fffdf8;
}

input.button,
input.mainoption,
input.liteoption {
  background: linear-gradient(90deg, #f4c430, #d4a017);
  border: none;
  color: #3a2f1b;
  font-weight: bold;
  padding: 5px 12px;
  cursor: pointer;
  transition: 0.3s;
}

input.button:hover,
input.mainoption:hover,
input.liteoption:hover {
  background: linear-gradient(90deg, #6b8e23, #4e6b18);
  color: #ffffff;
}

/* ====== БЛОК КОДА ====== */
.code {
  font-family: Consolas, monospace;
  font-size: 14px;
  background: #f4f1e6;
  border: 1px solid #cdbb8b;
  padding: 10px;
  border-radius: 6px;
  color: #2e7d32;
}

/* ====== ЦИТАТА ====== */
.quote {
  background: #faf4e3;
  border-left: 4px solid #f4c430;
  padding: 10px;
  border-radius: 6px;
  color: #5d4e2f;
}

/* ====== ПОСТ ====== */
.postbody {
  font-size: 15px;
  color: #2f2f2f;
}

.name {
  font-weight: bold;
  color: #4e6b18;
}

.postdetails {
  font-size: 12px;
  color: #7a6a4f;
}

/* ====== АВАТАР ГОСТЯ ====== */
.guestavatar {
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, #f4c430, #6b8e23);
  color: #ffffff;
  font-size: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* ====== КРАСИВЫЕ СТРАНИЦЫ ====== */
.pgbutt a {
  border: 1px solid #d6c29a;
  background: #fffdf8;
  padding: 3px 8px;
  border-radius: 20px;
  text-decoration: none;
}

.pgbutt a:hover {
  background: #6b8e23;
  color: #ffffff;
}