/*
Theme Name: StylishName
Theme URI: http://stylishname.org/
Author: Admin
Author URI: http://stylishname.org/
Description: A simple custom stylish name WordPress theme
Version: 1.0
License: GPL v2 or later
Text Domain: stylishname
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== LIGHT THEME (DEFAULT) ===== */
:root {
  --bg-body: #f8f7fc;
  --bg-card: #ffffff;
  --bg-card-alt: #f5f2fa;
  --bg-input: #ffffff;
  --bg-menu: #f8f7fc;
  --bg-scroll-btn: #f5f2fa;
  --bg-nav-btn: #ffffff;
  --bg-nav-btn-hover: #f0eef9;
  --bg-nav-btn-active: #6c5ce7;
  --bg-footer: #2d3436;
  --bg-dialog: #f8f7fc;
  --bg-comment: #ffffff;
  --bg-comment-textarea: #fafbfc;
  --bg-overlay: rgba(0, 0, 0, 0.5);
  
  --border-color: #e8e4f0;
  --border-hover: #c8bff0;
  --border-active: #6c5ce7;
  --border-input: #e8e4f0;
  --border-dark: #d8d0e4;
  
  --text-primary: #1a1a2e;
  --text-secondary: #4a3a6a;
  --text-muted: #3a3a52;
  --text-light: #555555;
  --text-placeholder: #aaa4c0;
  --text-footer: #dfe6e9;
  --text-footer-light: #b2bec3;
  
  --accent: #6c5ce7;
  --accent-hover: #5a52d5;
  --accent-light: #9287f7;
  --accent-gradient: linear-gradient(135deg, #6c5ce7, #a29bfe);
  
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-btn: 0 4px 15px rgba(108, 92, 231, 0.3);
  --shadow-dialog: 0 8px 32px rgba(108, 92, 231, 0.12);
  --shadow-comment: 0 2px 20px rgba(0, 0, 0, 0.08);
  --shadow-comment-hover: 0 4px 30px rgba(0, 0, 0, 0.12);
  
  --radius: 12px;
  --radius-full: 30px;
  
  --scrollbar-track: #f0eef9;
  --scrollbar-thumb: #d8d0e4;
  --scrollbar-thumb-hover: #c8bff0;
  
  /* Navigation menu colors */
  --nav-link-color: #333;
  --nav-link-hover: #007cba;
  --hamburger-color: #333;
}

/* ===== DARK THEME ===== */
.dark {
  --bg-body: #0f0e17;
  --bg-card: #1a1a2e;
  --bg-card-alt: #232342;
  --bg-input: #1a1a2e;
  --bg-menu: #0f0e17;
  --bg-scroll-btn: #232342;
  --bg-nav-btn: #1a1a2e;
  --bg-nav-btn-hover: #2a2a4a;
  --bg-nav-btn-active: #6c5ce7;
  --bg-footer: #0a0a14;
  --bg-dialog: #1a1a2e;
  --bg-comment: #1a1a2e;
  --bg-comment-textarea: #232342;
  --bg-overlay: rgba(0, 0, 0, 0.7);
  
  --border-color: #2a2a4a;
  --border-hover: #4a4a6a;
  --border-active: #6c5ce7;
  --border-input: #2a2a4a;
  --border-dark: #3a3a5a;
  
  --text-primary: #e8e4f0;
  --text-secondary: #c8c0d8;
  --text-muted: #aaa4c0;
  --text-light: #8a8aaa;
  --text-placeholder: #5a5a7a;
  --text-footer: #dfe6e9;
  --text-footer-light: #8a8aaa;
  
  --accent: #6c5ce7;
  --accent-hover: #8a7af7;
  --accent-light: #9287f7;
  --accent-gradient: linear-gradient(135deg, #6c5ce7, #8a7af7);
  
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-btn: 0 4px 15px rgba(108, 92, 231, 0.2);
  --shadow-dialog: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-comment: 0 2px 20px rgba(0, 0, 0, 0.3);
  --shadow-comment-hover: 0 4px 30px rgba(0, 0, 0, 0.4);
  
  --scrollbar-track: #1a1a2e;
  --scrollbar-thumb: #2a2a4a;
  --scrollbar-thumb-hover: #3a3a5a;
  
  --nav-link-color: #e8e4f0;
  --nav-link-hover: #6c5ce7;
  --hamburger-color: #e8e4f0;
}

/* ===== BASE ===== */
html {
  transition: background 0.3s ease;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  transition: background 0.3s ease, color 0.3s ease;
}

.post-meta {
  display: none;
}

/* ===== SCROLLBARS ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}
/* Main wrapper */
.wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 1350px;
    margin: 0 auto;
    gap: 10px;
}

.left-sec {
   width: 200px;
    flex-shrink: 0;
    flex-grow: 0;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}
.content-area {
    flex: 1;
    min-width: 0; /* Prevents overflow */
    order: 1;
}

/* Widget Area - Right Side with fixed width */
.widget-area {
    width: 300px;
    flex: 0 0 300px;
    order: 2;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

/* ===== INPUT SECTION ===== */
.input-main-sec {
  padding: 10px 0 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-body);
  transition: background 0.3s ease;
}

.input-sec {
  display: flex;
  gap: 10px;
  align-items: center;
}

.input {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.3s ease;
}

.input:focus-within {
  border-color: var(--accent);
}

#inputText {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 40px 12px 16px;
  font-size: 16px;
  color: var(--text-primary);
  outline: none;
  resize: none;
  min-height: 52px;
  font-family: inherit;
  text-align: center;
  transition: color 0.3s ease;
}

