:root {
  --bg-color: #e6ddc6;
  --bg-card: #ffffff;
  --bg-navbar: #bbab8c;
  --bg-navbar-bottom: #ded0b6;
  --bg-footer: #a19882;
  --footer-heading: #1a1a1a;
  --footer-text: #333333;
  --text-main: #333333;
  --text-muted: #666666;
  --border-color: #c2b8a3;

  --accent-color: #c2b8a3;
  --accent-hover: #a19882;
  --btn-special: #c89b5c;
  --btn-special-hover: #a67c42;

  --sidebar-bg: #bbab8c;
  --sidebar-text: #333333;
  --sidebar-hover: #c2b8a3;
}

[data-theme="dark"] {
  --bg-footer: #222222;
  --footer-heading: var(--btn-special);
  --footer-text: var(--text-muted);

  --bg-color: #1a1a1a;
  --bg-card: #2d2d2d;
  --bg-navbar: #222222;
  --bg-navbar-bottom: #2d2d2d;
  --bg-footer: #222222;

  --text-main: #f0f0f0;
  --text-muted: #aaaaaa;
  --border-color: #444444;

  --accent-color: #444444;
  --accent-hover: #555555;
  --btn-special: #c89b5c;
  --btn-special-hover: #a67c42;

  --sidebar-bg: #222222;
  --sidebar-text: #f0f0f0;
  --sidebar-hover: #444444;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.navbar {
  background-color: var(--bg-navbar);
  color: var(--text-main);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.hamburger-btn {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 24px;
  cursor: pointer;
  display: none;
}

.nav-btn-special {
  background-color: var(--btn-special);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s;
}
.nav-btn-special:hover {
  background-color: var(--btn-special-hover);
}

.navbar-bottom {
  background-color: var(--bg-navbar-bottom);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 5px 0;
}

.nav-categories-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: nowrap;
  scroll-behavior: smooth;
  margin: 0 auto;
  max-width: calc(100% - 60px);
}
.nav-categories-container::-webkit-scrollbar {
  display: none;
}

.nav-category-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: bold;
  padding: 10px 5px;
  transition: color 0.2s;
}
.nav-category-link:hover,
.nav-category-link.active {
  color: var(--btn-special);
}

.nav-scroll-btn {
  background: var(--bg-card);
  border: none;
  color: var(--text-main);
  font-size: 18px;
  cursor: pointer;
  padding: 5px 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: none;
}
.nav-scroll-left {
  left: 5px;
}
.nav-scroll-right {
  right: 5px;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}
.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  z-index: 1000;
  transition: left 0.3s ease-in-out;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
}
.sidebar-menu.active {
  left: 0;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidebar-header h3 {
  margin: 0;
}

.close-sidebar-btn {
  background: none;
  border: none;
  color: var(--sidebar-text);
  font-size: 20px;
  cursor: pointer;
}

.sidebar-item {
  display: block;
  padding: 15px 20px;
  color: var(--sidebar-text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s;
}
.sidebar-item:hover {
  background: var(--sidebar-hover);
}

.sidebar-subitem {
  display: block;
  padding: 12px 20px 12px 40px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition:
    background 0.2s,
    color 0.2s;
}
.sidebar-subitem:hover {
  background: var(--sidebar-hover);
  color: var(--sidebar-text);
}

.sidebar-btn {
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  margin: 0;
  cursor: pointer;
}
.toggle-icon {
  font-size: 12px;
  transition: transform 0.3s ease;
}
.toggle-icon.closed {
  transform: rotate(-90deg);
}

.feed-container {
  width: 85%;
  max-width: 1400px;
  margin: 40px auto;
}

#posts-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.post-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.post-card.clickable {
  cursor: pointer;
}
.post-card.clickable:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.post-card.clickable:hover .post-cover-img {
  transform: scale(1.05);
}

.post-cover-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-bottom: 1px solid var(--border-color);
}

.post-card-content {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
}

