:root {
    --bg-clr: #E8F0FE;
    --bg-clr-hover: #c7d5ec;
    --green: #70a670;
    --green-hover: #618f61;
    --blue: #648FBB;
    --blue-hover: #5783af;
    --pink: #e1cdd9;
    --pink-hover: #d1b3c5;
    --yellow: #bd8b49;
    --hr-divider: #E6E6E6;
}
html {
  overflow-x: hidden;
  background-color: white;

}
p, 
label, 
.post-as-label,
.title-textarea, 
#editable,
.status,
.post-title,
.post-body p,
.when,
.bot,
.status.queued,
.btn,
.countdown,
.nowline span,
.comment-likecount,
.comment-date,
.author-badge,
.badge,
.role-tag,
.age,
.submitbutton,
#autoTA,
#when,
.schedule-btn,
.bot-item,
.reply-textbox-wr textarea,
.input-when,
#reply,
#edit,
#delete,
h2,
.sort-option,
.sort-option-2,
#today-str,
.cancelbutton,
h3,
.post-body,
.live-feed-btn-wr button,
.author-name,
.extra,
.post-info-box p,
.view-info-btn,
.post-info-row > *,
.gen-likes-btn,
.likes-controls >*,
.likes-row >*,
.likes-row-reset,
.comment-info-box > *,
.likes-row-reroll,
.likes-row-actions-time >*,
.likes-row-browse,
.gen-likes-comment-btn,
.view-comment-info-btn,
.index-btn,
.font,
.card-link,
.card-head h3,
.ny-tag,
.card-link-2,
.pending-content,
.pending-item a,
.deny-reply-wr textarea,
.deny-reply-template,
.pending-count-badge,
#pending-content-linkn
th,td, [scope="row"], [scope="col"],
.inline-statistics-item,
.inline-statistics-label,
.inline-statistics-value,
.inline-statistics,
#overtime-tooltip,
.kpi-help ul li,
#pending-content-link,
#card3 a,
#contact-link,
.admin-table th
{
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight:400;
  margin:0;
  color: var(--font-clr);
  line-height: 20px;
}
.random-bot-btn.schedule-btn:active{
  background-color: #9aa9c3;
}

.hr-divider{
    color: #4a23239e;
    z-index: 31;
    position: relative;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 100%;
    height: 2px;
    background-color: #E8F0FE;
    border: none;
}

.submitbutton:hover
{
  background-color: var(--green-hover);
  cursor: pointer;
}
.bot-item.selected:hover{
  background-color: var(--blue-hover);
  cursor: pointer;
}
.schedule-btn:hover,
.bot-item:hover
{
  background-color: var(--bg-clr-hover);
  cursor: pointer;
}
button {
  -webkit-tap-highlight-color: transparent; 
  -webkit-touch-callout: none; 
  cursor: pointer;             
}
img, svg, svg image, svg use {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

a:focus,
a:active {
  outline: none !important;
  box-shadow: none !important;
}

body{
    position: relative;
    overscroll-behavior: none;
    overflow: hidden; 
    margin: 0 auto;
    height: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-VariableFont_opsz,wght.ttf') format('woff2');
}

h1 {
  font-family: 'Segoe UI', sans-serif;  
  font-weight: 700;  
  font-size: 1.75rem;
  line-height: 1.25rem;
  margin:0;
  color: #333D42;
}
h2 {
  font-family: 'Segoe UI', sans-serif;  
  font-weight: 600;  
  font-size: 18px;
  margin:0;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
li {
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
  color: var(--font-clr);
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.main-content{
  margin-top: 63px;
  display: flex;  
  flex-direction: column;  
  gap: 10px;
  width: 435px;
  margin-left: auto;
  margin-right: auto;
  background-color: rgb(252, 252, 252);
}
.index-card{
  width: 100%;
  height: fit-content;
  background-color: var(--bg-clr);
  padding-top: 10px;
  padding-bottom: 10px;
  border: 1px solid rgb(123, 123, 123);
}
.drawer-login-form{
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 430px;
  margin-left: auto;
  margin-right: auto;
}
.drawer-login-form input, .login-submit{
  padding: 10px;
}
.drawer-login-form h1{
  text-align: center;
  margin-bottom: 10px;
}
#submit-as-wr{
  display: flex;
  flex-direction: column;
  gap: 15px;
}


.bot-item{
  border: none;
  background: var(--bg-clr);
  padding: 8px 14px 8px 13px;
  border-radius: 999px;
  color: rgb(0, 0, 0);
}
.bot-item.selected{
  border: none;
  background: var(--blue) ; 
  color: white;
  padding: 8px 14px 8px 13px;
  border-radius: 999px;
}
.submit{
  width: 100%;
}

.submitbutton{
    padding: 10px 10px 10px 10px;
    border: none;
    background: none;
    background-color: var(--green);
    border-radius: 999px;
    color: rgb(255, 255, 255);
    width: 100%;
    font-weight: 600;
}

.note{
  margin-top: 5px;
}

.page-title{
  margin-bottom: 10px;
  margin-top: 10px;
}

#bots-list{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border: 2px solid #dadada;
    border-radius: 12px 12px 12px 12px;
    padding: 10px;
}

.submit-as{
  font-weight: 600;
  background: none !important;
}

#when, .input-when{
  padding: 5px;
  width: fit-content;
}

.schedule-btn{
  border: none;
  background-color: var(--bg-clr);
  padding: 6px 14px 6px 14px;
  border-radius: 999px;

}