#inputText::placeholder {
  color: var(--text-placeholder);
}

#clearInput {
  position: absolute;
  right: 5px;
  top: 5px;
  background: transparent;
  border: none;
  color: var(--text-placeholder);
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
  font-weight: 700;
  display: none;
}

#clearInput:hover {
  color: var(--accent);
}

#inputCount {
  position: absolute;
  right: 12px;
  bottom: 5px;
  font-size: 12px;
  color: var(--text-placeholder);
  white-space: nowrap;
}

/* ===== MENU ===== */
.menu-wrapper {
  background: var(--bg-menu);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: background 0.3s ease;
}

.scroll-btn {
  background: var(--bg-scroll-btn);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
}

.scroll-btn:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.scroll-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.topMenu {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0;
  flex: 1;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.topMenu::-webkit-scrollbar {
  height: 4px;
}
.topMenu::-webkit-scrollbar-thumb {
  background: var(--border-dark);
  border-radius: 20px;
}
.topMenu::-webkit-scrollbar-track {
  background: transparent;
}

.nav-btn {
  background: var(--bg-nav-btn);
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
  flex-shrink: 0;
  touch-action: manipulation;
}

.nav-btn:hover {
  background: var(--bg-nav-btn-hover);
  border-color: var(--border-hover);
  color: var(--text-secondary);
}

.nav-btn.active {
  background: var(--bg-nav-btn-active);
  border-color: var(--border-active);
  color: #fff;
}
.nav-btn i {
  font-style: normal;
  margin-right: 4px;
}

/* ===== MAIN ===== */
main {
  margin: 20px 0;
}

/* ===== SHARE ===== */
.share {
  display: flex;
  justify-content: space-between;
}

/* ===== FONT RESIZE ===== */
.font-resize {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  justify-content: flex-end;
}

.font-resize button {
  background: var(--bg-scroll-btn);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
  touch-action: manipulation;
}

.font-resize button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

#fontResize {
  width: 120px;
  accent-color: var(--accent);
  cursor: pointer;
  background: var(--bg-input);
  transition: background 0.3s ease;
}

