   body {
            background-color: #f0f2f5;
        }
       
html, body{
    overflow-x:hidden !important;
    max-width:100%;
}
        .container {
            margin-top: 20px;
        }
/* Paragraph */

p {
    font-size: 15px;
    line-height: 1.6;
    color: #232629;
    margin-top: 0;
    margin-bottom: 1.1em;
    word-break: break-word;
}
.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
/* Bold */

strong,
b {
    font-weight: 600;
}

a {
    text-decoration: none;
}
/* Blockquote */

blockquote {
    margin: 16px 0;
    padding: 0 16px;
    border-left: 4px solid #d6d9dc;
    color: #525960;
    background: transparent;
}

blockquote p {
    margin: 0.8em 0;
}

/* Lists */

ul,
ol {
    margin-top: 0;
    margin-bottom: 1.1em;
    padding-left: 30px;
}

li {
    margin-bottom: 8px;
    line-height: 1.6;
}
.category-link{
    color:#6366f1;
    text-decoration:none;
    font-weight:500;
    font-size:12px;
}

.category-link:hover{
    text-decoration:underline;
}

.timestamp{
    color:#9ca3af;
}
.error-msg
{
    font-size: 10px;
}
          /* Fixed & Integrated Premium CSS */
   .header {
    /* Changed height to min-height */
    min-height: 65px; 
    background: #fff;
    padding: 5px 10px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Use flex-wrap to allow items to move to next line nicely */
    flex-wrap: wrap; 
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
    .logo-img {
        height: 30px;
    }

    .menu {
        display: flex;
        align-items: center;
        gap: 5px !important;
    }

    .nav-link {
        color: #6b7280;
        text-decoration: none;
        font-weight: 500;
        margin: 0 10px;  
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .nav-link i {
        font-size: 15px;
        opacity: 0.75; 
        transition: 0.3s;
    }

    .nav-link:hover {
        color: #6366f1;
    }

    .nav-link.active {
        color: #6366f1 !important;
        font-weight: 600;
    }

    /* ASK BUTTON (SYNCED PADDING) */
    .btn-ask {
        background: linear-gradient(135deg, #6366f1, #8b5cf6);
        color: #fff !important;
        padding: 8px 16px; /* Increased padding for better look */
        border-radius: 8px;
        font-weight: 500;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: 0.3s;
        border: none;
        white-space: nowrap; /* Prevents text wrapping */
    }

    .btn-ask:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(99, 102, 241, 0.3);
    }

    /* Fixed Search Container Breakpoint */
    .search-container {
        width: 300px;
    }

    .search-bar {
        width: 100%;
        padding-right: 40px;
        border-radius: 20px;
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
    }

    #customDropdownMenu {
        display: none;
        position: absolute;
        right: 0;
        top: 100%;
        min-width: 180px;
        background: white;
        border-radius: 8px;
        overflow: hidden;
        z-index: 1050;
    }
    
    .nav-item.dropdown:hover #customDropdownMenu {
        display: block;
    }

#customDropdownMenu {
    margin-top: 0;
}


    /* Medium screen specific adjustment to prevent overlap */
    @media (max-width: 1100px) and (min-width: 768px) {
        .search-container { width: 180px; }
        .nav-link { margin: 0 5px; font-size: 14px; }
    }
    .login-link{
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:#374151 !important;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    transition:.2s ease;
    padding:4px 0;
}

.login-link i{
    font-size:14px;
    opacity:.8;
}

.login-link:after{
    content:'';
    position:absolute;
    left:0;
    bottom:-2px;
    width:0;
    height:2px;
    background:#6c4df6;
    border-radius:10px;
    transition:.25s ease;
}

.login-link:hover{
    color:#6c4df6 !important;
}