.post-date {
  font-size: 13px;
  color: var(--btn-special);
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.post-card-content h2 {
  font-size: 20px;
  color: var(--text-main);
  margin: 0;
  font-family: Georgia, serif;
  line-height: 1.4;
}

.images-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.images-grid img {
  max-width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 5px;
}

.video-player {
  max-width: 100%;
  max-height: 500px;
  border-radius: 5px;
  margin-top: 15px;
  outline: none;
}

.post-divider {
  border: 0;
  border-top: 1px solid #eee;
  margin: 20px 0 15px;
}

.vote-actions {
  display: flex;
  gap: 15px;
}

.vote-btn {
  cursor: pointer;
  padding: 8px 15px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  border-radius: 5px;
  transition: background 0.2s;
}

.vote-btn:hover {
  background: #eee;
}
.vote-btn.active-like {
  background-color: #0d6efd !important;
  color: white;
  border-color: #0d6efd !important;
}

.vote-btn.active-dislike {
  background-color: #dc3545 !important;
  color: white;
  border-color: #dc3545 !important;
}

.login-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
}

.login-page .login-box {
  margin: auto;
}

.login-page .site-footer {
  width: 100%;
  margin-top: auto;
}

.login-box {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--border-color);
}

.login-box h2 {
  text-align: center;
  margin-top: 0;
  color: var(--text-main);
  font-family: Georgia, serif;
}

.input-icon-group {
  position: relative;
  margin-bottom: 20px;
}

.input-icon-group i.icon-left {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
}

.input-icon-group i.icon-eye {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  transition: color 0.2s;
}
.input-icon-group i.icon-eye:hover {
  color: var(--accent-hover);
}

.login-box input[type="text"],
.login-box input[type="email"],
.login-box input[type="password"] {
  width: 100%;
  padding: 12px 15px 12px 45px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-sizing: border-box;
  background-color: transparent;
  color: var(--text-main);
  font-size: 15px;
  transition: border-color 0.3s;
}

.login-box input:focus {
  outline: none;
  border-color: var(--btn-special);
}

.btn-primary {
  background-color: var(--btn-special);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  padding: 12px;
  transition: background-color 0.2s;
}
.btn-primary:hover {
  background-color: var(--btn-special-hover);
}

.text-success {
  color: green;
}
.text-error {
  color: red;
}
.text-info {
  color: blue;
}