/* ===== SHARE URL ===== */
.share-url {
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.share-url label {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.share-url input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px 0 0 5px;
  font-size: 13px;
  height: 35px;
  background: var(--bg-input);
  color: var(--text-primary);
  outline: none;
  font-family: 'Courier New', monospace;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}

.share-url input:focus {
  border-color: var(--accent);
  background: var(--bg-card);
}

.share-url button {
  padding: 10px;
  background: var(--accent-light);
  color: #fff;
  border: none;
  border-radius: 0 15px 15px 0;
  cursor: pointer;
  font-size: 13px;
  height: 35px;
  font-weight: 500;
  transition: background 0.3s;
  white-space: nowrap;
}

.share-url button:hover {
  background: var(--accent-hover);
}

.share-url button:active {
  transform: scale(0.97);
}

/* ===== GRIDS ===== */
#fontslist,
#decoGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}

#decoGrid .font div {
  border-radius: var(--radius-full);
}

.font {
  display: flex;
  transition: all 0.15s;
  position: relative;
  justify-content: space-between;
  align-items: center;
}

.font:hover {
  border-color: var(--border-hover);
}

.font div {
  border-radius: var(--radius-full) 0 0 var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 1rem;
  font-weight: 500;
  width: 100%;
  padding: 10px 0 15px 0;
  color: var(--text-primary);
  margin: 0;
  white-space: pre-wrap;
  cursor: pointer;
  overflow: hidden;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.font div:hover {
  border-color: #d98a4c;
}

.font span {
  position: absolute;
  font-size: 10px;
  right: 10px;
  bottom: 5px;
  opacity: 0.6;
  user-select: none;
  color: var(--text-muted);
}

.font span i {
  color: #d98a4c;
}

span.alert {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-card);
  color: var(--accent);
  padding: 4px 8px;
  border-radius: var(--radius);
  font-size: 1rem !important;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: none;
}

.font button {
  background: var(--bg-card-alt);
  border: none;
  height: 100%;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  padding: 10px 14px 10px 7px;
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1.2;
  text-align: center;
  user-select: none;
}

.font button:hover {
  background: #000;
  color: #fff;
}

/* ===== LOAD MORE ===== */
.load-more-trigger {
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--border-color);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== CATEGORY NAME ===== */
.cat-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cat-name h2 {
  margin: 0;
  color: var(--text-secondary);
}
.cat-name span {
  color: var(--text-muted);
  font-size: 12px;
}

/* ===== BOTTOM MENU ===== */
.bottomMenu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 0;
}

.bottomMenu .nav-btn {
  background: var(--bg-scroll-btn);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}

.bottomMenu .nav-btn:hover {
  background: var(--bg-nav-btn-hover);
  border-color: var(--border-hover);
}

.bottomMenu .nav-btn.active {
  background: var(--bg-nav-btn-active);
  border-color: var(--border-active);
  color: #fff;
}

/* ===== HEADINGS ===== */
h2 {
  font-size: 22px;
  color: var(--text-secondary);
  margin: 30px 0 16px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  transition: color 0.3s ease;
}

/* ===== OTHER TOOLS ===== */
.otools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.otools a {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s;
}

.otools a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ===== INFO SECTION ===== */
.info {
  padding: 30px 0 20px;
}

.info h1 {
  font-size: 28px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  text-align: center;
  transition: color 0.3s ease;
}

.info p {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 15px;
  transition: color 0.3s ease;
}

.info img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 12px 0;
}

/* ===== TOP POINTS ===== */
.top-point ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 16px 0;
}

.top-point ul li {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 14px;
  transition: all 0.15s;
}

.top-point ul li:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.08);
}

/* ===== INFO DIV ===== */
.info-div {
  display: flex;
  gap: 24px;
  margin: 20px 0;
  align-items: flex-start;
}