.login-link:hover:after{
    width:100%;
}

        .card {
            margin-bottom: 20px;
        }
       
        .timestamp {
            font-size: 0.9em;
            color: gray;
        }
         .timestamp_comment {
            font-size: 0.6em;
        }
        .comment_timestamp
        {
              font-size: 0.7em;
        }
       
        .comment-section {
            margin-top: 10px;
        }
        .add_comment, .reply {
            font-size: 13px;
            cursor: pointer;
            color: blue;
        }
        .comment-textarea, .reply-textarea {
            display: none;
            margin-top: 10px;
        }
      
        .search-bar {
            width: 100%;
            padding-right: 40px;
        }
        .search-icon {
            position: absolute;
            right: 10px;
            color: gray;
        }
        .mobile-search {
            display: none;
        }
        .header-buttons {
            display: flex;
            align-items: center;
        }
        .header-buttons button {
            margin-left: 8px;
        }
        .mobile-menu, .mobile-search-bar {
    display: none; 
}
        .mobile-menu {
            display: none;
            position: absolute;
            top: 60px;
            left: 0;
            width: 100%;
            background: white;
            padding: 10px;
            border-bottom: 1px solid #ddd;
            z-index: 1000;
        }
       .mobile-menu a {
    display: block;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    color: #000;
    transition: all 0.3s ease; 
}

/* hover effect */
.mobile-menu a:hover {
    background-color: #f2f2f2;  
    color: #ff6600;            
}


        /* Mobile Search Bar */
        .mobile-search-bar {
            display: none;
            position: absolute;
            top: 60px;
            left: 0;
            width: 100%;
            background: white;
            padding: 10px;
            border-bottom: 1px solid #ddd;
            z-index: 1000;
        }
        .mobile-search-bar input {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }
        /* Reset Bootstrap toggler focus */
.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* Ensure mobile elements are above content */
.mobile-menu, .mobile-search-bar {
    position: absolute;
    width: 100%;
    z-index: 1000;
}


        /* Mobile View */
        @media (max-width: 768px) {
            .navbar-toggler {
                display: block;
            }
            .menu {
                display: none !important;
            }
           
            .mobile-search {
                display: block;
                background: none;
                border: none;
                font-size: 1.2rem;
                cursor: pointer;
                padding: 5px;
                border-radius: 5px;
            }
        }

       /* ===== TOP QUESTIONS PREMIUM ===== */

/* ===== TOP QUESTIONS PREMIUM (FINAL) ===== */

.topq-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Header */
.topq-header {
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
    display: flex;
    align-items: center;
    gap: 6px;
}

.topq-header i {
    color: #f59e0b;
}

/* List */
.topq-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Item */
.topq-list li {
    border-bottom: 1px solid #f1f1f1;
}

.topq-list li:last-child {
    border-bottom: none;
}

/* Link (MAIN FLEX) */
.topq-list li a {
    display: flex;
    justify-content: space-between;  /* 🔥 key for left/right */
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    text-decoration: none;
    color: #374151;
    font-size: 13px;
    transition: 0.25s;
}

/* LEFT SIDE */
.topq-left {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

/* RIGHT SIDE */
.topq-right {
    text-align: right;
    min-width: 20px;
}

/* Views */
.topq-views {
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.2;
}

.topq-views small {
    display: block;
    font-size: 9px;
    font-weight: 400;
    color: #9ca3af;
}

/* Hover */
.topq-list li a:hover {
    background: #f9fafb;
    color: #6366f1;
}

/* Icon */
.topq-icon i {
    font-size: 12px;
    opacity: 0.6;
}
.topq-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== CARD ===== */
    .question-list
    {
        padding: 10px;
    }

.qa-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: 0.25s ease;
    overflow: hidden;
}

.qa-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* ===== LEFT STATS ===== */
.qa-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 70px;
}





.qa-answer {
    background: #e5e7eb;
}

/* GREEN ANSWER BOX */
.qa-answer.has-answer {
    background: #d1fae5;
    color: #065f46;
}

/* ===== TITLE ===== */
.qa-title a {
    font-size: 16px;
    font-weight: 600;
    color: #4f46e5;
    text-decoration: none;
}

.qa-title a:hover {
    text-decoration: underline;
}