.mt-20 {
  margin-top: 20px;
}
.mb-15 {
  margin-bottom: 15px;
}
.mb-20 {
  margin-bottom: 20px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.checkbox-group input {
  width: auto;
  margin: 0 10px 0 0;
}
.checkbox-group label {
  font-size: 14px;
  cursor: pointer;
  font-weight: normal;
}

.link-primary {
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
}
.link-back {
  color: #6c757d;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

.text-center {
  text-align: center;
}

.hint-text {
  display: block;
  margin-top: -15px;
  margin-bottom: 15px;
  color: #666;
  font-size: 12px;
}

.message-box {
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
}

.font-bold {
  font-weight: bold;
}
.text-md {
  font-size: 16px;
}
.btn-full {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.form-label {
  font-size: 14px;
  color: #555;
  display: block;
  margin-bottom: 5px;
}

.login-box .btn-teal {
  background-color: #17a2b8;
  color: white;
}
.login-box .btn-teal:hover {
  background-color: #138496;
}

.login-box .btn-yellow {
  background-color: #ffc107;
  color: #333;
  font-weight: bold;
}
.login-box .btn-yellow:hover {
  background-color: #e0a800;
}

.input-full {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.btn-red {
  background-color: #dc3545;
  color: white;
  font-weight: bold;
  border: none;
}
.btn-red:hover {
  background-color: #c82333;
}
.btn-text {
  background: none;
  border: none;
  color: #007bff;
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
  padding: 0;
}
.text-left {
  text-align: left;
}
.d-none {
  display: none !important;
}
.d-block {
  display: block !important;
}

.danger-box {
  border-top: 5px solid #dc3545;
}
.danger-title {
  text-align: center;
  color: #dc3545;
  margin-bottom: 20px;
}
.danger-desc {
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}
.danger-warning-text {
  display: block;
  margin-bottom: 20px;
  color: #dc3545;
  font-weight: bold;
}
.link-danger {
  color: red;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

#display-email {
  background-color: transparent !important;
  color: var(--text-main) !important;
  border: none !important;
  padding: 0 !important;
}

.profile-page-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.profile-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.profile-page-header h2 {
  font-family: Georgia, serif;
  color: var(--text-main);
  margin: 0;
}

.profile-main-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.profile-avatar-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--btn-special);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  font-weight: bold;
  flex-shrink: 0;
}

.profile-user-details h3 {
  margin: 0 0 5px 0;
  color: var(--text-main);
  font-size: 20px;
}

.profile-user-details p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.profile-info-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.profile-input-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px 20px;
}

.profile-input-box label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.profile-input-box .info-value {
  font-size: 16px;
  color: var(--text-main);
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
}

.profile-btn {
  display: block;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  background: var(--bg-card);
  transition: all 0.2s;
}

.profile-btn:hover {
  background: var(--sidebar-hover);
  color: white;
  border-color: var(--sidebar-hover);
}

.profile-btn.danger {
  color: #dc3545;
  border-color: #dc3545;
}
.profile-btn.danger:hover {
  background: #dc3545;
  color: white;
}

.badge {
  font-size: 12px;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.badge-success {
  background-color: #d4edda;
  color: #155724;
}
.badge-warning {
  background-color: #fff3cd;
  color: #856404;
}

.box-md {
  max-width: 400px;
}
.text-sm {
  font-size: 14px;
}
.text-muted {
  color: #555;
}

.d-flex-center {
  display: flex;
  align-items: center;
}

.hamburger-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  margin-right: 15px;
  padding: 0;
}

.ml-15 {
  margin-left: 15px;
}

.toggle-icon.closed {
  transform: rotate(-90deg);
}

.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-btn {
  display: inline-block;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  transition:
    background 0.2s,
    color 0.2s;
}

.page-btn:hover:not(.disabled):not(.active) {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
}

.page-btn.active {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
  pointer-events: none;
}

.page-btn.disabled {
  background: #eee;
  color: #aaa;
  cursor: not-allowed;
  pointer-events: none;
}

.post-card.clickable {
  cursor: pointer;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.post-card.clickable:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.editor-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.editor-block {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  position: relative;
}

.block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.editor-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}

.btn-outline {
  background: transparent;
  border: 2px dashed #007bff;
  color: #007bff;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: #007bff;
  color: white;
}

.btn-remove-block {
  background: #ff4d4d;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}

.post-cover-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 15px;
}

.single-post-cover {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

#single-post-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.post-media-block {
  margin: 30px 0;
  text-align: center;
  width: 100%;
}

.post-media-block img,
.post-media-block video {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.media-meta {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
}

.post-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-main);
  width: 100%;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.cursor-pointer {
  cursor: pointer;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.dashboard-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  border-color: #007bff;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.dashboard-card h3 {
  margin-bottom: 10px;
  color: #333;
}

.post-card {
  padding: 20px;
}

.post-main-title {
  margin-bottom: 5px;
  margin-top: 10px;
  font-size: 2rem;
}

.share-divider {
  margin: 20px 0;
  opacity: 0.2;
}

.share-buttons-container {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-share {
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-share i {
  font-size: 18px;
}

.btn-whatsapp {
  background-color: #25d366;
}

.btn-facebook {
  background-color: #1877f2;
}

.btn-share:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.site-footer {
  background-color: var(--bg-footer);
  color: var(--text-main);
  padding: 40px 20px 20px;
  margin-top: 60px;
  border-top: 1px solid var(--border-color);
  font-family: Georgia, serif;
}

.footer-content {
  width: 85%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-section h3 {
  color: var(--footer-heading);
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-section p {
  color: var(--footer-text);
  line-height: 1.6;
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--footer-text);
  font-size: 13px;
  font-family: Arial, sans-serif;
}

.breadcrumbs {
  font-size: 14px;
  margin-bottom: 25px;
  color: var(--text-muted);
  font-family: Arial, sans-serif;
}
.breadcrumbs a {
  color: var(--btn-special);
  text-decoration: none;
  font-weight: bold;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}

.user-dropdown-container {
  position: relative;
  display: inline-block;
}
.user-dropdown-menu {
  position: absolute;
  top: 120%;
  right: 0;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
  transform: translateY(-10px);
  z-index: 100;
}
.user-dropdown-container.active .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-header {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
  font-weight: bold;
  color: var(--text-main);
  font-size: 14px;
}
.dropdown-item {
  padding: 12px 20px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  text-align: left;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}
.dropdown-item:last-child {
  border-bottom: none;
}
.dropdown-item:hover {
  background-color: var(--sidebar-hover);
}

.nav-bmac-link {
  margin-left: 15px;
  display: flex;
  align-items: center;
  transition: transform 0.2s;
}

.nav-bmac-link:hover {
  transform: scale(1.05);
}

.nav-bmac-img {
  height: 32px;
  width: auto;
  border-radius: 5px;
}

@media screen and (max-width: 1250px) {
  .hamburger-btn {
    display: block;
  }
  .navbar-bottom {
    display: none;
  }
  #user-menu-top {
    display: none !important;
  }

  .nav-bmac-link {
    display: none !important;
  }
}

@media screen and (min-width: 1251px) {
  #posts-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 4%;
  }

  .nav-container-inner,
  .nav-bottom-inner {
    width: 80%;
    padding: 0;
  }
}

@media screen and (min-width: 651px) and (max-width: 1250px) {
  .footer-content {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 !important;
  }
  .footer-left {
    width: 100%;
    margin-bottom: 40px;
  }
  .footer-center {
    width: 50%;
    text-align: center;
    border-right: 1px solid var(--border-color);
    padding-right: 20px;
    box-sizing: border-box;
  }
  .footer-right {
    width: 50%;
    text-align: center;
    padding-left: 20px;
    box-sizing: border-box;
  }
}

@media screen and (min-width: 1251px) {
  .footer-content {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 30px;
  }
  .footer-left {
    width: 40%;
    margin-bottom: 0;
  }
  .footer-center {
    width: 30%;
    text-align: center;
    border-right: none;
    padding-right: 0;
  }
  .footer-right {
    width: 25%;
    text-align: right;
    padding-left: 0;
  }
}

.admin-actions-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.btn-admin-edit,
.btn-admin-delete {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.2s ease;
  color: var(--text-main);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.btn-admin-edit:hover {
  background: #007bff;
  color: white;
  border-color: #007bff;
}
.btn-admin-delete:hover {
  background: #dc3545;
  color: white;
  border-color: #dc3545;
}

.single-post-admin-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  background: var(--bg-card);
  padding: 15px;
  border-radius: 8px;
  border: 1px dashed var(--border-color);
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 15px !important;
}

.navbar-top {
  padding-top: 1vh !important;
  padding-bottom: 1vh !important;
  min-height: 0 !important;
  height: auto !important;
}

.nav-left,
.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  z-index: 10;
}

.nav-right {
  justify-content: flex-end;
  gap: 15px;
}

.nav-center {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-center a {
  display: flex;
  justify-content: center;
  width: 100%;
}

.site-logo {
  width: 100%;
  max-width: 450px;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.nav-center a:hover .site-logo {
  transform: scale(1.02);
}

.logo-night {
  display: none !important;
}

[data-theme="dark"] .logo-day {
  display: none !important;
}

[data-theme="dark"] .logo-night {
  display: block !important;
}

.theme-toggle-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 35px !important;
  min-height: 35px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  font-size: 20px;
  transition: transform 0.2s;
}

.theme-toggle-btn:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .nav-center {
    flex: 0 0 60%;
  }
}

#cookie-consent-banner {
  position: fixed;
  bottom: -150px;
  left: 0;
  width: 100%;
  background-color: var(--bg-navbar);
  color: var(--text-main);
  padding: 20px;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: bottom 0.4s ease-in-out;
  border-top: 1px solid var(--border-color);
}

#cookie-consent-banner.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

.cookie-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

.btn-cookie {
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  font-size: 14px;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

.btn-cookie:hover {
  transform: scale(1.05);
}

.btn-cookie-accept {
  background-color: var(--btn-special);
  color: white;
}

.btn-cookie-refuse {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

@media screen and (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .cookie-text {
    flex: 1;
  }
}

.nav-container-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

.nav-bottom-inner {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.nav-container-inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  padding: 0 20px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

.navbar-bottom {
  padding: 2px 0 !important;
}

.nav-category-link {
  padding: 5px 10px !important;
  font-size: 14px !important;
}

@media screen and (min-width: 1251px) {
  .navbar-top .nav-container-inner {
    width: 98% !important;
    padding: 0 !important;
  }

  .navbar-bottom .nav-container-inner {
    width: 97% !important;
    padding: 0 !important;
  }
}

.icon-zi,
.icon-noapte {
  height: 32px;
  width: auto;
  transition: transform 0.2s ease;
}

.icon-noapte {
  display: none !important;
}

[data-theme="dark"] .icon-zi {
  display: none !important;
}
[data-theme="dark"] .icon-noapte {
  display: block !important;
}