/* ===== REGEN BUTTON ===== */
.regen {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
	.left-sec{
		display:none
	}
}
@media (max-width: 768px) {
	.wrapper {
    display: block;
}
	.widget-area{
		width:100%;
	}
  .brand a {
    font-size: 14px;
  }
  #bioIdeas {
    padding: 10px;
    font-size: 14px;
  }
  .menu-wrapper {
    gap: 4px;
  }
  .scroll-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  .topMenu .nav-btn {
    font-size: 12px;
    padding: 6px 12px;
  }
  #fontslist,
  #decoGrid {
    grid-template-columns: 1fr;
  }
  .info-div {
    flex-direction: column;
  }
  .info-div .image-box {
    flex: 0 0 auto;
    width: 100%;
  }
  .info h1 {
    font-size: 22px;
  }
  #fontResize {
    width: 100px;
  }
  .bottomMenu .nav-btn {
    font-size: 12px;
    padding: 6px 12px;
  }
  .otools a {
    font-size: 13px;
    padding: 8px 16px;
  }
}
.footer-bottom a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .font-resize {
    gap: 3px;
  }
  .brand a {
    font-size: 13px;
  }
  .topMenu .nav-btn {
    font-size: 11px;
    padding: 5px 10px;
  }
  #fontslist {
    grid-template-columns: 1fr;
  }
  .random-card-grid {
    grid-template-columns: 1fr;
  }
  .top-point ul {
    grid-template-columns: 1fr 1fr;
  }
  footer .inner {
    flex-direction: column;
    text-align: center;
  }
  .font p {
    font-size: 14px;
  }
  .info ul li {
    word-break: break-all;
  }
}

/* ===== DECO DIALOG ===== */
.deco-dialog {
  width: 500px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-dialog);
  border-radius: 16px 16px 0 0;
  box-shadow: var(--shadow-dialog);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.deco-dialog > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  background: var(--bg-card-alt);
  border-bottom: 2px solid var(--border-color);
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.deco-dialog > div:first-child strong {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 700;
}

#decoDialogClose {
  background: transparent;
  border: none;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  font-size: 18px;
  cursor: pointer;
  color: var(--accent);
  transition: background 0.2s;
}

#decoDialogClose:hover {
  background: rgba(108, 92, 231, 0.08);
}

.deco-layout-row {
  flex: 1;
  display: flex;
  flex-direction: row;
  min-height: 0;
  position: relative;
}

.deco-dialog .deco-layout-row {
  padding: 0 10px;
}

.deco-main {
  flex: 1;
  min-width: 0;
  overflow-y: visible;
}

#dialogList.deco-main {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 4px;
  min-width: 0;
}

#dialogList.deco-main::-webkit-scrollbar {
  width: 4px;
}
#dialogList.deco-main::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 20px;
}

#dialogList .deco-cards-container {
  overflow: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#dialogList .deco-cards-container::-webkit-scrollbar {
  display: none;
}

#dialogList .font {
  display: block;
  margin-bottom: 5px;
}
#dialogList .font div {
  border-radius: var(--radius-full);
}

.deco-loadmore-wrap {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.deco-loadmore-btn {
  background: var(--bg-scroll-btn);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 10px 50px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  margin-bottom: 30px;
  touch-action: manipulation;
  transition: all 0.15s;
}

.deco-loadmore-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* ===== VERTICAL MENU ===== */
.vmenu {
  flex: 0 0 auto;
  min-width: 90px;
  max-width: 130px;
  display: flex;
  flex-direction: column;
  padding: 6px 4px;
  position: sticky;
  top: 10px;
  align-self: flex-start;
  height: fit-content;
  max-height: calc(90vh - 200px);
  background: transparent;
  z-index: 5;
}

.mood-scroll-btn {
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--accent);
  font-size: 13px;
  padding: 6px 0;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1.4;
  touch-action: manipulation;
  transition: background 0.2s;
}

.mood-scroll-btn:hover:not(:disabled) {
  background: var(--bg-nav-btn-hover);
}
.mood-scroll-btn:disabled {
  opacity: 0.2;
  cursor: default;
}

.deco-mood-bar {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 4px 0;
}
.deco-mood-bar::-webkit-scrollbar {
  width: 3px;
}
.deco-mood-bar::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 20px;
}

.deco-mood-chip {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  padding: 9px 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  cursor: pointer;
  line-height: 1.3;
  flex-shrink: 0;
  touch-action: manipulation;
  transition: all 0.15s;
}