.qa-tags{
    margin-top:6px;
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}
.qa-tags .tag:nth-child(2){
    background:#e0f2fe;
    color:#0284c7;
}
.qa-tags .tag:nth-child(3){
    background:#dcfce7;
    color:#16a34a;
}
.qa-tags .tag:nth-child(4){
    background:#f3f4f6;
    color:#374151;
}
.qa-tags .tag{
    background:#eef2ff;
    color:#4f46e5;
    padding:4px 10px;
    border-radius:6px;
    font-size:11px;
    font-weight:500;
    text-decoration:none;
    transition:0.2s;
}

/* hover effect */
.qa-tags .tag:hover{
    background:#6366f1;
    color:#fff;
}

/* ===== USER ===== */
.qa-user {
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
}

/* ===== RIGHT STATUS ===== */
.qa-status {
    margin-left: auto;
    text-align: right;
}

.status {
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* COLORS */
.status.answered {
    color: #16a34a;
}

.status.asked {
    color: #f97316;
}

.qa-status small {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    margin-top: 2px;
}
.qa-user{
    font-size:12px;
    color:#6b7280;
    display:flex;
    align-items:center;
    gap:6px;
    margin-top:6px;
}

.qa-user i{
    font-size:12px;
    opacity:0.7;
}

/* username link */
.qa-user-link{
    color:#374151;
    text-decoration:none;
  
    transition:0.2s;
}

/* hover effect */
.qa-user-link:hover{
    color:#6366f1;
}

/* points */
.qa-points{
    font-size:11px;
    color:#9ca3af;
}
/* ===== WRAPPER CARD ===== */
.qa-wrapper {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    overflow: hidden;
}

/* HEADER */
.qa-wrapper-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.qa-wrapper-header h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: #111827;
}


.user-dropdown-toggle{
    display:flex;
    align-items:center;
    text-decoration:none;
    padding:6px 10px;
    border-radius:12px;
    transition:.2s ease;
}

.user-dropdown-toggle:hover{
    background:#f5f7fb;
}

.user-avatar{
    width:34px;
    height:34px;
    object-fit:cover;
    border-radius:50%;
    border:2px solid #eef2ff;
}

.user-name{
    color:#111827;
    font-size:14px;
    font-weight:600;
}

.user-arrow{
    font-size:11px;
    color:#6b7280;
    transition:.2s ease;
}

.user-dropdown-toggle:hover .user-arrow{
    transform:rotate(180deg);
}

.user-dropdown-menu{
    border:none;
    padding:10px;
    margin-top:10px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}
        

.accepted-answer {
  border-left: 5px solid #2ecc71;
  background: #f6fffa;
}

.accepted-holder {
  margin-bottom: 6px;
}

.accepted-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-size: 13px;
  font-weight: 500;
  color: #2f855a;              /* professional green */
  
  background: #f0fff4;         /* soft green background */
  border: 1px solid #c6f6d5;
  border-radius: 4px;

  padding: 4px 8px;
  line-height: 1.2;
}

/* ===== BUTTON ===== */
.accept-btn {
  background: none;
  color:#888383;
  border: none;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 13px;
  display: inline-flex;         
  align-items: center;
  gap: 6px;          
}

.accept-btn[data-mode="unaccept"] {
  color: #e74c3c;
}
.btn-loader{
    width:14px;
    height:14px;
    border:2px solid #000;
    border-top:2px solid transparent;
    border-radius:50%;
    display:inline-block;
    animation:spin 0.6s linear infinite;
}

@keyframes spin{
    0%{transform:rotate(0deg)}
    100%{transform:rotate(360deg)}
}

        .related-questions {
            margin-top: 20px;
            font-size: 0.9rem;
        }
        
        @media (max-width: 768px) {
            .left-sidebar { display: none; }
            .middle-column { width: 100%; }
            .right-sidebar { display: none; }
        }
        
        .question-title {
    width: 100%;
    text-align: left;
    font-size: 24px; /* Default size for desktop */
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
    .question-title {
        font-size: 22px;
    }
}

