/* general.css */

/* Reset some default browser styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  /* Global Body Styles */
  body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    padding: 20px;
  }
  
  /* Headings */
  h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 600;
  }
  
  /* Paragraphs */
  p {
    margin-bottom: 15px;
  }
  
  /* Links */
  a {
    color: #3498db;
    text-decoration: none;
  }
  a:hover {
    text-decoration: underline;
  }
  a:visited:not(.btn):not(.logout):not(.logo-url):not(.copy-link):not(#thread-url) {
    color: #34db9e;
  }


/* Buttons and Links styled as buttons */
.btn, button {
  display: inline-block;
  padding: 10px 20px;
  background: #3498db;
  color: #fff;
  border: none;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.btn:hover, button:hover:not(.copy-btn) {
  background: #2980b9;
}

.btn:active, button:active:not(.copy-btn) {
  background: #2471a3;
  transform: scale(0.98);
}

/* Form Elements */
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

/* Error Message Styling */
.error {
  color: #e74c3c;
  background: #fcebea;
  padding: 10px;
  border: 1px solid #e74c3c;
  border-radius: 3px;
  margin-bottom: 15px;
}