.deco-mood-chip:hover {
  background: var(--bg-nav-btn-hover);
  border-color: var(--border-hover);
  color: var(--text-secondary);
}

.deco-mood-chip.active {
  background: var(--bg-nav-btn-active);
  border-color: var(--border-active);
  color: #ffffff;
}

@media (max-width: 560px) {
  .deco-dialog {
    width: 100%;
  }
  .mood-scroll-btn {
    font-size: 12px;
  }
  #dialogList .font p {
    font-size: 12px;
  }
}

@media (max-width: 400px) {
  .vmenu {
    flex: 0 0 62px;
    min-width: 56px;
    max-width: 72px;
    padding: 4px 2px;
  }
  .deco-mood-chip {
    padding: 6px 2px;
    font-size: 9px;
  }
}


/* ===== HEADER ===== */
.site-header {
  background: var(--accent-gradient);
  padding: 5px 0;
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
  transition: background 0.3s ease;
}

.site-header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.site-branding a {
  display: block;
}

.site-branding img {
  max-height: 50px;
  width: auto;
  border-radius: 8px;
}
.site-branding {
       display: flex;
    align-items: center;
    gap: 5px;
}
#themeToggle {
    background: var(--accent-gradient);
    border: none;
    border-radius: 10px;
    font-size: 0.8rem;
    height: 30px;
    padding: 5px 8px;
    cursor: pointer;
    display: flex;
    color: var(--text-primary);
    align-items: center;
    justify-content: center;
    transition: all var(--t) var(--ease);
    -webkit-tap-highlight-color: transparent;
    font-family: var(--font-mono);
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 25px;
  transition: 0.3s;
  font-size: 15px;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
  backdrop-filter: blur(5px);
}

/* ===== CONTENT AREA ===== */


/* ===== MAIN NAV ===== */
.main-nav {
  position: relative;
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
}

.main-nav .nav-menu {
  display: flex !important;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.main-nav .nav-menu li a {
  text-decoration: none;
  color: var(--nav-link-color);
  padding: 10px 0;
  display: block;
  transition: color 0.3s ease;
}

.main-nav .nav-menu li a:hover {
  color: var(--nav-link-hover);
}

/* ===== RESPONSIVE NAV ===== */
@media (max-width: 768px) {
  .main-nav {
    justify-content: flex-end;
    padding: 10px 0;
  }
  
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1000;
    width: 44px;
    height: 44px;
  }
  
  .menu-toggle .hamburger {
    display: block;
    position: relative;
    width: 25px;
    height: 2px;
    background: var(--hamburger-color);
    transition: all 0.3s ease;
  }
  
  .menu-toggle .hamburger::before,
  .menu-toggle .hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: var(--hamburger-color);
    transition: all 0.3s ease;
    left: 0;
  }
  
  .menu-toggle .hamburger::before {
    top: -8px;
  }
  
  .menu-toggle .hamburger::after {
    bottom: -8px;
  }
  
  .menu-toggle.active .hamburger {
    background: transparent;
  }
  
  .menu-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .main-nav .nav-menu {
    display: none !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-card);
    padding: 80px 30px 30px;
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    z-index: 999;
    gap: 0;
  }
  
  .main-nav .nav-menu.active {
    display: flex !important;
    right: 0;
  }
  
  .main-nav .nav-menu li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
  }
  
  .main-nav .nav-menu li:last-child {
    border-bottom: none;
  }
  
  .main-nav .nav-menu li a {
    font-size: 18px;
    padding: 5px 0;
    color: var(--text-primary);
  }
  
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .menu-overlay.active {
    display: block;
    opacity: 1;
  }
}

/* ===== POST / ARTICLE ===== */
.post {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-card);
  margin-top: 30px;
  transition: background 0.3s, box-shadow 0.3s;
}

.post-header {
  margin-bottom: 25px;
}

.post-title {
  font-size: 32px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.post-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ===== BACK TO TOP ===== */
.to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
}