/* Small screens (phones) */
@media (max-width: 768px) {
    .question-title {
        font-size: 20px;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .question-title {
        font-size: 18px;
    }
}

.author-title
{
    font-size: 12px;
}

.question-title a
{
    color: #333;
    text-decoration: none;
    font-weight: 500;
}
.view-number {
  font-size: 11px;
  font-weight: 500;
}

.view-text {
  font-size: 9px;
  margin-left: 2px;
  text-transform: lowercase;
}
.navbar-nav a {
text-decoration: none;
    color: #000;
    font-size: 15px;
  text-decoration: none;
  padding: 1px 3px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.navbar-nav a:hover {
color: #ff9800;
}


       

        .question-content {
            flex-grow: 1;
        }
        .question-content h5 a {
            text-decoration: none;
            color: #1972d2;
        }
.question-content h5 a:hover {
    color: #ff9800;
}


        .timestamp a
        {
 text-decoration: none;
        }
        .pagination {
            justify-content: center;
        }
        .left-sidebar, .right-sidebar {
            display: block;
        }
        .left-sidebar a, .right-sidebar a {
            text-decoration: none;
           
            color: black;
            transition: color 0.3s;
        }
        .left-sidebar a:hover, .right-sidebar a:hover {
            color: #ff9800;
        }
            
         .question-content a {
            text-decoration: none;
        }

      
        @media (max-width: 768px) {
            .left-sidebar{
                display: none;
            }
        }
        
.login-container2 {
            max-width: 400px;
            margin: 60px auto;
            padding: 30px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        }

 .login-container {
            max-width: 600px;
            margin: 60px auto;
            padding: 30px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        }
        .login-container h4 {
            margin-bottom: 20px;
            font-weight: 600;
        }
        .captcha-img {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 120px;
            height: 40px;
            background: #343a40;
            color: white;
            font-weight: bold;
            border-radius: 5px;
        }
        .btn-login {
            background-color: #007bff;
            color: white;
            width: 100%;
        }
        .auth-links {
            text-align: center;
            margin-top: 15px;
        }
        .auth-links a {
            text-decoration: none;
            color: #007bff;
            font-weight: 500;
        }
        
        .message {
  padding: 5px;
  border-radius: 10px;
  font-size: 14px;
   border: 2px solid #ffd6d6; 
   background: #fff5f5;  
     color: #a40000;   
}
img {
                    max-width: 100%;
                    height: auto;
                }
                /* ===== VOTE BOX (ROUNDED STYLE) ===== */
.vote-box {
    border: 1px solid #e4e6e8;
    border-radius: 14px;
    text-align: center;
    padding: 6px;
}

/* top / middle / bottom spacing */
.vote-box .vote-btn,
.vote-box i {
    display: block;
    width: 100%;
    font-size: 18px;
    color: #6c757d;
    cursor: pointer;
}

/* hover effect */
.vote-box .vote-btn:hover i,
.vote-box i:hover {
    color: #0d6efd;
}

/* vote count */
.vote-count {
    font-size: 16px;
    font-weight: 600;
    margin: 6px 0;
}

/* remove button default */
.vote-btn {
    background: none;
    border: none;
    padding: 0;
}

/* disabled state */
.vote-btn[disabled] i {
    color: #ccc;
    cursor: not-allowed;
}

                .btn-vote {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit; 
  font-size: 18px;
}

.btn-vote:disabled {
  cursor: not-allowed;
  opacity: 0.5; 
}

.highlighted {
  background-color: #fffb91; 
  transition: background-color 2s ease; 
}
.faded {
    opacity: 0.5;           
    transition: opacity 0.3s ease; 
}
.faded:hover {
    opacity: 0.7; 
}
.captcha-img img
{
max-width: none;
}


.qa-c-list-item-change,
.qa-c-list-item {
    border-radius: 6px;
    padding: 5px 10px;
}

/* default background */
.qa-c-list-item {
    background: #fafafb;
}

/* hover effect */
.qa-c-list-item-change:hover,
.qa-c-list-item:hover {
    background: #f1f2f3;
}
.username
{
    font-size: 10px;
}
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}
.custom-modal-content {
    background: #fff;
    margin: 12% auto;
    padding: 25px;
    border-radius: 10px;
    max-width: 420px;
    position: relative;
}
.custom-close {
    position: absolute;
    right: 12px;
    top: 10px;
    font-size: 20px;
    cursor: pointer;
}
.trigger_popup_fricc
{
cursor: pointer;
}

.d-none{display:none;}
.message-content {
  font-size: 13px;
}
h1, .h1 {
    font-size: 1.8rem;      /* Question title */
    font-weight: 600;
    line-height: 1.35;
}

h2, .h2 {
    font-size: 1.4rem;      /* Answer sections */
    font-weight: 600;
}

h3, .h3 {
    font-size: 1.2rem;      /* Sub-sections */
    font-weight: 600;
}

h4, .h4 {
    font-size: 1.05rem;     
    font-weight: 600;
}

h5, .h5 {
    font-size: 0.95rem;
    font-weight: 600;
}

h6, .h6 {
    font-size: 0.85rem;
    font-weight: 600;
}
.category-header{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:10px;
}

.category-image{
  width:64px;
  height:64px;
  object-fit:cover;
  border-radius:8px;
  border:1px solid #e5e7eb;
}

.category-header h3{
  font-size:20px;
  font-weight:600;
}

.category-header p{
  font-size:14px;
  line-height:1.5;
}
.stats-cube{
  border-radius:14px;
  overflow:hidden;
  border:1px solid #e5e7eb;
  background:#fff;
}

/* Grid */
.stats-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
}

