body{
  background-color: #ebebeb !important;
}

form.disabled {
    opacity: 0.5; /* Reduces visibility for disabled state */
    pointer-events: none; /* Prevents interaction */
    cursor: not-allowed; /* Shows the not-allowed cursor */
    filter: grayscale(50%); /* Adds a visual indicator by desaturating */
    transition: opacity 0.3s ease, filter 0.3s ease; /* Smooth transition for better UX */
}

.avatar-size {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    object-fit: cover;
}
.main-content .post-item .post-single-box .avatar::before, .header-menu .single-item.profile-area::before, .main-content .profile-sidebar .profile-pic .avatar::before{
  display:none !important;
}

.note-toolbar {
    width:100% !important;
}

/* General Table Styling */
.note-editor table {
    width: 100%; /* Full width within the editor */
    border-collapse: collapse; /* Merge adjacent borders */
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .note-editor table th,
  .note-editor table td {
    border: 1px solid #ccc; /* Light gray border */
    padding: 8px; /* Spacing inside cells */
    text-align: left; /* Align text to the left */
  }

  .note-editor table th {
    background-color: #f4f4f4; /* Slightly different background for headers */
    font-weight: bold;
  }

  .note-editor table tr:nth-child(even) {
    background-color: #fafafa; /* Subtle row striping */
  }

  .note-editor table tr:hover {
    background-color: #f1f1f1; /* Highlight on hover */
  }

  /* Ensure editor area maintains styling consistency */
  .note-editor {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
  }



h1 {
  font-size: 2.5rem !important;
  line-height: 3rem !important;
}
h2 {
  font-size: 2rem !important;
  line-height: 2.5rem !important;
}
h3 {
  font-size: 1.75rem !important;
  line-height: 2.25rem !important;
}
h4 {
  font-size: 1.5rem !important;
  line-height: 2rem !important;
}
h5 {
  font-size: 1.25rem !important;
  line-height: 1.75rem !important;
}
h6 {
  font-size: 1rem !important;
  line-height: 1.5rem !important;
}

/* Tables, always show outlines at 0.5px */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

.hover-pointer, a {
    cursor: pointer !important;
}

/* Timeline post status and time styling */
.mdtxt.status {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.mdtxt.time-ago {
    font-size: 0.875rem;
    color: #999;
    font-weight: 400;
    margin-left: 0.5rem;
}

.mdtxt.status a {
    color: #666 !important;
    text-decoration: none !important;
}

.mdtxt.status a:hover {
    color: #007bff !important;
    text-decoration: underline !important;
}

.province-uppercase {
    text-transform: uppercase;
}

/* Post text card styling */
.post-text-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.post-text-card-body {
  padding: 16px 18px;
}

.post-text-card .mdtxt {
  margin-bottom: 8px;
}

.post-text-card .description {
  margin: 0;
  color: #333;
  line-height: 1.6;
}

/* Fancy Delete Button */
.fancy-delete-btn {
  background: linear-gradient(135deg, #ff4d4f 0%, #d9363e 100%);
  color: #fff !important;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 24px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.fancy-delete-btn .icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.fancy-delete-btn:hover {
  background: linear-gradient(135deg, #ff5f61 0%, #e0464e 100%);
  box-shadow: 0 4px 10px rgba(217,54,62,0.4);
  transform: translateY(-2px);
}

.fancy-delete-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.fancy-delete-btn .material-symbols-outlined {
  font-size: 16px;
  line-height: 1;
}

.fancy-delete-btn .label {
  letter-spacing: 0.5px;
}

.fancy-delete-btn:focus {
  outline: 2px solid rgba(255,255,255,0.5);
  outline-offset: 2px;
}

/* Ensure comment body text is black in post view */
.comments-area .single-comment-area .title-area p,
.comments-area .single-comment-area .title-area p.mdtxt,
.comments-area .single-comment-area p.mdtxt,
.comments-area .single-comment-area p {
  color: #000 !important;
}