.to-top img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* ===== COMMENT BOX ===== */
.comment-respond {
  background: var(--bg-comment);
  border-radius: var(--radius);
  padding: 30px 35px 35px;
  box-shadow: var(--shadow-comment);
  margin: 30px 0;
  max-width: 100%;
  transition: all 0.3s ease;
}

.comment-respond:hover {
  box-shadow: var(--shadow-comment-hover);
}

.comment-reply-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

.comment-reply-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent-gradient);
}

.comment-reply-title small {
  font-size: 14px;
  font-weight: 400;
  margin-left: 15px;
}

#cancel-comment-reply-link {
  color: #ff6b6b;
  text-decoration: none;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

#cancel-comment-reply-link:hover {
  background: #fff0f0;
  color: #e74c3c;
}

.logged-in-as {
  background: var(--bg-card-alt);
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  border-left: 4px solid var(--accent);
}

.logged-in-as a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.logged-in-as a:hover {
  text-decoration: underline;
}

.required-field-message {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.required {
  color: #ff4757;
  font-weight: 600;
}

.comment-form-comment {
  margin-bottom: 20px;
}

.comment-form-comment label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 15px;
}

.comment-form-comment textarea {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  transition: all 0.3s ease;
  background: var(--bg-comment-textarea);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 120px;
}

.comment-form-comment textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1);
}

.comment-form-comment textarea::placeholder {
  color: var(--text-placeholder);
}

.form-submit {
  margin-top: 5px;
}

#submit {
  background: var(--accent-gradient);
  color: white;
  border: none;
  padding: 12px 35px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

#submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(108, 99, 255, 0.4);
}

#submit:active {
  transform: translateY(0);
}

#comment_post_ID,
#comment_parent,
#_wp_unfiltered_html_comment_disabled {
  display: none;
}

/* Sidebar Widget Container */
.sidebar-widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
}

/* Widget Title */
.sidebar-widget h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 15px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f2f5;
}

/* Recent Posts List - Inline display */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* Space between items */
}

.recent-posts-list li {
    margin: 0;
    padding: 0;
    display: inline-block;
}

/* Links - Chip/Button style */
.recent-posts-list a {
    color: #2d3436;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    padding: 6px 14px;
    background: #f0f2f5;
    border-radius: 20px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    white-space: nowrap; /* Prevents text from wrapping */
}