.qa-footer{
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

/* TEXT */
.footer-text{
    font-size:14px;
    color:#64748b;
}

/* COPYRIGHT */
.footer-copy{
    font-size:13px;
    color:#94a3b8;
}

/* LINKS */
.footer-links a{
    text-decoration:none;
    color:#64748b;
    font-size:13px;
    margin:0 6px;
    transition:0.2s;
}

.footer-links a:hover{
    color:#0d6efd;
}

.footer-links span{
    color:#cbd5e1;
}

/* SOCIAL BUTTONS */
.social-btn{
    width:40px;
    height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#e2e8f0;
    color:#334155;
    text-decoration:none;
    transition:0.25s;
    font-size:15px;
}

.social-btn:hover{
    transform: translateY(-2px);
    color:#fff;
}

/* PLATFORM COLORS */
.social-btn.fb:hover{ background:#1877f2; }
.social-btn.tw:hover{ background:#1da1f2; }
.social-btn.ig:hover{ background:#e1306c; }
.social-btn.yt:hover{ background:#ff0000; }

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: #fff;
  color: #444;
  border: 1px solid #ddd;
  border-radius: 6px;

  padding: 10px 16px;
  font-weight: 500;
  font-size: 14px;

  text-decoration: none;
  transition: 0.3s;
}

.google-btn:hover {
  background: #f7f7f7;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.google-icon {
  width: 18px;
  height: 18px;
}

/* BADGE */
.cat-count {
    background: #eef2ff;
    color: #6366f1;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 500;
}
.tag-item{
    display:inline-flex;
    align-items:center;
    padding:6px 10px;
    margin:4px;
    border-radius:20px;
    background:#f1f3f5;
    color:#333;
    font-size:11px;
    text-decoration:none;
  
}

.tag-item i{
    font-size:8px;
    color:#666;
}

.tag-item:hover{
    background:#0d6efd;
    color:#fff;
}

.tag-item:hover i{
    color:#fff;
}
.tag-item:hover{
    color:#fff !important;
}
.qa-breadcrumb {
    font-size: 12px;
    color: #8a9196;
}
.qa-breadcrumb a {
    color: #0074cc;
    text-decoration: none;
}
.qa-breadcrumb span {
    margin: 0 5px;
}
.qa-breadcrumb .current {
    color: #3b4045;
}
.qa-meta {
    font-size: 12px;
    color: #6c757d;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.meta-item i {
    font-size: 11px;   /* bigger and clearer */
     color: #a3a3a3;
}

.meta-sep {
    margin: 0 8px;
    color: #9aa0a6;
    font-size: 14px;
}

.qa-meta a {
    color: #0074cc;
    text-decoration: none;
}

.qa-meta a:hover {
    text-decoration: underline;
}
/* ===== ANSWER BUTTON ===== */
.answer-wrapper {
    text-align: right;
    margin-top: 10px;
}

.answer-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0074cc;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.answer-btn i {
    font-size: 14px;
}

.answer-btn:hover {
    color: #0a95ff;

}
.comment-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6f42c1;   /* 🔥 purple like image */
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.comment-btn i {
    font-size: 14px;
}

.comment-btn:hover {
    color: #59359c;   /* slightly darker on hover */
}
.share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* base style */
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: 0.2s;
}

/* individual colors */
.share-facebook { background: #1877f2; }
.share-twitter { background: #1da1f2; }
.share-whatsapp { background: #25d366; }
.share-copy { background: #6c757d;  border: none;}

/* hover */
.share-btn:hover {
    opacity: 0.9;
    color: #fff;
}
.vote-section {
    margin-top: 5px;
}
.qa-post section {
    margin-bottom: 10px;
}
hr.qa-divider {
    margin: 20px 0;
    border-top: 1px solid #e4e6e8;
}
.qa-vote, .qa-answer {
    text-align: center;
    border-radius: 8px;
    padding: 6px;
    font-size: 12px;
}

.qa-vote {
    background: #f3f4f6;
}

.qa-answer {
    background: #e5e7eb;
}

/* GREEN ANSWER BOX */
.qa-answer.has-answer {
    background: #d1fae5;
    color: #065f46;
}
/* =====================================================
   PAGINATION
===================================================== */

.pagination{
    gap:6px;
    flex-wrap:wrap;
}

.pagination .page-item .page-link{
    border:none;
    min-width:40px;
    height:40px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;

    font-size:14px;
    font-weight:600;

    color:#4b5563;
    background:#fff;

    border:1px solid #e5e7eb;

    transition:all .2s ease;
}

/* HOVER */
.pagination .page-item .page-link:hover{
    background:#f3f4f6;
    color:#111827;
    transform:translateY(-1px);
}

/* ACTIVE */
.pagination .page-item.active .page-link{
    background:#6366f1;
    border-color:#6366f1;
    color:#fff;
    box-shadow:0 4px 10px rgba(99,102,241,.25);
}

/* DISABLED */
.pagination .page-item.disabled .page-link{
    background:#f9fafb;
    color:#9ca3af;
    border-color:#f1f5f9;
    cursor:not-allowed;
}

/* PREV/NEXT */
.pagination .page-link{
    padding:0 14px;
}

/* MOBILE */
@media(max-width:576px){

    .pagination{
        justify-content:center;
        gap:5px;
    }

    .pagination .page-item .page-link{
        min-width:36px;
        height:36px;
        font-size:13px;
        border-radius:8px;
    }

}
.login-answer-box{
    display:flex;
    align-items:center;
    gap:10px;

    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:10px;

    padding:14px 16px;
    margin-top:12px;

    font-size:14px;
    color:#475569;
}

.login-answer-box i{
    color:#6366f1;
    font-size:15px;
}

.login-answer-box a{
    color:#4f46e5;
    font-weight:600;
    text-decoration:none;
}

.login-answer-box a:hover{
    text-decoration:underline;
}
.answer-heading{
    font-size:24px;
    font-weight:600;
    color:#1f2937;

    margin-top:30px;
    margin-bottom:14px;
}
.vote-loader{
    width:20px;
    height:20px;
    object-fit:contain;
}
   .text-mute
{
    color: #ccc !important;
}

.page-section{
    padding:50px 0;
}

.page-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:35px;
}

.page-title{
    font-size:34px;
    font-weight:700;
    color:#111827;
    margin-bottom:10px;
}

.page-subtitle{
    font-size:15px;
    color:#6b7280;
    margin-bottom:30px;
}

.page-content{
    font-size:16px;
    line-height:1.9;
    color:#374151;
}

.page-content p{
    margin-bottom:18px;
}

.page-content h2{
    font-size:22px;
    font-weight:700;
    margin-top:35px;
    margin-bottom:15px;
    color:#111827;
}

.page-highlight{
    background:#f8fafc;
    border-left:4px solid #0d6efd;
    padding:18px;
    border-radius:10px;
    margin:25px 0;
}

@media(max-width:768px){

    .page-card{
        padding:22px;
    }

    .page-title{
        font-size:28px;
    }

    .page-content{
        font-size:15px;
    }

}
.search-warning{
    background:#fff8e5;
    border:1px solid #f3d98b;
    color:#8a6d1d;
    padding:12px 15px;
    border-radius:10px;
    font-size:14px;
    display:flex;
    align-items:center;
    margin-top:15px;
}

pre {
    background: #0f172a;
    color: #e2e8f0;
    padding: 16px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.7;
    border: 1px solid #1e293b;
}

pre code {
    font-family: Consolas, Monaco, monospace;
    white-space: pre-wrap;
    word-break: break-word;
    display: block;
}

/* PHP / HTML tags */
.language-php .tag,
.language-html .tag {
    color: #38bdf8;
}

/* Attributes */
.language-php .attr,
.language-html .attr {
    color: #facc15;
}

/* Values */
.language-php .value,
.language-html .value {
    color: #86efac;
}

/* Comments */
.language-php .comment,
.language-html .comment {
    color: #94a3b8;
    font-style: italic;
}
 
/* =========================
   MOBILE VIEW
========================= */

@media (max-width: 768px) {

    .qa-card {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px;
    }

    .qa-stats {
        width: 80px;
    }

    .qa-content {
        flex: 1;
        min-width: 0;
    }

    .qa-title a {
        font-size: 17px;
        line-height: 1.45;
    }

    .qa-status {
        width: 100%;
        text-align: left;
        border-top: 1px solid #f1f5f9;
        padding-top: 10px;
        margin-top: 4px;
    }

    .qa-status small {
        display: inline-block;
        margin-right: 12px;
    }

    .qa-user {
        font-size: 13px;
    }

    .qa-tags .tag {
        font-size: 12px;
        padding: 4px 9px;
    }

    .qa-vote strong,
    .qa-answer strong {
        font-size: 16px;
    }

}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

    .qa-card {
        padding: 12px;
        border-radius: 12px;
    }

    .qa-title a {
        font-size: 15px;
    }

    .qa-stats {
        width: 72px;
    }

    .qa-vote,
    .qa-answer {
        padding: 8px 6px;
    }

    .qa-vote span,
    .qa-answer span {
        font-size: 12px;
    }

    .qa-user {
        font-size: 12px;
    }

    .qa-status {
        font-size: 12px;
    }

}
 /* MOBILE FIX */
@media (max-width: 450px){

.author-title{
    flex-direction: column;
    align-items: flex-start !important;
    gap: 6px;
}

.author-title .timestamp{
    margin-left: 38px !important;
    color: #6b7280;
}

.author-title a{
    word-break: break-word;
}

.author-title span{
    color: #6b7280;
}

.avatar{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

}

/* MOBILE */
@media(max-width:768px){

    .author-title{
        align-items:flex-start;
    }

    .timestamp{
        width:100%;
        padding-left:46px;
    }

}



/* ========================================= CKEDITOR IMAGE LOADER ========================================= */ #cke-upload-loader{ position: fixed; top: 20px; right: 20px; z-index: 999999; background: #111827; color: #fff; padding: 12px 18px; border-radius: 12px; display: none; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); font-size: 14px; font-weight: 500; } .cke-upload-spinner{ width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.25); border-top-color: #fff; border-radius: 50%; animation: ckeSpin 0.7s linear infinite; } @keyframes ckeSpin{ to{ transform: rotate(360deg); } }