body {
  background-color: #F9F9F9 !important;
  color: #2C2C2C !important;
  font-family: 'Roboto', sans-serif !important;
}

.main-column {
  background-color: #FFFFFF !important;
  border: 1px solid #E0E0E0 !important;
}

button, input[type="submit"], input[type="button"] {
  background-color: #FF6F00 !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 10px 20px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
}

button:hover, input[type="submit"]:hover, input[type="button"]:hover {
  background-color: #FF8F00 !important;
}

input, textarea, select {
  background-color: #FFFFFF !important;
  color: #2C2C2C !important;
  border: 1px solid #E0E0E0 !important;
  border-radius: 4px !important;
  padding: 8px !important;
  font-size: 16px !important;
}

a {
  color: #007BFF !important;
  text-decoration: none !important;
}

a:hover {
  text-decoration: underline !important;
}

p {
  color: black !important;
  text-decoration: none !important;
}

.created-at, .about-time, .time {
  font-size: 0.9rem;
  color: black;
}

table {
  background-color: #FFFFFF !important;
  color: #2C2C2C !important;
  width: 100% !important;
  border-collapse: collapse !important;
}

table th {
  background-color: #F8F8F8 !important;
  padding: 12px 15px !important;
  text-align: left !important;
  font-weight: 600 !important;
}

table tr:nth-child(even) {
  background-color: #FAFAFA !important;
}

table td {
  padding: 12px 15px !important;
}