.recent-posts-list a:hover {
    background: #6c63ff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

/* ===== RESPONSIVE COMMENT ===== */
@media (max-width: 768px) {
  .comment-respond {
    padding: 20px;
    border-radius: 8px;
  }
  .comment-reply-title {
    font-size: 20px;
  }
  .comment-reply-title::after {
    width: 40px;
  }
  .comment-form-comment textarea {
    padding: 12px 15px;
    font-size: 14px;
    min-height: 100px;
  }
  #submit {
    width: 100%;
    padding: 14px;
    font-size: 15px;
  }
  .logged-in-as {
    font-size: 13px;
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .comment-respond {
    padding: 15px;
    margin: 15px 0;
  }
  .comment-reply-title {
    font-size: 18px;
  }
  .comment-reply-title small {
    display: block;
    margin-left: 0;
    margin-top: 8px;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-footer);
  color: var(--text-footer);
  margin-top: 50px;
  transition: background 0.3s, color 0.3s;
}

.site-footer .wrapper {
  padding-top: 40px;
  padding-bottom: 20px;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-widget-area h2,
.footer-widget-area .wp-block-heading {
  color: #fff;
  font-size: 18px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-widget-area ul {
  list-style: none;
}

.footer-widget-area ul li {
  margin-bottom: 8px;
}

.footer-widget-area ul li a {
  color: var(--text-footer-light);
  text-decoration: none;
  transition: 0.3s;
}

.footer-widget-area ul li a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 5px;
  text-align: center;
  font-size: 14px;
  color: var(--text-footer-light);
}


/* name list */
/* ============================================
   NLV FRONTEND STYLES
   ============================================ */

/* Empty State */
.nlv-empty {
    text-align: center;
    color: #999;
    padding: 20px 0;
}

/* Main Container */
.nlv-frontend {
    margin: 20px 0;
}

/* Header */
.nlv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dcdcde;
    flex-wrap: wrap;
    gap: 8px;
}

.nlv-title {
    font-size: 15px;
    font-weight: 600;
    color: #1d2327;
}

.nlv-count-badge {
    font-size: 12px;
    color: #8c8f94;
    background: #f0f0f1;
    padding: 2px 10px;
    border-radius: 12px;
}

.nlv-add-front {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 4px 14px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    line-height: 2;
    min-height: 30px;
}

.nlv-add-front:hover {
    background: #135e96;
}

/* Add Form */
.nlv-add-form {
    display: none;
    margin: 8px 0;
}

.nlv-add-form-inner {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.nlv-add-input {
    flex: 1;
    min-width: 160px;
    padding: 4px 10px;
    border: 1px solid #8c8f94;
    border-radius: 3px;
    font-size: 13px;
    background: #fff;
    line-height: 2;
    min-height: 30px;
}

.nlv-add-submit {
    padding: 4px 14px;
    border: 1px solid #2271b1;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    background: #2271b1;
    color: #fff;
    line-height: 2;
    min-height: 30px;
}

.nlv-add-submit:hover {
    background: #135e96;
}

.nlv-add-cancel {
    padding: 4px 14px;
    border: 1px solid #8c8f94;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    background: #f0f0f1;
    line-height: 2;
    min-height: 30px;
}

.nlv-add-cancel:hover {
    background: #dcdcde;
}

.nlv-add-msg {
    display: none;
    margin-top: 6px;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 13px;
}

/* Items Container */
.nlv-items-container {
   display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-radius: 4px;
    min-height: 40px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

/* Individual Item */
.nlv-item {
     display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    gap: 2px;
    font-size: 13px;
    transition: all 0.15s;
    flex-direction: column;
    min-width: 110px;
    min-height: 55px;
    justify-content: flex-end;
}

.nlv-item:hover {
    border-color: #2271b1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.nlv-item div{
	position:relative
}

.nlv-item-name {
    font-family: 'Segoe UI', 'Arial Unicode MS', sans-serif;
    font-weight: 500;
    color: #1d2327;
       padding: 5px;
}

.nlv-item-controls {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: #f0f0f1;
    border-radius: 12px 12px 0 0;
    padding: 1px 4px;
}

/* Vote Buttons */
.nlv-front-up,
.nlv-front-down {
    background: none;
    border: none;
    cursor: pointer;
    padding: 1px 5px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 3px;
    transition: all 0.15s;
    line-height: 1.4;
    opacity: 0.6;
}

.nlv-front-up {
    color: #28a745;
}

.nlv-front-down {
    color: #dc3545;
}

.nlv-front-up:hover,
.nlv-front-down:hover {
    transform: scale(1.1);
    opacity: 1 !important;
}

.nlv-front-up.active {
    background: #28a745;
    color: #fff;
    border-radius: 50%;
    opacity: 1;
}

.nlv-front-down.active {
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    opacity: 1;
}

/* Count Display */
.nlv-front-count {
    font-weight: 700;
    font-size: 14px;
    min-width: 20px;
    text-align: center;
    color: #2271b1;
}

/* Pagination */
.nlv-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #dcdcde;
}

.nlv-page-btn {
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    padding: 4px 14px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    line-height: 2;
    min-height: 30px;
}

.nlv-page-btn:hover {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

.nlv-page-info {
    color: #8c8f94;
    font-size: 13px;
}

/* Toast Notification */
.nlv-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-width: 300px;
    animation: nlvSlideIn 0.3s ease;
}

@keyframes nlvSlideIn {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 480px) {
    .nlv-item {
        font-size: 12px;
    }
    
  
    
    .nlv-front-up,
    .nlv-front-down {
        font-size: 12px;
        padding: 1px 3px;
    }
    
    .nlv-front-count {
        font-size: 12px;
        min-width: 16px;
    }
}
