/* --- Jasny motyw (domyślny) --- */

main{
background: url('../images/bg_header.png');
}

.shoutbox-wrapper {
  max-width: 600px;
  margin: 30px auto;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.shoutbox-messages {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 10px;
  height: 200px;
  overflow-y: auto;
  margin-bottom: 15px;
  font-size: 14px;
}

.shoutbox-input,
.shoutbox-textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 12px;
  border: 1px solid #ccc;
}

.shoutbox-button {
  width: 100%;
  padding: 12px;
  background: #4a90e2;
  border: none;
  color: #fff;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
}

.shoutbox-log {
  margin-top: 10px;
  font-size: 13px;
}

/* --- TOAST --- */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #4a90e2;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- CIEMNY MOTYW --- */ 

body.dark-mode h3{
color: white;
}

body.dark-mode main {
    background: linear-gradient(135deg, #4a90e2, #2d5d99);
    color: #333;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


.dark-mode .shoutbox-wrapper {
  background: #1e1e1e;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.dark-mode .shoutbox-messages {
  background: #2a2a2a;
  border: 1px solid #444;
  color: #eee;
}

.dark-mode .shoutbox-input,
.dark-mode .shoutbox-textarea {
  background: #2a2a2a;
  border: 1px solid #555;
  color: #eee;
}

.dark-mode .shoutbox-input:focus,
.dark-mode .shoutbox-textarea:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74,144,226,0.35);
}

.dark-mode .shoutbox-button {
  background: linear-gradient(135deg, #4a90e2, #2d5d99);
}

.dark-mode .shoutbox-button:hover {
  background: linear-gradient(135deg, #2d5d99, #244b77);
}

.dark-mode .shoutbox-log {
  color: #ccc;
}