.schedule-at-wr{
  display: flex;
  flex-direction: column;
  width: fit-content;
  gap: 10px;
}

.published-comments-section{
  margin-top: 5px;
  order: 2;
}

#submit-as-button-wr, .submit-as-button-wr{
    pointer-events: none;  
}

.sort-option, .sort-option-2{
  border: none;
  background-color: var(--bg-clr);
  padding: 8px 14px 8px 14px;
  border-radius: 999px;
}

.sort-option.active, .sort-option-2.active{
  background-color: var(--blue);
  color: white;
}
.active{
    background-color: var(--blue) !important;
    color: white !important;
}
.deleted{
  pointer-events: none;
}

.published-posts-section, .pending-posts-section, .section-users-threads, .deleted-posts-section{
  border: 1px solid gray;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

#pending-threads-wr{
  gap: 15px;
}
.index-btn{
  border: none;
  background-color: var(--blue);
  padding: 8px 14px 8px 14px;
  border-radius: 999px;
  color: white;
  font-weight: 600;
}
#activity-content-wr{
  padding: 5px !important;
  gap: 0px !important;
}
.activity-item{
    border-top: 1px solid gray;
    border-bottom: 1px solid gray;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
}
.card-link{
 border: none;
  background-color: var(--blue);
  padding: 8px 14px 8px 14px;
  border-radius: 999px;
  color: white;
  font-weight: 600;
  display: inline-block;
  margin-left: 10px;
  margin-top: 10px;
}
.card-link-2{
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  margin-left: 10px;
}
.card-head{
  margin-bottom: 10px;
}
#index-btn-wr{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;  
}
.ny-tag{
    background-color: rgb(51, 162, 47);
    padding: 5px;
    font-weight: 600;
    color: white;
    border-radius: 999px; 
}
.pending-item.report{
  flex-direction: column !important;
}
.pending-count-badge, .contact-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  padding: 5px;
  font-size: 14px;
  line-height: 16px;
  border-radius: 999px;
  background: #b01616; /* red-ish */
  color: #fff;
  font-weight: 600;
}

.pending-count-badge.hidden {
  display: none;
}
#pending-content-link, #contact-link{
  margin-left: 10px;
  font-weight: 600;
}
.sort-menu-statistics{
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  gap: 10px;
}
.textxd {
  font-weight: 600 !important;
  margin-left: 10px !important;
  margin-bottom: 10px !important;
}

.main-content h1 {
  margin-bottom: 0.5rem;
}

.main-content > p {
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

/* Sections */

.admin-section {
  margin-top: 2rem;
}

.admin-section h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

/* Generic box */

.admin-box {
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle, #ddd);
  background: var(--surface, #fff);
}

/* Form rows */

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 600;
}

.form-row input[type="text"],
.form-row input[type="search"],
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle, #ccc);
  background: var(--input-bg, #fff);
  font: inherit;
  box-sizing: border-box;
}

.form-row textarea {
  resize: vertical;
  min-height: 2.4rem;
}

/* Buttons */

.form-row button,
.input-with-button button,
#ip-block-submit,
#user-search-btn {
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  background: var(--accent, var(--blue));
  color: #fff;
  transition: opacity 0.15s ease-out, transform 0.05s ease-out;
}

.form-row button:hover,
.input-with-button button:hover,
#ip-block-submit:hover,
#user-search-btn:hover {
  opacity: 0.9;
}

.form-row button:active,
.input-with-button button:active,
#ip-block-submit:active,
#user-search-btn:active {
  transform: translateY(1px);
}

/* Search input + button */

.input-with-button {
  display: flex;
  gap: 0.5rem;
}

.input-with-button input[type="search"] {
  flex: 1 1 auto;
}

.input-with-button button {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Help text */

#user-search-results .hint {
  font-size: 0.85rem;
  color: var(--text-muted, #777);
}

/* Table for user results */

#user-results-table {
  margin-top: 0.5rem;
}

#user-results-table th,
#user-results-table td {
  font-size: 0.85rem;
  vertical-align: top;
}

#user-results-table td:nth-child(4),
#user-results-table td:nth-child(6) {
  max-width: 150px;
  word-break: break-word;
}

/* Blocks grid (users + IPs) */

.blocks-grid {
  display: grid;
  grid-template-columns: 1fr; /* main-content is narrow (430px), keep one column */
  gap: 1rem;
  margin-top: 0.75rem;
}

.blocks-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

/* Lists for blocked users / IPs */

#blocked-users-list,
#blocked-ips-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 260px;
  overflow-y: auto;
}

.blocked-item {
  padding: 0.4rem 0.45rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle, #e0e0e0);
  background: var(--surface-alt, #fafafa);
  font-size: 0.85rem;
  line-height: 1.3;
}

.blocked-item-header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.blocked-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted, #777);
}

.blocked-item-reason {
  margin-top: 0.2rem;
}

/* “empty” messages */

#blocked-users-empty,
#blocked-ips-empty {
  font-size: 0.85rem;
  color: var(--text-muted, #777);
}

.first-tag-flagged{
    background-color: #8d0603 !important;
}
.views48-diff{
  color: white;
  background-color: rgb(14, 139, 14);
  border-radius: 50%;
  padding: 5px;
}
.views48-right{
  margin-top: 5px;
  margin-bottom: 5px;
}
.views48-list{
    display: flex;
    flex-direction: column;
    gap: 10px;
}