* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #222;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 18px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    color: #111827;
    text-decoration: none;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #374151;
}

.btn-register {
    background: #111827;
    color: white;
    padding: 9px 15px;
    border-radius: 6px;
}

main {
    min-height: 80vh;
    padding-top: 40px;
    padding-bottom: 40px;
}

.site-footer {
    background: #111827;
    color: white;
    padding: 25px 0;
    text-align: center;
}

.ask-question {
    max-width: 750px;
    margin: 0 auto;
    background: #ffffff;
    padding: 35px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.ask-question h1 {
    margin-bottom: 10px;
}

.ask-question p {
    color: #6b7280;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.ask-question button {
    background: #111827;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.ask-question button:hover {
    opacity: 0.9;
}

.message {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.auth-box {
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    padding: 35px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.auth-box h1 {
    margin-bottom: 10px;
}

.auth-box p {
    color: #6b7280;
    margin-bottom: 25px;
}

.auth-box button {
    background: #111827;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.questions-page {
    padding-bottom: 40px;
}

.questions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.questions-header h1 {
    margin-bottom: 5px;
}

.questions-header p {
    color: #6b7280;
}

.ask-button,
.view-button {
    display: inline-block;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
}

.ask-button {
    background: #111827;
    color: white;
}

.questions-list {
    display: grid;
    gap: 20px;
}

.question-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 25px;
}

.question-card h2 {
    margin-bottom: 12px;
    font-size: 22px;
}

.question-content {
    color: #4b5563;
    margin-bottom: 20px;
}

.question-meta {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 20px;
}

.view-button {
    background: #f3f4f6;
    color: #111827;
}

.empty-state {
    background: white;
    padding: 50px;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.empty-state p {
    color: #6b7280;
    margin: 10px 0 20px;
}

.question-view {
    max-width: 850px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #374151;
    text-decoration: none;
}

.question-detail {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 30px;
}

.question-detail h1 {
    font-size: 30px;
    margin-bottom: 15px;
}

.question-full-content {
    font-size: 17px;
    line-height: 1.8;
    margin-top: 25px;
}

.vote-section,
.comments-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 25px;
    margin-top: 20px;
}

.vote-section h2,
.comments-section h2 {
    margin-bottom: 8px;
}

.vote-section p,
.comments-section p {
    color: #6b7280;
    margin-bottom: 20px;
}

.vote-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.vote-btn {
    border: none;
    padding: 12px 18px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 15px;
}

.believe {
    background: #dcfce7;
    color: #166534;
}

.doubt {
    background: #fee2e2;
    color: #991b1b;
}

.unsure {
    background: #fef3c7;
    color: #92400e;
}

.vote-results {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.vote-results div {
    background: #f9fafb;
    padding: 10px 15px;
    border-radius: 6px;
}

.comments-list {
    margin-top: 30px;
}

.comment-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 15px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-header strong {
    color: #111827;
}

.comment-header span {
    color: #6b7280;
    font-size: 13px;
}

.comment-card p {
    color: #374151;
    margin: 0;
    white-space: normal;
}

.evidence-section {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 25px;
    margin-top: 20px;
}

.evidence-section h2 {
    margin-bottom: 8px;
}

.evidence-section > p {
    color: #6b7280;
    margin-bottom: 20px;
}

.evidence-section form {
    margin-top: 20px;
}

.evidence-section input,
.evidence-section textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
}

.evidence-section input:focus,
.evidence-section textarea:focus {
    outline: none;
    border-color: #111827;
}

.evidence-list {
    margin-top: 30px;
}

.evidence-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.evidence-card h3 {
    margin-bottom: 10px;
    color: #111827;
}

.evidence-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: #6b7280;
    font-size: 13px;
}

.evidence-card p {
    color: #374151;
}

.evidence-source {
    margin-top: 15px;
}

.evidence-source a {
    color: #2563eb;
    text-decoration: none;
}

.evidence-source a:hover {
    text-decoration: underline;
}

.ask-question select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    background: #ffffff;
}

.ask-question select:focus {
    outline: none;
    border-color: #111827;
}

.question-category {
    display: inline-block;
    background: #eef2ff;
    color: #3730a3;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
}

.profile-page {
    max-width: 900px;
    margin: auto;
}

.profile-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.profile-card h1 {
    margin-bottom: 20px;
}

.profile-info p {
    margin-bottom: 10px;
    color: #374151;
}

.my-questions {
    margin-top: 20px;
}

.my-questions > h2 {
    margin-bottom: 20px;
}