.profile {
  background-color: #FFFFFF !important;
  padding: 20px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.profile .name {
  color: #FF6F00 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

.avatar {
  border: 3px solid #FF6F00 !important;
  border-radius: 50% !important;
  width: 60px !important;
  height: 60px !important;
}

article, section {
  background-color: #FFFFFF !important;
  color: #2C2C2C !important;
  padding: 20px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

.post-preview img {
  border-radius: 8px !important;
  max-width: 100% !important;
  height: auto !important;
}

.post-preview .image-container {
  max-width: 100% !important;
  overflow: hidden !important;
  display: block !important;
  margin: 0 auto !important;
}

div {
  background-color: #FFFFFF !important;
  border: 1px solid #E0E0E0 !important;
}

div .header-content {
  width: 100% !important;
}

::-webkit-scrollbar {
  width: 8px !important;
}

::-webkit-scrollbar-thumb {
  background-color: #B0B0B0 !important;
  border-radius: 8px !important;
}

::-webkit-scrollbar-track {
  background-color: #F9F9F9 !important;
}

.action-container {
  background-color: #FFFFFF !important;
  border: 1px solid #E0E0E0 !important;
  padding: 20px !important;
  border-radius: 8px !important;
  color: #2C2C2C !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
}

footer {
  background-color: #FFFFFF !important;
  border-top: 1px solid #E0E0E0 !important;
  padding: 15px 0 !important;
}

footer a {
  background-color: #007BFF !important;
  color: #FFFFFF !important;
  padding: 10px 20px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

footer a:hover {
  background-color: #0056b3 !important;
}

.sidebar-left nav ul,
.sidebar-right nav ul {
  display: flex !important;
  flex-direction: column !important;
}

.sidebar-left nav ul,
.sidebar-right nav ul {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.sidebar-left nav ul li,
.sidebar-right nav ul li {
  width: 100%;
  display: block;
}

.sidebar-left nav ul li a,
.sidebar-right nav ul li a,
.header nav ul li a {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  background-color: #ffffff !important;
  color: #2C2C2C !important;
  border: 1px solid #D0D0D0 !important;
  text-align: left;
  box-sizing: border-box;
}

.sidebar-left nav ul li a:hover,
.sidebar-right nav ul li a:hover,
.header nav ul li a:hover {
  background-color: #f0f0f0 !important;
}

.filter-btn,
.create-button,
.edit-btn,
.delete-btn,
.join-btn,
.leave-btn,
.buy-btn {
  background-color: #FF6F00 !important;
  color: #FFFFFF !important;
  border: none !important;
}

.filter-btn:hover,
.create-button:hover {
  background-color: #FF8F00 !important;
  color: #FFFFFF !important;
}

.card {
  border-radius: 16px;
  padding: 16px 24px;
  margin-bottom: 24px;
  color: #4A4A4A;
  font-family: inherit;
  box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.1);
  background-color: #F4F4F4;
}

.card-section {
  border: none;
  padding: 16px 0 0 16px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-top: 16px;
  padding-top: 0px;
  border: none;
}

.card-label {
  color: #2D2D2D;
  font-weight: bold;
  letter-spacing: 1.5px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.card-footer {
  margin-top: 12px;
  font-weight: 500;
  color: #6C6C6C;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  padding-top: 0;
  margin-bottom: 12px;
}

.card-body {
  margin-top: 12px;
  margin-bottom: 16px;
  padding: 0;
}

.card-field {
  display: flex;
  align-items: baseline;
  padding: 0;
  margin-bottom: 8px;
  border: none;
  background: none;
}

.card-tags {
  margin: 5px 0 3px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.card-tags a.tag-link {
  text-decoration: none;
  color: #181818;
  background: #D94F4F;
  padding: 5px 13px 4px 13px;
  border-radius: 7px;
  font-size: .98em;
  border: none;
  font-weight: bold;
}

.card-tags a.tag-link:hover {
  background: #D94F4F;
  color: #111;
  cursor: pointer;
}

a.user-link {
  background-color: #FFD600;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  border: 2px solid #FFD600;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  font-size: 1em;
}

a.user-link:hover {
  background-color: #FFD600;
  border-color: #FFD600;
  color: #FFFFFF;
  cursor: pointer;
}

a.user-link:focus {
  background-color: #9A2F2F;
  border-color: #9A2F2F;
  color: #FFFFFF;
}

.date-link {
  background-color: #2F3C32;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  margin-left: 12px;
}

.date-link:hover {
  background-color: #3E4A3D;
  color: #fff;
}

.activitySpreadInhabitant2 {
  background-color: #3E4A3D;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  border: 2px solid transparent;
}

.activityVotePost {
  background-color: #3B5C42;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  border: 2px solid transparent;
}


.update-banner {
  background-color: #FFF3E0 !important;
  border-bottom-color: #FFE0B2 !important;
  color: #E65100 !important;
}

.update-banner-link {
  color: #FF6F00 !important;
}

.snh-invite-code {
  color: #007BFF !important;
}

.carbon-bar-track {
  background: #e0e0e0 !important;
}

.carbon-bar-max {
  background: #ccc !important;
}

.stats-kpi-label { color: #2D2D2D !important; }
.stats-kpi-value { color: #007BFF !important; }
.carbon-bar-note, .carbon-bar-formula { color: #007BFF !important; }
.graphos-node-label { fill: #2C2C2C !important; }
.graphos-node-label-me { fill: #cc7700 !important; }
.graphos-legend { color: #2C2C2C !important; }
.graphos-edge { stroke: #BBB !important; }
.graphos-edge-discovered { stroke: #b8860b !important; }
.graphos-edge-unknown { stroke: #999 !important; }
.graphos-node-circle-discovered { fill: #ffd700 !important; stroke: #b8860b !important; }
.graphos-legend-dot.graphos-node-circle-discovered { background: #ffd700 !important; border-color: #b8860b !important; }
/* Blockexplorer */
.blockchain-view { background-color: #F4F4F4 !important; color: #2C2C2C !important; }
.block { background: #FFFFFF !important; box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important; }
.block:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.10) !important; }
.blockchain-card-label, .block-info-table .card-label, .pm-info-table .card-label, .block-content-label { color: #2D2D2D !important; }
.blockchain-card-value, .block-info-table .card-value, .pm-info-table .card-value, .block-timestamp, .json-content { color: #007BFF !important; }
.block-content-preview, .block-content { background: #F8F8F8 !important; color: #2C2C2C !important; }
.block-author { color: #FF6F00 !important; background: rgba(255,111,0,0.08) !important; }
.block-author:hover { color: #FF8F00 !important; }
.block-url { color: #007BFF !important; }
.block-row--details .block-url { background: #F0F0F0 !important; }
.block-row--details .block-url:hover { background: #E0E0E0 !important; color: #FF6F00 !important; }
.btn-singleview { background: #F0F0F0 !important; color: #FF6F00 !important; }
.btn-singleview:hover { background: #E0E0E0 !important; color: #FF8F00 !important; }
.btn-back { background: #FF6F00 !important; color: #FFFFFF !important; }
.btn-back:hover { background: #FF8F00 !important; color: #FFFFFF !important; }
.block-info-table td, .pm-info-table td { border-color: #E0E0E0 !important; }
.block-diagram { border-color: #E0E0E0 !important; background: #FFFFFF !important; }
.block-diagram-ruler { color: #2D2D2D !important; background: #F8F8F8 !important; border-bottom-color: #E0E0E0 !important; }
.block-diagram-ruler span { color: #2D2D2D !important; }
.block-diagram-cell { border-color: #E0E0E0 !important; background: #FFFFFF !important; }
.bd-label { color: #2D2D2D !important; }
.bd-value { color: #007BFF !important; }
.deleted-label { color: #D32F2F !important; }

/* Tribes */
.tribe-card { background: #FFFFFF !important; border-color: #E0E0E0 !important; }
.tribe-card:hover { border-color: #007BFF !important; }
.tribe-card-title { color: #2D2D2D !important; }
.tribe-card-description { color: #555 !important; }
.tribe-info-table td { border-color: #E0E0E0 !important; }
.tribe-info-label { color: #2D2D2D !important; background: #FFFFFF !important; }
.tribe-info-value { color: #007BFF !important; background: #FFFFFF !important; }
.tribe-info-empty { color: #999 !important; }
.tribe-card-members { border-color: #E0E0E0 !important; background: #F8F8F8 !important; }
.tribe-members-count { color: #FF6F00 !important; }
.tribe-card-actions { border-color: #E0E0E0 !important; background: #F8F8F8 !important; }
.tribe-action-btn { border-color: #FF6F00 !important; color: #FF6F00 !important; }
.tribe-action-btn:hover { background: #FF6F00 !important; color: #fff !important; }
.tribe-subtribe-link { background: #F0F0F0 !important; border-color: #E0E0E0 !important; color: #FF6F00 !important; }
.tribe-thumb-link { border-color: #E0E0E0 !important; }
.tribe-thumb-link:hover { border-color: #FF6F00 !important; }
.tribe-subtribe-link:hover { background: #E0E0E0 !important; }
.tribe-parent-image { border-color: #E0E0E0 !important; }
.tribe-parent-box { background: #FFFFFF !important; }
