.user-questions-hero {
    background: linear-gradient(135deg, rgba(18, 83, 235, 0.92), rgba(18, 181, 223, 0.92));
    position: relative;
}

.user-questions-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("https://cdn.knowledgedunia.com/static-img/patterns/hex.svg") center/cover;
    opacity: 0.15;
}

.user-questions-hero .bannerimg {
    padding-top: 110px;
    padding-bottom: 80px;
}

.user-questions-hero .bannerimg h1 {
    font-size: 48px;
    font-weight: 700;
}

.user-questions-hero .bannerimg p {
    font-size: 18px;
    opacity: 0.9;
}

.uq-hero-content {
    position: relative;
    margin-top: -120px;
    padding-bottom: 40px;
    z-index: 2;
}

.uq-hero-inner {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
    padding: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.uq-hero-copy {
    flex: 1 1 320px;
}

.uq-hero-copy h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.uq-hero-copy p {
    color: #475569;
    line-height: 1.6;
    font-size: 16px;
}

.uq-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.uq-hero-actions .btn-gradient {
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.35);
}

.uq-hero-actions .btn-outline-white {
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    color: #0f172a;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 600;
}

.uq-hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    flex: 1 1 260px;
}

.uq-stat-card {
    background: linear-gradient(135deg, rgba(18, 83, 235, 0.08), rgba(18, 181, 223, 0.08));
    border-radius: 18px;
    padding: 20px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.uq-stat-card span {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 6px;
}

.uq-stat-card strong {
    font-size: 28px;
    color: #0f172a;
}

.user-questions-shell {
    padding-top: 30px;
    padding-bottom: 60px;
}

.uq-filter-card,
.uq-side-card,
.question-card-modern,
.question-detail-card,
.answer-card-modern {
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.uq-filter-card {
    padding: 24px;
}

.uq-filter-card form .modern-input {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 12px 14px;
    font-size: 15px;
}

.uq-pill-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.uq-pill-tabs a {
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: #475569;
}

.uq-pill-tabs a.active {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.25);
}

.question-card-modern {
    padding: 28px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}

.question-card-votes {
    width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.vote-chip {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vote-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.question-card-body {
    flex: 1;
}

.question-card-title a {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.question-card-title a:hover {
    color: #2563eb;
}

.question-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #475569;
}

.question-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.question-tag {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    background: #f1f5f9;
    color: #0f172a;
}

.question-tag.urgent {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.question-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.question-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #0f172a;
}

.uq-side-card {
    padding: 24px;
    margin-bottom: 20px;
}

.uq-side-card h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.uq-stat-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
    font-size: 14px;
}

.uq-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.uq-tag-cloud a {
    padding: 6px 14px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 600;
}

.question-detail-shell {
    padding: 40px 0 80px;
}

.question-detail-header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(236, 72, 153, 0.08));
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
}

.question-detail-header h1 {
    font-size: 30px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.question-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: #475569;
}

.question-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.question-meta-chip {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.question-meta-chip i {
    color: #2563eb;
}

.question-quick-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.question-quick-metric {
    background: #fff;
    border-radius: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
}

.question-quick-metric span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    display: block;
    margin-bottom: 4px;
}

.question-quick-metric strong {
    font-size: 22px;
    color: #0f172a;
}

.question-detail-card {
    padding: 30px;
    margin-bottom: 24px;
}

.question-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #1e293b;
}

.answer-card-modern {
    padding: 24px;
    margin-bottom: 18px;
}

.best-answer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.answer-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.question-detail-sidebar .uq-side-card {
    border: none;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.cta-gradient-card {
    background: linear-gradient(135deg, #f97316, #fb7185);
    color: #fff;
    padding: 28px;
    border-radius: 24px;
    box-shadow: 0 25px 45px rgba(249, 115, 22, 0.35);
    text-align: center;
}

.cta-gradient-card .btn-white {
    background: #fff;
    color: #0f172a;
    border-radius: 999px;
    padding: 10px 24px;
    font-weight: 700;
}

.question-answer-empty {
    border: 1px dashed rgba(15, 23, 42, 0.2);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    background: #fff;
}

@media (max-width: 991.98px) {
    .user-questions-hero .bannerimg h1 {
        font-size: 34px;
    }
    .uq-hero-inner {
        padding: 24px;
    }
    .question-card-modern {
        flex-direction: column;
    }
    .question-card-votes {
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
    }
    .question-card-votes .vote-chip {
        width: 38px;
        height: 38px;
    }
    .question-detail-card {
        padding: 24px;
    }
    .question-quick-metrics {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 575.98px) {
    .user-questions-hero .bannerimg {
        padding-bottom: 40px;
    }
    .uq-hero-actions {
        flex-direction: column;
    }
    .question-card-modern {
        padding: 22px;
    }
    .question-detail-header {
        padding: 20px;
    }
    .question-detail-shell {
        padding: 30px 0 60px;
    }
    .question-detail-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    .question-meta-chips {
        gap: 6px;
    }
}