.categories-filter {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.categories-filter h2 {
    font-size: 18px;
    margin-bottom: 15px;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-filter-button {
    display: inline-block;
    background: #eef2ff;
    color: #3730a3;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.2s;
}

.category-filter-button:hover {
    background: #3730a3;
    color: #ffffff;
}

.search-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.search-box form {
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
}

.search-box input:focus {
    outline: none;
    border-color: #111827;
}

.search-box button {
    background: #111827;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
}

.search-box button:hover {
    opacity: 0.9;
}

.search-result-message {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    color: #374151;
}

.search-result-message strong {
    color: #111827;
}

.search-box select {
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    background: #ffffff;
}

.search-box select:focus {
    outline: none;
    border-color: #111827;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pagination-button {
    display: inline-block;
    padding: 9px 14px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
}

.pagination-button:hover {
    background: #f3f4f6;
}

.pagination-button.active {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

.report-question {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.report-button {
    background: transparent;
    color: #b91c1c;
    border: 1px solid #fecaca;
    padding: 9px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.report-button:hover {
    background: #fef2f2;
}

#report-form {
    margin-top: 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}

#report-form h3 {
    margin-bottom: 15px;
}

#report-form select,
#report-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    background: #ffffff;
}

#report-form select:focus,
#report-form textarea:focus {
    outline: none;
    border-color: #111827;
}

.report-login-message {
    margin-top: 20px;
    color: #6b7280;
}

.admin-dashboard {
    padding-bottom: 40px;
}

.admin-header {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.admin-header h1 {
    margin-bottom: 8px;
}

.admin-header p {
    color: #6b7280;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 25px;
}

.admin-stat-card h3 {
    color: #6b7280;
    font-size: 15px;
    margin-bottom: 10px;
}

.admin-stat-card strong {
    font-size: 32px;
    color: #111827;
}

.admin-menu {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 25px;
}

.admin-menu h2 {
    margin-bottom: 20px;
}

.admin-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.admin-menu-card {
    display: block;
    text-decoration: none;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    color: #111827;
}

.admin-menu-card:hover {
    background: #f3f4f6;
}

.admin-menu-card h3 {
    margin-bottom: 8px;
}

.admin-menu-card p {
    color: #6b7280;
}


/* MOBILE */

@media (max-width: 768px) {

    .admin-stats {
        grid-template-columns: 1fr 1fr;
    }

    .admin-menu-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 500px) {

    .admin-stats {
        grid-template-columns: 1fr;
    }

}

/* ADMIN PAGES */

.admin-page {
    padding-bottom: 40px;
}

.admin-page-header {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.admin-page-header h1 {
    margin-bottom: 8px;
}

.admin-page-header p {
    color: #6b7280;
}

.admin-back-button {
    display: inline-block;
    background: #111827;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
}

.admin-table-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px 18px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.admin-table th {
    background: #f9fafb;
    color: #374151;
    font-size: 14px;
}

.admin-table td {
    color: #374151;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.role-admin {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.role-user {
    display: inline-block;
    background: #f3f4f6;
    color: #374151;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}


/* MOBILE */

@media (max-width: 700px) {

    .admin-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-table th,
    .admin-table td {
        white-space: nowrap;
    }

}

.status-published {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-pending {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-closed {
    display: inline-block;
    background: #fee2e2;
    color: #991b1b;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.admin-view-button {
    display: inline-block;
    background: #111827;
    color: #ffffff;
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 13px;
}

.admin-view-button:hover {
    opacity: 0.9;
}

.admin-reports-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-report-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 25px;
}

.admin-report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.admin-report-header div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-report-header span {
    color: #6b7280;
    font-size: 13px;
}

.admin-report-section {
    margin-top: 20px;
}

.admin-report-section strong {
    color: #111827;
}

.admin-report-section p {
    margin-top: 6px;
    color: #374151;
}

.admin-reported-content {
    margin-top: 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}

.admin-reported-content h3 {
    margin: 10px 0 15px;
}

.admin-reported-content p {
    margin-top: 10px;
    color: #374151;
}

.admin-report-date {
    margin-top: 20px;
    color: #6b7280;
    font-size: 13px;
}

.report-status-pending,
.report-status-reviewed,
.report-status-resolved,
.report-status-dismissed {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.report-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.report-status-reviewed {
    background: #dbeafe;
    color: #1e40af;
}

.report-status-resolved {
    background: #dcfce7;
    color: #166534;
}

.report-status-dismissed {
    background: #f3f4f6;
    color: #374151;
}


@media (max-width: 600px) {

    .admin-report-header {
        align-items: flex-start;
        flex-direction: column;
    }

}

.admin-comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-comment-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 25px;
}

.admin-comment-header {
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.admin-comment-header div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-comment-header strong {
    color: #111827;
}

.admin-comment-header span {
    color: #6b7280;
    font-size: 13px;
}

.admin-comment-content {
    margin-top: 20px;
}

.admin-comment-content p {
    color: #374151;
    white-space: normal;
}

.admin-comment-question {
    margin-top: 20px;
    padding: 18px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.admin-comment-question p {
    margin: 8px 0 15px;
    color: #374151;
}

.admin-action-button {
    border: none;
    padding: 7px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
}

.make-admin {
    background: #dcfce7;
    color: #166534;
}

.make-admin:hover {
    background: #bbf7d0;
}

.remove-admin {
    background: #fee2e2;
    color: #991b1b;
}

.remove-admin:hover {
    background: #fecaca;
}

.current-admin {
    color: #6b7280;
    font-size: 13px;
    font-weight: bold;
}

.admin-report-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;

    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-report-actions strong {
    margin-right: 5px;
    color: #374151;
}

.admin-report-actions form {
    margin: 0;
}

.report-action-button {
    border: none;
    padding: 8px 13px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
}

.reviewed-button {
    background: #dbeafe;
    color: #1e40af;
}

.reviewed-button:hover {
    background: #bfdbfe;
}

.resolved-button {
    background: #dcfce7;
    color: #166534;
}

.resolved-button:hover {
    background: #bbf7d0;
}

.dismissed-button {
    background: #f3f4f6;
    color: #374151;
}

.dismissed-button:hover {
    background: #e5e7eb;
}

.admin-delete-comment-form {
    display: inline-block;
    margin-top: 12px;
}

.admin-delete-comment-form button {
    cursor: pointer;
}

.comment-report-details {
    margin-top: 12px;
}

.comment-report-button {
    display: inline-block;
    cursor: pointer;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 600;
}

.comment-report-button:hover {
    text-decoration: underline;
}

.comment-report-details .report-form {
    margin-top: 12px;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

.comment-report-details label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 600;
}

.comment-report-details select,
.comment-report-details textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-sizing: border-box;
}


/* =========================================
   HIZEWE PROFILE DASHBOARD
========================================= */

.profile-page {
    width: 100%;
    margin: 30px auto;
}


/* PROFILE COVER */

.profile-cover {
    width: 100%;
    height: 210px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #172033;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.default-cover {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 5px;
    background: linear-gradient(
        135deg,
        #111827,
        #334155,
        #0f172a
    );
}


/* PROFILE HEADER */

.profile-header-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background: white;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    margin-bottom: 25px;
}

.profile-avatar {
    width: 125px;
    height: 125px;
    min-width: 125px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar span {
    color: white;
    font-size: 52px;
    font-weight: 800;
}

.profile-main-info {
    flex: 1;
}

.profile-main-info h1 {
    margin: 0 0 6px;
    font-size: 28px;
    color: #111827;
}

.profile-email,
.profile-location,
.profile-created {
    margin: 5px 0;
    color: #64748b;
    font-size: 14px;
}

.profile-bio {
    margin: 14px 0;
    color: #334155;
    line-height: 1.6;
}

.empty-bio {
    font-style: italic;
    color: #94a3b8;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* STATISTICS */

.profile-statistics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    padding: 25px 15px;
    text-align: center;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #2563eb;
}

.stat-label {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 14px;
}


/* SECTION HEADING */

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.section-heading h2 {
    margin: 0;
    color: #111827;
}

.small-action-button {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    background: #2563eb;
    font-size: 14px;
    font-weight: 600;
}


/* QUESTION STATUS */

.question-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.question-status {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.status-pending {
    color: #92400e;
    background: #fef3c7;
}

.status-published {
    color: #166534;
    background: #dcfce7;
}

.status-closed {
    color: #374151;
    background: #e5e7eb;
}


/* MOBILE RESPONSIVE */

@media (max-width: 768px) {

    .profile-header-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 18px;
    }

    .profile-actions {
        width: 100%;
    }

    .profile-actions a {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .profile-main-info h1 {
        font-size: 24px;
    }

    .profile-statistics {
        gap: 10px;
    }

    .stat-card {
        padding: 20px 8px;
    }

    .stat-number {
        font-size: 25px;
    }

    .stat-label {
        font-size: 12px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-cover {
        height: 150px;
    }

    .profile-avatar {
        width: 105px;
        height: 105px;
        min-width: 105px;
    }

}

/* =========================================
   HIZEWE PROFILE - LAYOUT FIX
========================================= */

.profile-page {
    width: 100%;
    max-width: 1100px;
    margin: 35px auto;
}

/* COVER */

.profile-cover {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #172033;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.default-cover {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111827, #334155);
    color: white;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 5px;
}

/* PROFILE HEADER */

.profile-header-card {
    position: relative;
    display: grid;
    grid-template-columns: 130px 1fr auto;
    align-items: center;
    gap: 25px;

    width: 100%;
    box-sizing: border-box;

    padding: 30px;

    background: #ffffff;
    border-radius: 0 0 18px 18px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);

    margin-bottom: 25px;
}

/* PROFILE PHOTO */

.profile-avatar {
    width: 125px;
    height: 125px;

    border-radius: 50%;
    overflow: hidden;

    background: #1e293b;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 5px solid #ffffff;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar span {
    color: white;
    font-size: 50px;
    font-weight: 800;
}

/* PROFILE INFORMATION */

.profile-main-info {
    min-width: 0;
}

.profile-main-info h1 {
    margin: 0 0 7px 0;

    font-size: 30px;
    line-height: 1.2;

    color: #111827;
}

.profile-email {
    margin: 5px 0;

    color: #64748b;
    font-size: 14px;
}

.profile-location {
    margin: 7px 0;

    color: #475569;
    font-size: 14px;
}

.profile-bio {
    margin: 12px 0;

    max-width: 650px;

    color: #334155;

    line-height: 1.6;

    word-wrap: break-word;
}

.profile-created {
    margin: 8px 0 0;

    color: #94a3b8;

    font-size: 13px;
}

.empty-bio {
    font-style: italic;
}

/* PROFILE BUTTONS */

.profile-actions {
    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 10px;

    min-width: 170px;
}

.profile-actions a {
    display: block;

    width: 100%;

    box-sizing: border-box;

    text-align: center;

    text-decoration: none;
}

/* =========================================
   STATISTICS
========================================= */

.profile-statistics {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    width: 100%;

    margin-bottom: 35px;
}

.stat-card {
    background: #ffffff;

    border-radius: 15px;

    padding: 25px 15px;

    text-align: center;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.stat-number {
    display: block;

    font-size: 34px;

    line-height: 1;

    font-weight: 800;

    color: #2563eb;
}

.stat-label {
    display: block;

    margin-top: 9px;

    color: #64748b;

    font-size: 14px;
}

/* =========================================
   MY QUESTIONS
========================================= */

.my-questions {
    width: 100%;
}

.section-heading {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
}

.section-heading h2 {
    margin: 0;

    color: #111827;

    font-size: 24px;
}

.small-action-button {
    display: inline-block;

    padding: 10px 16px;

    border-radius: 8px;

    background: #2563eb;

    color: white;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    white-space: nowrap;
}

/* QUESTIONS GRID */

.questions-list {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;

    width: 100%;
}

.question-card {
    width: 100%;

    box-sizing: border-box;

    background: #ffffff;

    border-radius: 15px;

    padding: 22px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);

    overflow: hidden;
}

.question-card h2 {
    margin: 10px 0;

    font-size: 20px;

    line-height: 1.35;

    color: #111827;
}

.question-content {
    color: #475569;

    line-height: 1.6;

    word-wrap: break-word;
}

.question-category {
    display: inline-block;

    padding: 5px 10px;

    border-radius: 20px;

    background: #eff6ff;

    color: #2563eb;

    font-size: 12px;

    font-weight: 700;
}

/* QUESTION META */

.question-meta {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-top: 15px;

    margin-bottom: 15px;

    color: #64748b;

    font-size: 13px;
}

.question-status {
    display: inline-block;

    padding: 5px 10px;

    border-radius: 20px;

    font-size: 11px;

    font-weight: 700;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-published {
    background: #dcfce7;
    color: #166534;
}

.status-closed {
    background: #e5e7eb;
    color: #374151;
}

/* EMPTY STATE */

.empty-state {
    width: 100%;

    box-sizing: border-box;

    padding: 50px 25px;

    text-align: center;

    background: #ffffff;

    border-radius: 15px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.empty-state h3 {
    margin-bottom: 8px;

    color: #111827;
}

.empty-state p {
    color: #64748b;

    margin-bottom: 20px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .profile-header-card {
        grid-template-columns: 110px 1fr;

        gap: 20px;
    }

    .profile-actions {
        grid-column: 1 / -1;

        flex-direction: row;

        justify-content: flex-end;

        min-width: 0;
    }

    .profile-actions a {
        width: auto;
    }

    .questions-list {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .profile-page {
        margin: 20px auto;
    }

    .profile-cover {
        height: 150px;

        border-radius: 12px 12px 0 0;
    }

    .default-cover {
        font-size: 30px;
    }

    .profile-header-card {
        display: flex;

        flex-direction: column;

        text-align: center;

        padding: 25px 18px;

        gap: 15px;
    }

    .profile-avatar {
        width: 105px;
        height: 105px;
        min-width: 105px;
    }

    .profile-main-info {
        width: 100%;
    }

    .profile-main-info h1 {
        font-size: 24px;
    }

    .profile-bio {
        max-width: 100%;
    }

    .profile-actions {
        width: 100%;

        flex-direction: column;
    }

    .profile-actions a {
        width: 100%;
    }

    .profile-statistics {
        grid-template-columns: repeat(3, 1fr);

        gap: 8px;
    }

    .stat-card {
        padding: 18px 5px;
    }

    .stat-number {
        font-size: 25px;
    }

    .stat-label {
        font-size: 11px;
    }

    .section-heading {
        flex-direction: column;

        align-items: stretch;
    }

    .small-action-button {
        text-align: center;
    }

    .question-card {
        padding: 18px;
    }

    .question-card h2 {
        font-size: 18px;
    }

    .question-meta {
        flex-direction: column;

        align-items: flex-start;
    }

}

/* =========================================
   PROFILE PHOTO UPLOAD
========================================= */

.profile-avatar {
    position: relative;
}

.photo-upload-button {
    position: absolute;

    right: 3px;
    bottom: 3px;

    width: 35px;
    height: 35px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #2563eb;

    color: white;

    border: 3px solid white;

    cursor: pointer;

    font-size: 16px;

    transition: 0.2s;
}

.photo-upload-button:hover {
    transform: scale(1.08);
}

/* =========================================
   COVER UPLOAD
========================================= */

.profile-cover {
    position: relative;
}

.cover-upload-button {
    position: absolute;

    right: 18px;
    bottom: 18px;

    padding: 10px 15px;

    border-radius: 8px;

    background: rgba(0, 0, 0, 0.65);

    color: white;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    backdrop-filter: blur(5px);

    transition: 0.2s;
}

.cover-upload-button:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: translateY(-2px);
}

/* HIDDEN FILE FORMS */

.hidden-upload-form {
    display: none;
}

/* MOBILE */

@media (max-width: 600px) {

    .cover-upload-button {
        right: 10px;
        bottom: 10px;

        padding: 8px 11px;

        font-size: 12px;
    }

}

/* =========================================
   HIZEWE QUESTION SYSTEM 2.0
========================================= */

.question-view-page {
    max-width: 900px;
    margin: 35px auto;
}

/* QUESTION CARD */

.question-main-card,
.voting-card,
.comments-section {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.question-title {
    margin: 15px 0 20px;

    font-size: 32px;
    line-height: 1.25;

    color: #111827;
}

.question-author {
    display: flex;
    align-items: center;
    gap: 12px;

    padding-bottom: 20px;

    border-bottom: 1px solid #e5e7eb;
}

.author-avatar,
.comment-avatar {
    width: 45px;
    height: 45px;

    min-width: 45px;

    overflow: hidden;
    border-radius: 50%;

    background: #1e293b;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    font-weight: 700;
}

.author-avatar img,
.comment-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.question-author strong {
    display: block;
    color: #111827;
}

.question-author small {
    display: block;
    margin-top: 3px;
    color: #94a3b8;
}

.question-full-content {
    margin-top: 25px;

    color: #334155;

    font-size: 17px;
    line-height: 1.8;

    word-wrap: break-word;
}

/* SECTION TITLE */

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 20px;
}

.section-title h2 {
    margin: 0;

    color: #111827;
}

.section-title span {
    color: #64748b;
    font-size: 14px;
}

/* VOTING */

.vote-buttons {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;

    margin-bottom: 30px;
}

.vote-buttons form {
    width: 100%;
}

.vote-button {
    width: 100%;

    min-height: 90px;

    border: 2px solid #e5e7eb;

    border-radius: 14px;

    background: #ffffff;

    cursor: pointer;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 6px;

    font-size: 15px;

    transition: 0.2s;
}

.vote-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 20px rgba(0, 0, 0, 0.08);
}

.vote-button span {
    font-size: 13px;

    color: #64748b;
}

.active-vote {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.12);
}

.believe-button:hover {
    border-color: #16a34a;
}

.doubt-button:hover {
    border-color: #dc2626;
}

.unsure-button:hover {
    border-color: #ca8a04;
}

/* RESULTS */

.vote-results {
    margin-top: 15px;
}

.result-row {
    margin-bottom: 18px;
}

.result-label {
    display: flex;

    justify-content: space-between;

    margin-bottom: 7px;

    color: #475569;

    font-size: 14px;
}

.result-label strong {
    color: #111827;
}

.progress-bar {
    width: 100%;

    height: 10px;

    overflow: hidden;

    border-radius: 20px;

    background: #e5e7eb;
}

.progress-fill {
    height: 100%;

    border-radius: 20px;

    transition: width 0.4s ease;
}

.believe-fill {
    background: #16a34a;
}

.doubt-fill {
    background: #dc2626;
}

.unsure-fill {
    background: #eab308;
}

/* COMMENTS */

.comment-form textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 15px;

    resize: vertical;

    border: 1px solid #d1d5db;

    border-radius: 12px;

    font-family: inherit;

    font-size: 15px;

    outline: none;
}

.comment-form textarea:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.10);
}

.comment-submit {
    margin-top: 10px;

    padding: 11px 18px;

    border: none;

    border-radius: 8px;

    background: #2563eb;

    color: white;

    font-weight: 600;

    cursor: pointer;
}

.comments-list {
    margin-top: 25px;
}

.comment-card {
    display: flex;

    gap: 12px;

    padding: 18px 0;

    border-top: 1px solid #e5e7eb;
}

.comment-body {
    flex: 1;

    min-width: 0;
}

.comment-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;
}

.comment-top strong {
    color: #111827;
}

.comment-top small {
    color: #94a3b8;

    font-size: 12px;
}

.comment-body p {
    margin: 8px 0 0;

    color: #475569;

    line-height: 1.6;

    word-wrap: break-word;
}

.login-to-vote,
.comment-login-message {
    padding: 20px;

    text-align: center;

    border-radius: 12px;

    background: #f8fafc;

    margin-bottom: 25px;
}

/* MOBILE */

@media (max-width: 650px) {

    .question-view-page {
        margin: 20px auto;
    }

    .question-main-card,
    .voting-card,
    .comments-section {
        padding: 20px;

        border-radius: 14px;
    }

    .question-title {
        font-size: 25px;
    }

    .question-full-content {
        font-size: 16px;
    }

    .vote-buttons {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .vote-button {
        min-height: 70px;

        flex-direction: row;

        justify-content: space-between;

        padding: 15px 18px;
    }

    .section-title {
        align-items: flex-start;
    }

    .comment-top {
        align-items: flex-start;

        flex-direction: column;

        gap: 3px;
    }

}

/* =========================================================
   HIZEWE QUESTIONS PAGE — CLEAN VERSION
========================================================= */

.hz-questions-page {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 38px 20px 60px;
    box-sizing: border-box;
}


/* =========================================================
   HERO
========================================================= */

.hz-questions-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.hz-hero-text {
    min-width: 0;
}

.hz-eyebrow {
    display: inline-block;
    margin-bottom: 8px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;

    color: #2563eb;
}

.hz-questions-hero h1 {
    margin: 0;

    font-size: 36px;
    line-height: 1.15;

    color: #0f172a;
}

.hz-questions-hero p {
    max-width: 650px;

    margin: 10px 0 0;

    color: #64748b;

    font-size: 15px;
    line-height: 1.7;
}

.hz-ask-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    flex-shrink: 0;

    padding: 12px 18px;

    border-radius: 10px;

    background: #2563eb;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    box-shadow:
        0 5px 15px rgba(37, 99, 235, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.hz-ask-button span {
    font-size: 20px;
    line-height: 1;
}

.hz-ask-button:hover {
    background: #1d4ed8;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.24);
}


/* =========================================================
   SEARCH PANEL
========================================================= */

.hz-search-panel {
    width: 100%;

    margin-bottom: 20px;

    padding: 12px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 14px;

    box-shadow:
        0 4px 16px rgba(15, 23, 42, 0.04);
}

.hz-search-form {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 210px auto;

    align-items: center;

    gap: 10px;
}

.hz-search-input-wrap {
    position: relative;

    display: flex;
    align-items: center;

    min-width: 0;
}

.hz-search-icon {
    position: absolute;

    left: 14px;

    pointer-events: none;

    font-size: 15px;
}

.hz-search-input-wrap input {
    width: 100%;

    min-width: 0;

    box-sizing: border-box;

    padding: 12px 42px 12px 40px;

    border: 1px solid #dbe2ea;

    border-radius: 9px;

    outline: none;

    background: #f8fafc;

    color: #0f172a;

    font-family: inherit;

    font-size: 14px;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.hz-search-input-wrap input:focus {
    background: #ffffff;

    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.09);
}

.hz-search-input-wrap input::placeholder {
    color: #94a3b8;
}

.hz-clear-search {
    position: absolute;

    right: 12px;

    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #64748b;

    text-decoration: none;

    font-size: 20px;
    line-height: 1;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.hz-clear-search:hover {
    background: #e2e8f0;

    color: #0f172a;
}

.hz-category-wrap {
    min-width: 0;
}

.hz-category-wrap select {
    width: 100%;

    box-sizing: border-box;

    padding: 12px 13px;

    border: 1px solid #dbe2ea;

    border-radius: 9px;

    outline: none;

    background: #f8fafc;

    color: #334155;

    font-family: inherit;

    font-size: 14px;

    cursor: pointer;
}

.hz-category-wrap select:focus {
    border-color: #2563eb;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.09);
}

.hz-search-button {
    padding: 12px 20px;

    border: none;

    border-radius: 9px;

    background: #0f172a;

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.hz-search-button:hover {
    background: #1e293b;

    transform: translateY(-1px);
}


/* =========================================================
   RESULT BAR
========================================================= */

.hz-results-bar {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 15px;

    min-height: 28px;
}

.hz-results-count {
    display: flex;

    align-items: baseline;

    gap: 5px;

    color: #64748b;

    font-size: 13px;
}

.hz-results-count strong {
    color: #0f172a;

    font-size: 15px;
}

.hz-active-filter {
    color: #64748b;

    font-size: 13px;

    text-align: right;
}

.hz-active-filter strong {
    color: #334155;
}


/* =========================================================
   QUESTIONS GRID
========================================================= */

.hz-questions-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    width: 100%;
}


/* =========================================================
   QUESTION CARD
========================================================= */

.hz-question-card {
    min-width: 0;

    display: flex;

    flex-direction: column;

    padding: 22px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e8edf3;

    border-radius: 15px;

    box-shadow:
        0 3px 12px rgba(15, 23, 42, 0.04);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.hz-question-card:hover {
    transform: translateY(-3px);

    border-color: #d7e2f0;

    box-shadow:
        0 10px 25px rgba(15, 23, 42, 0.08);
}


/* =========================================================
   CARD TOP / CATEGORY
========================================================= */

.hz-card-top {
    display: flex;

    align-items: center;

    min-height: 24px;
}

.hz-category-badge {
    display: inline-flex;

    align-items: center;

    max-width: 100%;

    padding: 5px 9px;

    border-radius: 6px;

    background: #eff6ff;

    color: #2563eb;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.4px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.hz-category-empty {
    background: #f1f5f9;

    color: #64748b;
}


/* =========================================================
   TITLE
========================================================= */

.hz-question-title {
    margin: 13px 0 9px;

    font-size: 20px;

    line-height: 1.35;

    font-weight: 750;

    overflow-wrap: anywhere;
}

.hz-question-title a {
    color: #0f172a;

    text-decoration: none;

    transition: color 0.2s ease;
}

.hz-question-title a:hover {
    color: #2563eb;
}


/* =========================================================
   EXCERPT
========================================================= */

.hz-question-excerpt {
    display: -webkit-box;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;

    margin: 0;

    min-height: 66px;

    color: #64748b;

    font-size: 14px;

    line-height: 1.58;

    overflow-wrap: anywhere;
}


/* =========================================================
   AUTHOR
========================================================= */

.hz-author {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 20px;

    padding-top: 16px;

    border-top: 1px solid #eef2f6;
}

.hz-avatar {
    width: 38px;
    height: 38px;

    min-width: 38px;

    overflow: hidden;

    border-radius: 50%;

    background: #0f172a;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 13px;

    font-weight: 800;
}

.hz-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.hz-avatar-fallback {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;
}

.hz-author-info {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 2px;
}

.hz-author-info strong {
    max-width: 190px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #334155;

    font-size: 13px;
}

.hz-author-info span {
    color: #94a3b8;

    font-size: 11px;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.hz-card-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-top: 18px;

    padding-top: 14px;

    border-top: 1px solid #eef2f6;
}

.hz-stats {
    display: flex;

    align-items: center;

    gap: 14px;

    color: #64748b;

    font-size: 12px;

    white-space: nowrap;
}

.hz-read-link {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: #2563eb;

    text-decoration: none;

    font-size: 13px;

    font-weight: 750;

    white-space: nowrap;

    transition:
        gap 0.2s ease,
        color 0.2s ease;
}

.hz-read-link span {
    font-size: 16px;

    line-height: 1;
}

.hz-read-link:hover {
    color: #1d4ed8;

    gap: 9px;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.hz-empty-state {
    padding: 65px 25px;

    background: #ffffff;

    border: 1px solid #e8edf3;

    border-radius: 15px;

    text-align: center;

    box-shadow:
        0 3px 12px rgba(15, 23, 42, 0.04);
}

.hz-empty-icon {
    margin-bottom: 12px;

    font-size: 38px;
}

.hz-empty-state h2 {
    margin: 0 0 8px;

    color: #0f172a;

    font-size: 22px;
}

.hz-empty-state p {
    max-width: 500px;

    margin: 0 auto 22px;

    color: #64748b;

    font-size: 14px;

    line-height: 1.6;
}

.hz-reset-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 11px 17px;

    border-radius: 8px;

    background: #0f172a;

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;
}

.hz-reset-button:hover {
    background: #1e293b;
}


/* =========================================================
   PAGINATION
========================================================= */

.hz-pagination {
    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 30px;
}

.hz-pagination a,
.hz-dots {
    min-width: 36px;

    height: 36px;

    padding: 0 10px;

    box-sizing: border-box;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;
}

.hz-pagination a {
    border: 1px solid #e2e8f0;

    background: #ffffff;

    color: #475569;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.hz-pagination a:hover {
    border-color: #2563eb;

    background: #eff6ff;

    color: #2563eb;
}

.hz-pagination .hz-current-page {
    border-color: #2563eb;

    background: #2563eb;

    color: #ffffff;
}

.hz-dots {
    color: #94a3b8;
}

.hz-page-prev,
.hz-page-next {
    gap: 5px;

    padding-left: 12px !important;
    padding-right: 12px !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .hz-questions-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hz-search-form {
        grid-template-columns:
            minmax(0, 1fr)
            190px;
    }

    .hz-search-button {
        grid-column: 1 / -1;

        width: 100%;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 680px) {

    .hz-questions-page {
        padding-top: 25px;

        padding-left: 12px;
        padding-right: 12px;

        padding-bottom: 45px;
    }

    .hz-questions-hero {
        flex-direction: column;

        align-items: stretch;

        gap: 18px;

        margin-bottom: 20px;
    }

    .hz-questions-hero h1 {
        font-size: 29px;
    }

    .hz-questions-hero p {
        font-size: 14px;
    }

    .hz-ask-button {
        width: 100%;

        box-sizing: border-box;
    }

    .hz-search-form {
        display: flex;

        flex-direction: column;

        gap: 9px;
    }

    .hz-search-input-wrap,
    .hz-category-wrap,
    .hz-search-button {
        width: 100%;
    }

    .hz-search-button {
        box-sizing: border-box;
    }

    .hz-results-bar {
        align-items: flex-start;

        flex-direction: column;

        gap: 5px;

        margin-bottom: 13px;
    }

    .hz-active-filter {
        text-align: left;
    }

    .hz-questions-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .hz-question-card {
        padding: 18px;

        border-radius: 13px;
    }

    .hz-question-title {
        font-size: 18px;
    }

    .hz-question-excerpt {
        min-height: auto;

        -webkit-line-clamp: 4;
    }

    .hz-author {
        margin-top: 17px;
    }

    .hz-card-footer {
        margin-top: 15px;
    }

    .hz-stats {
        gap: 10px;
    }

    .hz-read-link {
        font-size: 12px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    .hz-question-card {
        padding: 16px;
    }

    .hz-question-title {
        font-size: 17px;
    }

    .hz-question-excerpt {
        font-size: 13px;
    }

    .hz-card-footer {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;
    }

    .hz-read-link {
        width: 100%;

        justify-content: center;

        padding: 9px;

        box-sizing: border-box;

        border-radius: 7px;

        background: #eff6ff;
    }

}


/* =========================================================
   HIZEWE QUESTION DETAIL + EVIDENCE SYSTEM
========================================================= */


/* =========================================================
   QUESTION PAGE
========================================================= */

.question-view-page {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 35px 20px 60px;
    box-sizing: border-box;
}


/* =========================================================
   QUESTION HEADER
========================================================= */

.question-view-header {
    margin-bottom: 22px;
}

.question-category {
    display: inline-flex;

    padding: 5px 9px;

    border-radius: 6px;

    background: #eff6ff;

    color: #2563eb;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .4px;
}

.question-view-header h1 {
    margin: 12px 0 18px;

    color: #0f172a;

    font-size: 34px;
    line-height: 1.25;

    overflow-wrap: anywhere;
}

.question-author {
    display: flex;
    align-items: center;

    gap: 10px;
}

.question-author-avatar {
    width: 42px;
    height: 42px;

    min-width: 42px;

    overflow: hidden;

    border-radius: 50%;

    background: #0f172a;

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 800;
}

.question-author-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.question-author-avatar span {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.question-author strong {
    display: block;

    color: #334155;

    font-size: 13px;
}

.question-author small {
    display: block;

    margin-top: 2px;

    color: #94a3b8;

    font-size: 11px;
}


/* =========================================================
   QUESTION CONTENT
========================================================= */

.question-content-card {
    padding: 25px;

    margin-bottom: 18px;

    background: #ffffff;

    border: 1px solid #e8edf3;

    border-radius: 15px;

    box-shadow:
        0 3px 12px rgba(15, 23, 42, .04);
}

.question-content {
    color: #334155;

    font-size: 15px;

    line-height: 1.8;

    overflow-wrap: anywhere;
}


/* =========================================================
   SHARED SECTION
========================================================= */

.voting-card,
.evidence-section,
.comments-section {
    margin-top: 18px;

    padding: 23px;

    background: #ffffff;

    border: 1px solid #e8edf3;

    border-radius: 15px;

    box-shadow:
        0 3px 12px rgba(15, 23, 42, .04);
}

.section-heading {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 20px;
}

.section-heading h2 {
    margin: 0;

    color: #0f172a;

    font-size: 21px;
}

.section-heading p {
    margin: 5px 0 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.5;
}

.vote-total,
.evidence-count,
.comment-count {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 30px;
    height: 30px;

    padding: 0 9px;

    box-sizing: border-box;

    border-radius: 50px;

    background: #f1f5f9;

    color: #475569;

    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   VOTING
========================================================= */

.vote-buttons {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;

    margin-bottom: 22px;
}

.vote-buttons form {
    margin: 0;
}

.vote-button {
    width: 100%;

    min-height: 60px;

    padding: 10px;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    background: #ffffff;

    color: #334155;

    cursor: pointer;

    font-family: inherit;

    transition: .2s ease;
}

.vote-button strong {
    display: block;

    font-size: 13px;
}

.vote-button span {
    display: block;

    margin-top: 3px;

    color: #94a3b8;

    font-size: 11px;
}

.vote-button:hover {
    border-color: #94a3b8;

    transform: translateY(-1px);
}

.vote-button.active {
    border-color: #2563eb;

    background: #eff6ff;

    color: #2563eb;
}

.vote-button.active span {
    color: #2563eb;
}

.vote-results {
    display: flex;

    flex-direction: column;

    gap: 13px;
}

.vote-result-row {
    width: 100%;
}

.vote-result-label {
    display: flex;

    justify-content: space-between;

    margin-bottom: 6px;

    color: #64748b;

    font-size: 12px;
}

.vote-result-label strong {
    color: #334155;
}

.vote-progress {
    width: 100%;
    height: 7px;

    overflow: hidden;

    border-radius: 50px;

    background: #eef2f7;
}

.vote-progress span {
    display: block;

    height: 100%;

    border-radius: inherit;

    background: #2563eb;

    transition: width .3s ease;
}

.login-to-vote,
.comment-login-box,
.evidence-login-box {
    padding: 15px;

    margin-bottom: 20px;

    border-radius: 10px;

    background: #f8fafc;

    text-align: center;
}

.login-to-vote p,
.comment-login-box p,
.evidence-login-box p {
    margin: 0 0 10px;

    color: #64748b;

    font-size: 13px;
}

.login-to-vote a,
.comment-login-box a,
.evidence-login-box a {
    color: #2563eb;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}


/* =========================================================
   EVIDENCE FORM
========================================================= */

.evidence-heading {
    margin-bottom: 18px;
}

.evidence-form-card {
    margin-bottom: 22px;

    padding: 19px;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

    background: #f8fafc;
}

.evidence-form-title {
    margin-bottom: 18px;
}

.evidence-form-title h3 {
    margin: 0;

    color: #0f172a;

    font-size: 17px;
}

.evidence-form-title p {
    margin: 5px 0 0;

    color: #64748b;

    font-size: 12px;

    line-height: 1.6;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;

    margin-bottom: 6px;

    color: #334155;

    font-size: 12px;

    font-weight: 700;
}

.form-group label span {
    color: #94a3b8;

    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 11px 12px;

    border: 1px solid #dbe2ea;

    border-radius: 8px;

    outline: none;

    background: #ffffff;

    color: #0f172a;

    font-family: inherit;

    font-size: 13px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.form-group textarea {
    min-height: 130px;

    resize: vertical;

    line-height: 1.6;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, .08);
}

.form-help {
    display: block;

    margin-top: 5px;

    color: #94a3b8;

    font-size: 11px;
}

.submit-evidence-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 11px 17px;

    border: none;

    border-radius: 8px;

    background: #2563eb;

    color: #ffffff;

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: background .2s ease;
}

.submit-evidence-button:hover {
    background: #1d4ed8;
}


/* =========================================================
   EVIDENCE ALERTS
========================================================= */

.evidence-alert {
    margin-bottom: 15px;

    padding: 12px 14px;

    border-radius: 9px;

    font-size: 13px;

    line-height: 1.6;
}

.evidence-alert.success {
    border: 1px solid #bbf7d0;

    background: #f0fdf4;

    color: #166534;
}

.evidence-alert.error {
    border: 1px solid #fecaca;

    background: #fef2f2;

    color: #b91c1c;
}


/* =========================================================
   EVIDENCE LIST
========================================================= */

.evidence-list {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.evidence-card {
    padding: 18px;

    border: 1px solid #e5e7eb;

    border-radius: 12px;

    background: #ffffff;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.evidence-card:hover {
    border-color: #d7e2f0;

    box-shadow:
        0 5px 15px rgba(15, 23, 42, .05);
}

.evidence-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 14px;
}

.evidence-user {
    display: flex;

    align-items: center;

    gap: 9px;

    min-width: 0;
}

.evidence-avatar {
    width: 34px;
    height: 34px;

    min-width: 34px;

    overflow: hidden;

    border-radius: 50%;

    background: #0f172a;

    color: #ffffff;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 11px;

    font-weight: 800;
}

.evidence-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.evidence-avatar span {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;
}

.evidence-user strong {
    display: block;

    max-width: 250px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #334155;

    font-size: 12px;
}

.evidence-user small {
    display: block;

    margin-top: 2px;

    color: #94a3b8;

    font-size: 10px;
}

.evidence-card h3 {
    margin: 0 0 8px;

    color: #0f172a;

    font-size: 16px;

    line-height: 1.4;

    overflow-wrap: anywhere;
}

.evidence-description {
    color: #475569;

    font-size: 13px;

    line-height: 1.7;

    overflow-wrap: anywhere;
}

.evidence-source {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 14px;

    padding: 8px 11px;

    border-radius: 7px;

    background: #eff6ff;

    color: #2563eb;

    text-decoration: none;

    font-size: 11px;

    font-weight: 700;

    word-break: break-all;
}

.evidence-source:hover {
    background: #dbeafe;
}

.delete-evidence-button {
    padding: 6px 9px;

    border: 1px solid #fecaca;

    border-radius: 6px;

    background: #fff;

    color: #dc2626;

    font-family: inherit;

    font-size: 10px;

    font-weight: 700;

    cursor: pointer;
}

.delete-evidence-button:hover {
    background: #fef2f2;
}


/* =========================================================
   EVIDENCE EMPTY
========================================================= */

.evidence-empty {
    padding: 35px 20px;

    border: 1px dashed #dbe2ea;

    border-radius: 10px;

    background: #f8fafc;

    text-align: center;
}

.evidence-empty > div {
    margin-bottom: 8px;

    font-size: 28px;
}

.evidence-empty h3 {
    margin: 0 0 5px;

    color: #334155;

    font-size: 15px;
}

.evidence-empty p {
    margin: 0;

    color: #94a3b8;

    font-size: 12px;
}


/* =========================================================
   COMMENTS
========================================================= */

.comment-form {
    margin-bottom: 20px;
}

.comment-form textarea {
    width: 100%;

    min-height: 110px;

    box-sizing: border-box;

    padding: 12px;

    border: 1px solid #dbe2ea;

    border-radius: 9px;

    outline: none;

    resize: vertical;

    font-family: inherit;

    font-size: 13px;

    line-height: 1.6;
}

.comment-form textarea:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, .08);
}

.comment-form button {
    margin-top: 9px;

    padding: 10px 15px;

    border: none;

    border-radius: 8px;

    background: #0f172a;

    color: #ffffff;

    font-family: inherit;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;
}

.comments-list {
    display: flex;

    flex-direction: column;

    gap: 11px;
}

.comment-card {
    display: flex;

    gap: 10px;

    padding: 14px;

    border: 1px solid #edf1f5;

    border-radius: 10px;

    background: #fafbfc;
}

.comment-avatar {
    width: 34px;
    height: 34px;

    min-width: 34px;

    overflow: hidden;

    border-radius: 50%;

    background: #0f172a;

    color: #ffffff;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 11px;

    font-weight: 800;
}

.comment-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.comment-avatar span {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;
}

.comment-body {
    min-width: 0;

    flex: 1;
}

.comment-meta {
    display: flex;

    align-items: baseline;

    gap: 8px;

    flex-wrap: wrap;
}

.comment-meta strong {
    color: #334155;

    font-size: 12px;
}

.comment-meta small {
    color: #94a3b8;

    font-size: 10px;
}

.comment-body p {
    margin: 6px 0 0;

    color: #475569;

    font-size: 13px;

    line-height: 1.6;

    overflow-wrap: anywhere;
}

.comments-empty {
    padding: 30px 20px;

    text-align: center;
}

.comments-empty h3 {
    margin: 0 0 5px;

    color: #334155;

    font-size: 15px;
}

.comments-empty p {
    margin: 0;

    color: #94a3b8;

    font-size: 12px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .question-view-page {
        padding:
            24px 12px
            45px;
    }

    .question-view-header h1 {
        font-size: 27px;
    }

    .question-content-card,
    .voting-card,
    .evidence-section,
    .comments-section {
        padding: 18px;

        border-radius: 12px;
    }

    .question-content {
        font-size: 14px;
    }

    .vote-buttons {
        grid-template-columns: 1fr;

        gap: 8px;
    }

    .vote-button {
        min-height: 52px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading h2 {
        font-size: 19px;
    }

    .evidence-form-card {
        padding: 15px;
    }

    .evidence-card {
        padding: 15px;
    }

    .evidence-card-top {
        align-items: flex-start;
    }

    .evidence-user strong {
        max-width: 170px;
    }

    .evidence-source {
        max-width: 100%;

        box-sizing: border-box;
    }

}

/* =========================================================
   HIZEWE ADMIN DASHBOARD
========================================================= */

.admin-body {
    margin: 0;
    background: #f5f6fa;
    color: #17181c;
}

.h-admin {
    min-height: 100vh;
    display: flex;
}


/* SIDEBAR */

.h-admin-sidebar {
    width: 245px;
    min-height: 100vh;
    position: sticky;
    top: 0;
    align-self: flex-start;
    background: #111216;
    color: #fff;
    flex-shrink: 0;
}

.h-admin-brand {
    padding: 28px 23px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.h-admin-brand a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1px;
}

.h-admin-brand span {
    display: block;
    margin-top: 5px;
    color: #85878e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.h-admin-nav {
    padding: 18px 12px;
}

.h-admin-nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 13px;
    margin-bottom: 4px;
    border-radius: 9px;
    color: #aeb0b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.h-admin-nav a:hover,
.h-admin-nav a.active {
    background: rgba(255,255,255,.09);
    color: #fff;
}

.h-admin-nav a span {
    width: 20px;
    text-align: center;
}

.admin-nav-badge {
    margin-left: auto;
    min-width: 20px;
    padding: 3px 6px;
    border-radius: 20px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    text-align: center;
}

.h-admin-nav .admin-logout {
    margin-top: 25px;
    color: #f28b8b;
}


/* MAIN */

.h-admin-main {
    flex: 1;
    min-width: 0;
    padding: 0 34px 50px;
}


/* TOPBAR */

.h-admin-topbar {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.h-admin-small-title {
    display: block;
    color: #8b8e98;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.7px;
}

.h-admin-topbar h1 {
    margin: 4px 0 0;
    font-size: 29px;
    letter-spacing: -.7px;
}

.h-admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.h-admin-avatar,
.mini-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #17181c;
    color: #fff;
    font-weight: 900;
}

.h-admin-avatar {
    width: 40px;
    height: 40px;
}

.h-admin-user strong {
    display: block;
    font-size: 13px;
}

.h-admin-user span {
    display: block;
    margin-top: 2px;
    color: #8b8e98;
    font-size: 11px;
}


/* WELCOME */

.h-admin-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 22px;
    padding: 27px;
    border-radius: 18px;
    background: #17181c;
    color: #fff;
}

.h-admin-welcome > div > span {
    color: #8f939d;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.h-admin-welcome h2 {
    margin: 7px 0;
    font-size: 24px;
}

.h-admin-welcome p {
    margin: 0;
    max-width: 650px;
    color: #aeb1b9;
    line-height: 1.55;
    font-size: 13px;
}

.h-admin-primary-button {
    flex-shrink: 0;
    padding: 11px 15px;
    border-radius: 9px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
}


/* STATS */

.h-admin-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.h-admin-stat {
    display: block;
    min-width: 0;
    padding: 17px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    color: #17181c;
    text-decoration: none;
}

.h-admin-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,.05);
}

.h-admin-stat-icon {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
}

.h-admin-stat-label {
    display: block;
    color: #777b85;
    font-size: 11px;
    font-weight: 700;
}

.h-admin-stat strong {
    display: block;
    margin-top: 5px;
    font-size: 25px;
}

.h-admin-stat small {
    display: block;
    margin-top: 4px;
    color: #92959e;
    font-size: 10px;
}

.admin-stat-warning {
    border-color: #f2d58a;
    background: #fffdf5;
}


/* GRID */

.h-admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}


/* PANELS */

.h-admin-panel {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
}

.h-admin-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 20px;
    border-bottom: 1px solid #edf0f2;
}

.h-admin-panel-header > div > span {
    color: #999da6;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.3px;
}

.h-admin-panel-header h2 {
    margin: 4px 0 0;
    font-size: 17px;
}

.h-admin-panel-header a {
    color: #555a64;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
}

.h-admin-panel-header a:hover {
    color: #111;
}


/* LIST */

.h-admin-list {
    padding: 4px 0;
}

.h-admin-list-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 18px;
    border-bottom: 1px solid #f0f1f3;
}

.h-admin-list-item:last-child {
    border-bottom: 0;
}

.h-admin-list-icon,
.h-admin-report-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 9px;
    background: #f2f3f5;
    font-size: 12px;
    font-weight: 900;
}

.h-admin-list-content {
    min-width: 0;
    flex: 1;
}

.h-admin-list-content a {
    display: block;
    overflow: hidden;
    color: #22242a;
    text-decoration: none;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    font-weight: 800;
}

.h-admin-list-content a:hover {
    text-decoration: underline;
}

.h-admin-list-content span {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: #92959d;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 10px;
}

.h-admin-empty {
    padding: 35px 20px;
    color: #9699a1;
    text-align: center;
    font-size: 12px;
}


/* STATUS */

.admin-status-badge,
.admin-report-status {
    flex-shrink: 0;
    padding: 5px 8px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 900;
}

.admin-status-badge.status-published {
    background: #dcfce7;
    color: #166534;
}

.admin-status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
}

.admin-status-badge.status-draft {
    background: #f1f5f9;
    color: #64748b;
}

.report-status-pending {
    background: #fff3cd;
    color: #856404;
}

.report-status-reviewed {
    background: #dbeafe;
    color: #1d4ed8;
}

.report-status-resolved {
    background: #dcfce7;
    color: #166534;
}

.report-status-dismissed {
    background: #f1f5f9;
    color: #64748b;
}


/* USERS TABLE */

.h-admin-users-panel {
    margin-bottom: 20px;
}

.h-admin-users-table {
    width: 100%;
}

.h-admin-users-head,
.h-admin-user-row {
    display: grid;
    grid-template-columns: 1.4fr 1.7fr .7fr .8fr;
    gap: 15px;
    align-items: center;
}

.h-admin-users-head {
    padding: 11px 20px;
    background: #fafafa;
    color: #92959d;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .7px;
}

.h-admin-user-row {
    padding: 12px 20px;
    border-top: 1px solid #f0f1f3;
    color: #626670;
    font-size: 11px;
}

.h-admin-user-name {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.h-admin-user-name strong {
    overflow: hidden;
    color: #25272c;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mini-avatar {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    font-size: 10px;
}

.role-admin,
.role-user {
    display: inline-block;
    padding: 4px 7px;
    border-radius: 7px;
    font-size: 9px;
}

.role-admin {
    background: #ede9fe;
    color: #6d28d9;
}

.role-user {
    background: #f1f5f9;
    color: #64748b;
}


/* MOBILE */

@media (max-width: 1100px) {

    .h-admin-stats {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 850px) {

    .h-admin-sidebar {
        width: 70px;
    }

    .h-admin-brand {
        padding: 22px 10px;
        text-align: center;
    }

    .h-admin-brand a {
        font-size: 17px;
    }

    .h-admin-brand span {
        display: none;
    }

    .h-admin-nav a {
        justify-content: center;
        padding: 12px 8px;
    }

    .h-admin-nav a span {
        width: auto;
    }

    .h-admin-nav a:not(.admin-logout) {
        font-size: 0;
    }

    .h-admin-nav a:not(.admin-logout) span {
        font-size: 16px;
    }

    .h-admin-nav .admin-logout {
        font-size: 0;
    }

    .h-admin-nav .admin-logout span {
        font-size: 16px;
    }

    .admin-nav-badge {
        display: none;
    }

    .h-admin-main {
        padding: 0 18px 40px;
    }

    .h-admin-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .h-admin {
        display: block;
    }

    .h-admin-sidebar {
        width: 100%;
        min-height: auto;
        position: relative;
    }

    .h-admin-brand {
        text-align: left;
        padding: 16px 18px;
    }

    .h-admin-brand a {
        display: inline-block;
        font-size: 20px;
    }

    .h-admin-brand span {
        display: inline-block;
        margin-left: 7px;
    }

    .h-admin-nav {
        display: flex;
        overflow-x: auto;
        padding: 7px;
        gap: 4px;
    }

    .h-admin-nav a {
        flex-shrink: 0;
        margin: 0;
        font-size: 11px !important;
    }

    .h-admin-nav a span {
        font-size: 13px !important;
    }

    .h-admin-nav .admin-logout {
        margin-top: 0;
    }

    .h-admin-topbar {
        min-height: 75px;
    }

    .h-admin-topbar h1 {
        font-size: 24px;
    }

    .h-admin-user {
        display: none;
    }

    .h-admin-welcome {
        display: block;
        padding: 20px;
    }

    .h-admin-primary-button {
        display: inline-block;
        margin-top: 18px;
    }

    .h-admin-stats {
        grid-template-columns: 1fr 1fr;
    }

    .h-admin-stat {
        padding: 14px;
    }

    .h-admin-users-head {
        display: none;
    }

    .h-admin-user-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 14px;
    }

    .h-admin-user-row > span:nth-child(2) {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

}

@media (max-width: 400px) {

    .h-admin-stats {
        grid-template-columns: 1fr;
    }

}