@import "https://fonts.googleapis.com/css2?family=Archivo+Narrow:ital,wght@0,400..700;1,400..700&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap"; :root {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-black: #000;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-primary: #7e7757;
    --bs-secondary: #ede6c9;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-primary-rgb: 13,110,253;
    --bs-secondary-rgb: 108,117,125;
    --bs-success-rgb: 25,135,84;
    --bs-info-rgb: 13,202,240;
    --bs-warning-rgb: 255,193,7;
    --bs-danger-rgb: 220,53,69;
    --bs-light-rgb: 248,249,250;
    --bs-dark-rgb: 33,37,41;
    --bs-primary-text-emphasis: #052c65;
    --bs-secondary-text-emphasis: #2b2f32;
    --bs-success-text-emphasis: #0a3622;
    --bs-info-text-emphasis: #055160;
    --bs-warning-text-emphasis: #664d03;
    --bs-danger-text-emphasis: #58151c;
    --bs-light-text-emphasis: #495057;
    --bs-dark-text-emphasis: #495057;
    --bs-primary-bg-subtle: #cfe2ff;
    --bs-secondary-bg-subtle: #e2e3e5;
    --bs-success-bg-subtle: #d1e7dd;
    --bs-info-bg-subtle: #cff4fc;
    --bs-warning-bg-subtle: #fff3cd;
    --bs-danger-bg-subtle: #f8d7da;
    --bs-light-bg-subtle: #fcfcfd;
    --bs-dark-bg-subtle: #ced4da;
    --bs-primary-border-subtle: #9ec5fe;
    --bs-secondary-border-subtle: #c4c8cb;
    --bs-success-border-subtle: #a3cfbb;
    --bs-info-border-subtle: #9eeaf9;
    --bs-warning-border-subtle: #ffe69c;
    --bs-danger-border-subtle: #f1aeb5;
    --bs-light-border-subtle: #e9ecef;
    --bs-dark-border-subtle: #adb5bd;
    --bs-white-rgb: 255,255,255;
    --bs-black-rgb: 0,0,0;
    --bs-font-sans-serif: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
    --bs-gradient: linear-gradient(180deg,rgba(255,255,255,0.15),rgba(255,255,255,0));
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #212529;
    --bs-body-color-rgb: 33,37,41;
    --bs-body-bg: #fff;
    --bs-body-bg-rgb: 255,255,255;
    --bs-emphasis-color: #000;
    --bs-emphasis-color-rgb: 0,0,0;
    --bs-secondary-color: rgba(33,37,41,0.75);
    --bs-secondary-color-rgb: 33,37,41;
    --bs-secondary-bg: #e9ecef;
    --bs-secondary-bg-rgb: 233,236,239;
    --bs-tertiary-color: rgba(33,37,41,0.5);
    --bs-tertiary-color-rgb: 33,37,41;
    --bs-tertiary-bg: #f8f9fa;
    --bs-tertiary-bg-rgb: 248,249,250;
    --bs-heading-color: inherit;
    --bs-link-color: #0d6efd;
    --bs-link-color-rgb: 13,110,253;
    --bs-link-decoration: underline;
    --bs-link-hover-color: #0a58ca;
    --bs-link-hover-color-rgb: 10,88,202;
    --bs-code-color: #d63384;
    --bs-highlight-color: #212529;
    --bs-highlight-bg: #fff3cd;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #dee2e6;
    --bs-border-color-translucent: rgba(0,0,0,0.175);
    --bs-border-radius: .375rem;
    --bs-border-radius-sm: .25rem;
    --bs-border-radius-lg: .5rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-xxl: 2rem;
    --bs-border-radius-2xl: var(--bs-border-radius-xxl);
    --bs-border-radius-pill: 50rem;
    --bs-box-shadow: 0 .5rem 1rem rgba(0,0,0,0.15);
    --bs-box-shadow-sm: 0 .125rem .25rem rgba(0,0,0,0.075);
    --bs-box-shadow-lg: 0 1rem 3rem rgba(0,0,0,0.175);
    --bs-box-shadow-inset: inset 0 1px 2px rgba(0,0,0,0.075);
    --bs-focus-ring-width: .25rem;
    --bs-focus-ring-opacity: .25;
    --bs-focus-ring-color: rgba(13,110,253,0.25);
    --bs-form-valid-color: #198754;
    --bs-form-valid-border-color: #198754;
    --bs-form-invalid-color: #dc3545;
    --bs-form-invalid-border-color: #dc3545
}

.text-muted {
    font-size: 14px
}

.btn {
    font-size: 14px;
    font-weight: 500;
    padding: 7px 10px;
    border-radius: .25rem;
    transition: all .2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    border: 1px solid var(--bs-primary);
    font-family: "Roboto Condensed",sans-serif;
    text-transform: capitalize
}

.btn-sm {
    font-size: 13px;
    padding: 7px 20px
}

.btn-lg {
    font-size: 16px;
    padding: .75rem 1.5rem
}

.btn-primary {
    background-color: #7e7757;
    border-color: #7e7757;
    color: #fff
}

.btn-primary,.btn-secondary,.btn-success,.btn-danger,.btn-info,.btn-dark {
    color: #fff
}

.btn-warning,.btn-light {
    color: #212529
}

.btn-primary {
    background-color: #7e7757;
    border-color: #7e7757
}

.btn-primary:hover,.btn-primary:focus {
    background-color: #7e7757;
    border-color: #7e7757
}

.btn-primary:active {
    background-color: #254a9e;
    border-color: #254a9e
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d
}

.btn-secondary:hover,.btn-secondary:focus {
    background-color: #5a6268;
    border-color: #5a6268
}

.btn-secondary:active {
    background-color: #4e555b;
    border-color: #4e555b
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745
}

.btn-success:hover,.btn-success:focus {
    background-color: #218838;
    border-color: #218838
}

.btn-success:active {
    background-color: #1e7e34;
    border-color: #1e7e34
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545
}

.btn-danger:hover,.btn-danger:focus {
    background-color: #c82333;
    border-color: #c82333
}

.btn-danger:active {
    background-color: #bd2130;
    border-color: #bd2130
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107
}

.btn-warning:hover,.btn-warning:focus {
    background-color: #e0a800;
    border-color: #e0a800
}

.btn-warning:active {
    background-color: #d39e00;
    border-color: #d39e00
}

.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8
}

.btn-info:hover,.btn-info:focus {
    background-color: #138496;
    border-color: #138496
}

.btn-info:active {
    background-color: #117a8b;
    border-color: #117a8b
}

.btn-light {
    background-color: #f8f9fa;
    border-color: #f8f9fa
}

.btn-light:hover,.btn-light:focus {
    background-color: #e2e6ea;
    border-color: #e2e6ea
}

.btn-light:active {
    background-color: #dae0e5;
    border-color: #dae0e5
}

.btn-dark {
    background-color: #343a40;
    border-color: #343a40
}

.btn-dark:hover,.btn-dark:focus {
    background-color: #23272b;
    border-color: #23272b
}

.btn-dark:active {
    background-color: #1d2124;
    border-color: #1d2124
}

[class*="btn-outline-"] {
    background-color: transparent
}

.btn-outline-primary,.btn-outline-secondary,.btn-outline-success,.btn-outline-danger,.btn-outline-info,.btn-outline-dark {
    color: currentColor;
    border-color: currentColor
}

.btn-outline-primary:hover,.btn-outline-primary:focus,.btn-outline-secondary:hover,.btn-outline-secondary:focus,.btn-outline-success:hover,.btn-outline-success:focus,.btn-outline-danger:hover,.btn-outline-danger:focus,.btn-outline-info:hover,.btn-outline-info:focus,.btn-outline-dark:hover,.btn-outline-dark:focus {
    color: #fff
}

.btn-outline-warning:hover,.btn-outline-warning:focus,.btn-outline-light:hover,.btn-outline-light:focus {
    color: #212529
}

.btn-outline-primary {
    color: #7e7757;
    border-color: #7e7757;
    font-family: "Roboto Condensed",sans-serif
}

.btn-outline-primary:hover,.btn-outline-primary:focus {
    background-color: #7e7757;
    border-color: #7e7757
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d
}

.btn-outline-secondary:hover,.btn-outline-secondary:focus {
    background-color: #6c757d;
    border-color: #6c757d
}

.btn-outline-success {
    color: #28a745;
    border-color: #28a745
}

.btn-outline-success:hover,.btn-outline-success:focus {
    background-color: #28a745;
    border-color: #28a745
}

.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545
}

.btn-outline-danger:hover,.btn-outline-danger:focus {
    background-color: #dc3545;
    border-color: #dc3545
}

.btn-outline-warning {
    color: #ffc107;
    border-color: #ffc107
}

.btn-outline-warning:hover,.btn-outline-warning:focus {
    background-color: #ffc107;
    border-color: #ffc107
}

.btn-outline-info {
    color: #17a2b8;
    border-color: #17a2b8
}

.btn-outline-info:hover,.btn-outline-info:focus {
    background-color: #17a2b8;
    border-color: #17a2b8
}

.btn-outline-light {
    color: #f8f9fa;
    border-color: #f8f9fa
}

.btn-outline-light:hover,.btn-outline-light:focus {
    background-color: #f8f9fa;
    border-color: #f8f9fa
}

.btn-outline-dark {
    color: #343a40;
    border-color: #343a40
}

.btn-outline-dark:hover,.btn-outline-dark:focus {
    background-color: #343a40;
    border-color: #343a40
}

.btn-link {
    font-weight: 400;
    color: var(--bs-primary);
    text-decoration: none;
    background-color: transparent
}

.btn-link i {
    margin-left: 5px
}

.btn-link:hover,.btn-link:focus {
    text-decoration: underline;
    background-color: var(--bs-primary);
    color: #fff;
    text-decoration: none
}

.btn i,.btn .bi {
    margin-right: .2rem
}

.btn.icon-right i,.btn.icon-right .bi {
    margin-right: 0;
    margin-left: .5rem
}

.btn.icon-only i,.btn.icon-only .bi {
    margin-right: 0;
    margin-left: 0
}

.btn-group {
    display: inline-flex;
    position: relative;
    vertical-align: middle
}

.btn-group > .btn {
    position: relative;
    flex: 1 1 auto
}

.btn-group > .btn:not(:first-child) {
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0
}

.btn-group > .btn:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0
}

.btn:disabled,.btn.disabled {
    opacity: .65;
    pointer-events: none
}

.form-control {
    display: block;
    width: 100%;
    padding: .8rem .75rem;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #333333;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .2s ease-in-out,box-shadow .2s ease-in-out
}

.form-control:focus {
    color: #333333;
    background-color: #fff;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgb(126 119 87 / 22%)
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 1
}

.form-control:disabled,.form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1
}

.form-select {
    display: block;
    width: 100%;
    padding: .8rem .75rem;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #333333;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .2s ease-in-out,box-shadow .2s ease-in-out
}

.form-control-sm {
    padding: .25rem .5rem;
    font-size: 13px;
    border-radius: .2rem
}

.form-control-lg {
    padding: .75rem 1rem;
    font-size: 16px;
    border-radius: .3rem
}

.form-group {
    margin-bottom: 1rem
}

.form-label {
    margin-bottom: .3rem;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    font-family: "Roboto Condensed",sans-serif
}

.form-text {
    margin-top: .25rem;
    font-size: 13px;
    color: #6c757d
}

.form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
    margin-bottom: .125rem
}

.form-check-input {
    width: 1rem;
    height: 1rem;
    margin-top: .25rem;
    margin-left: -1.5rem;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0,0,0,0.25);
    appearance: none
}

.form-check-input[type="checkbox"] {
    border-radius: .25rem
}

.form-check-input[type="radio"] {
    border-radius: 50%
}

.form-check-input:checked {
    background-color: #3366CC;
    border-color: #3366CC
}

.form-check-input:focus {
    border-color: #3366CC;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(51,102,204,0.25)
}

.form-check-label {
    color: #333333;
    font-size: 14px;
    font-family: "Roboto Condensed",sans-serif
}

.was-validated .form-control:valid,.form-control.is-valid,.was-validated .form-control:invalid,.form-control.is-invalid {
    padding-right: calc(1.5em + 0.75rem);
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem)
}

.was-validated .form-control:valid,.form-control.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e")
}

.was-validated .form-control:invalid,.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e")
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: 13px;
    color: #dc3545
}

.was-validated :invalid ~ .invalid-feedback,.is-invalid ~ .invalid-feedback {
    display: block
}

.custom-file-upload {
    position: relative;
    display: inline-block;
    cursor: pointer
}

.custom-file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer
}

.custom-file-upload .file-upload-btn {
    display: inline-block;
    padding: .5rem 1rem;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    font-size: 14px;
    color: #495057;
    transition: all .2s ease
}

.custom-file-upload:hover .file-upload-btn {
    background-color: #e2e6ea;
    border-color: #dae0e5
}

.custom-file-upload .file-upload-text {
    margin-left: .5rem;
    font-size: 14px;
    color: #6c757d
}

.image-preview {
    margin-top: .5rem;
    position: relative;
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: .25rem;
    overflow: hidden
}

.image-preview img {
    width: 100%;
    height: auto;
    object-fit: cover
}

.image-preview .remove-image {
    position: absolute;
    top: .25rem;
    right: .25rem;
    width: 1.5rem;
    height: 1.5rem;
    background-color: rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #dc3545;
    font-size: 1rem;
    line-height: 1
}

.alert-icon i {
    font-size: 1.2rem
}

.list-group-item.bg-light {
    background-color: rgba(13,110,253,0.05)!important
}

.dropdown-item.active {
    background-color: #f8f9fa;
    color: #3366CC;
    font-weight: 500
}

.dark .list-group-item.bg-light {
    background-color: rgba(13,110,253,0.1)!important
}

.dark .dropdown-item.active {
    background-color: #2D3748;
    color: #fff
}

.avatar {
    border-radius: 50%;
    object-fit: cover;
    background-color: #f8f9fa;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all .2s ease
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1)
}

.avatar-xs {
    width: 24px;
    height: 24px
}

.avatar-sm {
    width: 32px;
    height: 32px
}

.avatar-md {
    width: 48px;
    height: 48px
}

.avatar-lg {
    width: 64px;
    height: 64px
}

.avatar-xl {
    width: 96px;
    height: 96px
}

.avatar-xxl {
    width: 128px;
    height: 128px
}

.avatar-container {
    position: relative;
    display: inline-block
}

.avatar-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff
}

.avatar-badge-online {
    background-color: #28a745
}

.avatar-badge-offline {
    background-color: #dc3545
}

.avatar-badge-away {
    background-color: #ffc107
}

.avatar-upload {
    position: relative;
    display: inline-block
}

.avatar-upload .avatar-edit {
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    z-index: 1
}

.avatar-upload .avatar-edit:hover {
    background: #f8f9fa
}

.avatar-upload .avatar-edit input {
    display: none
}

.avatar-upload .avatar-edit label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer
}

.avatar-upload .avatar-edit label i {
    color: #6c757d;
    font-size: 14px
}

.avatar-upload .avatar-preview {
    position: relative;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1)
}

.avatar-upload .avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.auth-modal .modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1)
}

.auth-modal .modal-header {
    border-bottom: none;
    padding: 20px 20px 0
}

.auth-modal .modal-body {
    padding: 20px
}

.auth-modal .modal-footer {
    border-top: none;
    padding: 0 20px 20px;
    justify-content: center
}

.auth-modal .close {
    font-size: 1.5rem;
    opacity: .5
}

.auth-modal .close:hover {
    opacity: .75
}

.auth-modal .form-control {
    border-radius: 5px;
    height: auto;
    font-size: 14px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-family: "Roboto Condensed",sans-serif;
    padding-left: 40px!important
}

.password-strength-meter .progress-bar {
    transition: width .5s ease
}

.password-requirements li {
    margin-bottom: .25rem;
    transition: color .3s ease
}

.password-requirements li .fa-check-circle {
    color: #198754
}

.password-requirements li .fa-times-circle {
    color: #dc3545
}

.password-strength-feedback {
    margin-top: 8px;
    padding: 10px;
    border-radius: 4px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef
}

.auth-modal .btn-primary {
    border-radius: 5px;
    width: 100%
}

.auth-modal .social-login {
    margin-top: 20px;
    margin-bottom: 20px
}

.auth-modal .social-login .btn {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 1px solid #ccc!important;
    font-size: 12px
}

.auth-modal .social-login .btn-google {
    background-color: #fff
}

.auth-modal .social-login .btn-google:hover {
    background-color: #f8f9fa
}

.auth-modal .social-login .btn-facebook:hover {
    background-color: #166fe5;
    border-color: #166fe5
}

.auth-modal .divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0
}

.auth-modal .divider::before,.auth-modal .divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e2e8f0
}

.auth-modal .divider span {
    padding: 0 10px;
    color: #718096;
    font-size: 14px;
    font-family: "Roboto Condensed",sans-serif
}

.auth-modal .form-check-input:checked {
    background-color: #3366CC;
    border-color: #3366CC
}

.auth-modal .form-text,.auth-modal .forgot-password {
    font-size: 14px;
    color: #718096;
    font-family: "Roboto Condensed",sans-serif
}

.auth-modal .forgot-password:hover {
    color: #3366CC;
    text-decoration: none
}

.auth-modal .tab-content {
    padding-top: 20px
}

.auth-modal .nav-tabs {
    border-bottom: none;
    margin-bottom: 15px
}

.auth-modal .nav-tabs .nav-link {
    border: none;
    color: #7e7757;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 0;
    border: 1px solid #7e7757;
    border-radius: 5px;
    font-family: "Roboto Condensed",sans-serif
}

.auth-modal .nav-tabs .nav-link.active {
    color: #fffffe;
    background-color: #7e7757;
    border-bottom: 0;
    border-radius: 5px
}

.auth-modal .alert {
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 14px
}

.auth-modal .modal-content {
    animation: modalFadeIn .3s ease-out
}

.mobile-only {
    display: none
}

.desktop-only {
    display: block
}

.nav-link.loading {
    opacity: .6;
    pointer-events: none
}

.nav-link.loading::after {
    content: "";
    width: 12px;
    height: 12px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin-left: 4px
}

.page-header {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-medium)
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 .5rem;
    display: flex;
    align-items: center;
    gap: .75rem
}

.page-title i {
    color: var(--primary-color);
    font-size: 2rem
}

.page-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0;
    font-weight: 400
}

.modern-form {
    position: relative;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    overflow: hidden
}

.form-step {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: all .3s ease-in-out
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    animation: slideInRight .4s ease-out
}

.form-step.prev {
    transform: translateX(-20px)
}

.form-step.next {
    transform: translateX(20px)
}

.form-step.slide-left {
    animation: slideInLeft .4s ease-out
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 1
}

.progress-line {
    position: absolute;
    top: 20px;
    left: 0;
    height: 2px;
    background: var(--primary-color);
    z-index: 2;
    transition: width .3s ease;
    width: 0
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    position: relative;
    z-index: 3;
    flex: 1;
    cursor: pointer;
    transition: all .3s ease;
    background: none;
    border: none
}

.step-item:hover:not(:disabled) {
    transform: translateY(-2px)
}

.step-item:disabled {
    opacity: .6;
    cursor: not-allowed
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #6c757d;
    transition: var(--transition);
    position: relative;
    margin: 0 auto
}

.step-item.active .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 4px rgba(0,123,255,0.2)
}

.step-item.completed .step-number {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white
}

.step-item.completed .step-number::before {
    content: '✓';
    font-size: 14px;
    font-weight: bold
}

.step-text {
    font-size: .85rem;
    color: #6c757d;
    text-align: center;
    font-weight: 500;
    transition: var(--transition);
    max-width: 120px
}

.step-item.active .step-text {
    color: var(--primary-color);
    font-weight: 600
}

.step-item.completed .step-text {
    color: var(--success-color);
    font-weight: 600
}

.progress-container {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-medium)
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 8px;
    transition: all .3s;
    box-shadow: var(--shadow-small)
}

.card:hover {
}

.card-header {
    padding: 1rem;
    margin-bottom: 0;
    background-color: rgba(0,0,0,.03);
    border-bottom: 1px solid rgba(0,0,0,.125)
}

.card-body {
    flex: 1 1 auto;
    padding: 1.25rem
}

.card-body-modern {
    padding: 2rem
}

.card-title {
    margin-bottom: .75rem;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .5rem
}

.card-title i {
    color: var(--primary-color);
    font-size: 1.1rem
}

.card-subtitle {
    color: #6c757d;
    font-size: .9rem;
    margin: 0;
    font-weight: 400
}

.form-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    margin-bottom: 1.5rem;
    overflow: hidden
}

.card-header-modern {
    background: linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color)
}

.ck-editor__editable {
    min-height: 300px!important;
    max-height: 600px;
    border-radius: 0 0 8px 8px!important
}

.ck-editor__top {
    border-radius: 8px 8px 0 0!important
}

.ck.ck-editor__main > .ck-editor__editable {
    background-color: #fff!important
}

.ck.ck-toolbar {
    border-radius: 8px 8px 0 0!important
}

.custom-file-upload {
    position: relative
}

.custom-file-upload .form-control {
    padding-right: 110px
}

.image-preview-container {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.image-preview {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all .2s ease
}

.image-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1)
}

.poll-section {
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px
}

.poll-toggle {
    margin-bottom: 2rem
}

.toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    transition: var(--transition)
}

.toggle-wrapper:hover {
    background: #e9ecef
}

.toggle-input {
    position: relative;
    width: 60px;
    height: 30px;
    appearance: none;
    background: #ccc;
    border-radius: 30px;
    outline: none;
    cursor: pointer;
    transition: var(--transition)
}

.toggle-input:checked {
    background: var(--success-color)
}

.toggle-input::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2)
}

.toggle-input:checked::before {
    transform: translateX(30px)
}

.toggle-label {
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    flex: 1
}

.toggle-description {
    color: #6c757d;
    font-size: .9rem;
    margin: 0
}

.poll-content {
    display: none;
    animation: slideInDown .3s ease-out
}

.poll-content.active {
    display: block
}

.poll-question {
    margin-bottom: 1.5rem
}

.poll-options {
    margin-bottom: 1.5rem
}

.poll-options-list {
    margin-bottom: 1rem
}

.poll-option-item {
    margin-bottom: .75rem
}

.option-input-wrapper {
    display: flex;
    gap: .5rem;
    align-items: center
}

.option-input-wrapper .form-control-modern {
    flex: 1
}

.remove-option-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    background: var(--danger-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0
}

.remove-option-btn:hover:not(:disabled) {
    background: #c82333;
    transform: scale(1.05)
}

.remove-option-btn:disabled {
    opacity: .5;
    cursor: not-allowed
}

.add-option-btn {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1rem;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition)
}

.add-option-btn:hover {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40,167,69,0.3)
}

.poll-settings {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color)
}

.settings-group {
    margin-bottom: 1.5rem
}

.settings-group:last-child {
    margin-bottom: 0
}

.setting-title {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: .75rem
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem
}

.radio-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    padding: .5rem .75rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: white;
    border: 2px solid var(--border-color)
}

.radio-item:hover {
    background: #f0f7ff;
    border-color: var(--primary-color)
}

.radio-item input[type="radio"] {
    margin: 0;
    cursor: pointer
}

.radio-item input[type="radio"]:checked + .radio-label {
    color: var(--primary-color);
    font-weight: 600
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    padding: .5rem .75rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: white;
    border: 2px solid var(--border-color)
}

.checkbox-item:hover {
    background: #f0f7ff;
    border-color: var(--primary-color)
}

.checkbox-item input[type="checkbox"] {
    margin: 0;
    cursor: pointer
}

.thread-form-submit {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem
}

.thread-form-submit .btn {
    padding: .75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all .3s ease
}

.thread-form-submit .btn-primary {
    box-shadow: 0 4px 6px rgba(var(--bs-primary-rgb),0.2)
}

.thread-form-submit .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(var(--bs-primary-rgb),0.3)
}

.thread-form-submit .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    color: #6c757d
}

.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid var(--border-color)
}

.btn-modern {
    padding: .75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .5rem;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,transparent,rgba(255,255,255,0.2),transparent);
    transition: left .5s
}

.btn-modern:hover::before {
    left: 100%
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15)
}

.btn-modern:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none
}

.btn-modern:disabled:hover {
    transform: none;
    box-shadow: none
}

.btn-primary.btn-modern {
    background: linear-gradient(135deg,var(--primary-color) 0%,var(--primary-dark) 100%);
    color: white
}

.btn-secondary.btn-modern {
    background: linear-gradient(135deg,#6c757d 0%,#495057 100%);
    color: white
}

.btn-success.btn-modern {
    background: linear-gradient(135deg,var(--success-color) 0%,#1e7e34 100%);
    color: white
}

.form-group-modern {
    margin-bottom: 1.5rem
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

.half-width {
    flex: 1;
    min-width: 250px
}

.form-label-modern {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: .75rem;
    font-size: .95rem
}

.label-text {
    display: flex;
    align-items: center;
    gap: .5rem
}

.label-required {
    color: var(--danger-color);
    font-weight: 700
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center
}

.form-control-modern {
    width: 100%;
    padding: .875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    line-height: 1.5;
    transition: var(--transition);
    background: white;
    appearance: none
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
    transform: translateY(-1px)
}

.form-control-modern::placeholder {
    color: #adb5bd;
    opacity: 1
}

.form-control-modern.is-invalid {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 3px rgba(220,53,69,0.1)
}

.input-icon {
    position: absolute;
    right: 1rem;
    color: #6c757d;
    pointer-events: none;
    z-index: 2
}

.select-wrapper {
    position: relative
}

.form-select-modern {
    width: 100%;
    padding: .875rem 2.5rem .875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    line-height: 1.5;
    transition: var(--transition);
    background: white;
    appearance: none;
    cursor: pointer
}

.form-select-modern:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1)
}

.form-select-modern.is-invalid {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 3px rgba(220,53,69,0.1)
}

.select-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
    z-index: 2
}

.editor-wrapper {
    position: relative
}

.form-control-modern.editor {
    min-height: 200px;
    resize: vertical;
    font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
    line-height: 1.6
}

.form-help-text {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .5rem;
    font-size: .875rem;
    color: #6c757d;
    line-height: 1.4
}

.form-help-text i {
    color: var(--info-color);
    flex-shrink: 0
}

.error-message {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .5rem;
    color: var(--danger-color);
    font-size: .875rem;
    font-weight: 500
}

.error-message i {
    flex-shrink: 0
}

.upload-area {
    border: 3px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    background: #fafbfc;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: #f0f7ff
}

.upload-area.dragover {
    border-color: var(--success-color);
    background: #f0fff4;
    transform: scale(1.02)
}

.upload-content {
    position: relative;
    z-index: 2
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem
}

.upload-text h4 {
    color: var(--dark-color);
    margin-bottom: .5rem;
    font-weight: 600
}

.upload-text p {
    color: #6c757d;
    margin: 0
}

.upload-link {
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer
}

.upload-link:hover {
    text-decoration: underline
}

.upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 3
}

.image-preview-container {
    margin-top: 1rem
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
    gap: 1rem;
    margin-top: 1rem
}

.image-preview-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-light);
    transition: var(--transition)
}

.image-preview-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium)
}

.preview-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block
}

.image-preview-overlay {
    position: absolute;
    top: 0;
    right: 0;
    padding: .5rem
}

.remove-image-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--danger-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15)
}

.remove-image-btn:hover {
    background: #c82333;
    transform: scale(1.1)
}

.validation-message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    animation: slideInRight .3s ease-out
}

.validation-message.success {
    background: var(--success-color);
    color: white
}

.validation-message.error {
    background: var(--danger-color);
    color: white
}

.validation-message.warning {
    background: var(--warning-color);
    color: var(--dark-color)
}

.form-control-modern:focus + .input-icon,.form-select-modern:focus + .select-icon {
    color: var(--primary-color);
    transform: scale(1.1)
}

.form-group-modern:hover .form-label-modern {
    color: var(--primary-color)
}

.thread-creation-layout {
    background: linear-gradient(135deg,#f5f7fa 0%,#c3cfe2 100%);
    min-height: 100vh;
    padding: 1rem 0
}

.modern-container.with-sidebar {
    max-width: 100%;
    margin: 0;
    padding: 1rem;
    background: transparent;
    min-height: auto
}

.progress-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-light)
}

.progress-container .progress-steps {
    margin: 0
}

.form-card,.progress-container {
    margin-bottom: 1.5rem
}

.form-card:last-child {
    margin-bottom: 0
}

.step-navigation {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem
}

.step-navigation .btn-modern {
    width: 100%;
    justify-content: center
}

.radio-group {
    flex-direction: column
}

.validation-message {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    max-width: none
}

.sr-only {
    position: absolute!important;
    width: 1px!important;
    height: 1px!important;
    padding: 0!important;
    margin: -1px!important;
    overflow: hidden!important;
    clip: rect(0,0,0,0)!important;
    white-space: nowrap!important;
    border: 0!important
}

.step-item:focus,.btn-modern:focus,.form-control-modern:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.25)
}

.step-item {
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition)
}

.step-item:disabled {
    cursor: not-allowed;
    opacity: .6
}

.step-item:not(:disabled):hover {
    transform: translateY(-2px)
}

.step-item:not(:disabled):focus {
    transform: translateY(-2px)
}

.btn-modern:focus-visible,.form-control-modern:focus-visible,.form-select-modern:focus-visible,.toggle-input:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0
}

.sidebar-wrapper {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding-left: 1rem
}

.sidebar-wrapper::-webkit-scrollbar {
    width: 6px
}

.sidebar-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px
}

.sidebar-wrapper::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px
}

.sidebar-wrapper::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8
}

.thread-creation-sidebar .card {
    border: 1px solid rgba(0,0,0,0.08);
    transition: all .2s ease;
    margin-bottom: 1rem
}

.thread-creation-sidebar .card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1)!important;
    transform: translateY(-2px)
}

.thread-creation-sidebar .card-header {
    background: linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);
    border-bottom: 1px solid rgba(0,0,0,0.05)
}

.thread-creation-sidebar .category-link {
    transition: all .2s ease;
    border-radius: 8px
}

.thread-creation-sidebar .category-link:hover {
    background: rgba(0,123,255,0.05);
    transform: translateX(5px)
}

.thread-creation-sidebar .tip-item:hover,.thread-creation-sidebar .rule-item:hover {
    padding-left: 8px;
    transition: padding-left .2s ease
}

.thread-creation-sidebar .user-stats {
    background: linear-gradient(135deg,rgba(0,123,255,0.05),rgba(40,167,69,0.05));
    border-radius: 8px;
    padding: 12px
}

.thread-creation-sidebar .last-activity a:hover {
    color: #007bff!important
}

.thread-creation-sidebar a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px
}

.thread-creation-sidebar .btn:focus {
    box-shadow: 0 0 0 3px rgba(0,123,255,0.25)
}

.thread-creation-sidebar .card {
    animation: fadeInUp .5s ease-out;
    animation-fill-mode: both
}

.thread-creation-sidebar .card:nth-child(1) {
    animation-delay: .1s
}

.thread-creation-sidebar .card:nth-child(2) {
    animation-delay: .2s
}

.thread-creation-sidebar .card:nth-child(3) {
    animation-delay: .3s
}

.thread-creation-sidebar .card:nth-child(4) {
    animation-delay: .4s
}

.thread-creation-sidebar .card:nth-child(5) {
    animation-delay: .5s
}

.search-container {
    padding: 0;
    margin-left: 0;
    background-color: #ffffff;
    border-radius: 0
}

.search-container input {
    background-color: transparent;
    border: none;
    width: 300px!important;
    box-shadow: none!important;
    outline: none!important;
    border-radius: 0;
    height: 45px;
    font-size: 14px
}

.search-container input::placeholder {
    color: #b0b0b0
}

.search-container button {
    padding: 10px;
    box-shadow: none!important;
    outline: none!important;
    border: none
}

.search-header {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center
}

.search-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem
}

.search-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 0 2rem
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
    position: relative
}

.search-input-group {
    display: flex;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md)
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1.125rem;
    background: white;
    color: var(--text-primary)
}

.search-input:focus {
    outline: none
}

.search-input::placeholder {
    color: var(--text-muted)
}

.search-btn {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-fast);
    display: flex;
    align-items: center;
    gap: .5rem
}

.search-btn:hover {
    background: var(--primary-hover)
}

.search-filters {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap
}

.search-filter {
    padding: .5rem 1rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: .875rem;
    transition: all var(--transition-fast)
}

.search-filter:hover,.search-filter.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color)
}

.search-results {
    max-width: 800px;
    margin: 0 auto
}

.search-meta {
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color)
}

.search-meta-text {
    color: var(--text-secondary);
    font-size: .875rem;
    margin: 0
}

.search-query {
    font-weight: 600;
    color: var(--primary-color)
}

.search-count {
    font-weight: 500;
    color: var(--text-primary)
}

.search-time {
    color: var(--text-muted)
}

.search-result {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-fast)
}

.search-result:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px)
}

.search-result:last-child {
    margin-bottom: 0
}

.search-result-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem
}

.search-result-type {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: .25rem .75rem;
    border-radius: var(--border-radius-sm);
    font-size: .75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap
}

.search-result-type.thread {
    background: #e3f2fd;
    color: #1976d2
}

.search-result-type.user {
    background: #f3e5f5;
    color: #7b1fa2
}

.search-result-type.post {
    background: #e8f5e8;
    color: #388e3c
}

.search-result-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 .5rem
}

.search-result-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast)
}

.search-result-title a:hover {
    color: var(--primary-color)
}

.search-result-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1rem
}

.search-highlight {
    background: #fff3cd;
    color: #856404;
    padding: .125rem .25rem;
    border-radius: .125rem;
    font-weight: 500
}

.search-result-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: .875rem;
    color: var(--text-secondary);
    flex-wrap: wrap
}

.search-result-author {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast)
}

.search-result-author:hover {
    color: var(--primary-color)
}

.search-result-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover
}

.search-result-date {
    color: var(--text-muted)
}

.search-result-stats {
    display: flex;
    gap: 1rem;
    align-items: center
}

.search-result-stat {
    display: flex;
    align-items: center;
    gap: .25rem;
    color: var(--text-secondary)
}

.search-no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary)
}

.search-no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: .5
}

.search-no-results-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--text-primary)
}

.search-no-results-text {
    font-size: 1rem;
    margin: 0 0 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto
}

.search-suggestions {
    text-align: left;
    max-width: 400px;
    margin: 0 auto
}

.search-suggestions-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--text-primary)
}

.search-suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.search-suggestions-item {
    margin-bottom: .5rem;
    color: var(--text-secondary)
}

.search-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center
}

.advanced-search {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem
}

.advanced-search-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
    color: var(--text-primary)
}

.advanced-search-row {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 1rem;
    margin-bottom: 1rem
}

.advanced-search-group {
    display: flex;
    flex-direction: column
}

.advanced-search-label {
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: .5rem
}

.advanced-search-input,.advanced-search-select {
    padding: .75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: .875rem
}

.advanced-search-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem
}

.showcase-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all .3s ease;
    position: relative
}

.showcase-card:hover {
    transform: translateY(-5px)
}

.showcase-image {
    position: relative;
    height: 200px;
    overflow: hidden
}

.showcase-image img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform .3s ease
}

.showcase-card:hover .showcase-image img {
    transform: scale(1.05)
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease
}

.showcase-card:hover .showcase-overlay {
    opacity: 1
}

.showcase-actions .btn {
    border-radius: 20px;
    padding: .5rem 1rem;
    font-weight: 500
}

.showcase-content {
    padding: 10px
}

.showcase-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: .75rem;
    object-fit: cover
}

.author-info {
    flex: 1
}

.author-name {
    margin: 0;
    font-weight: 600;
    color: #2c3e50;
    font-size: .9rem
}

.showcase-title {
    margin-bottom: 5px;
    font-weight: 600;
    line-height: 1.3;
    font-size: 16px
}

.showcase-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color .3s ease
}

.showcase-title a:hover {
    color: #3498db
}

.showcase-description {
    color: #6c757d;
    font-size: .9rem;
    line-height: 1.5;
    margin-bottom: 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 10px
}

.showcase-stats {
    display: flex;
    align-items: center;
    color: #6c757d;
    justify-content: space-between;
    font-size: .8rem;
    gap: .75rem;
    font-family: "Archivo Narrow",sans-serif
}

.showcase-stats .stat-item i {
    font-size: .8rem;
    margin-bottom: 0
}

.showcase-stats .badge {
    font-size: .75rem;
    padding: 8px 10px;
    font-family: "Roboto Condensed",sans-serif;
    border-radius: 5px
}

.showcase-skeleton {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05)
}

.showcase-skeleton .skeleton-image {
    height: 200px;
    background: linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite
}

.showcase-skeleton .skeleton-content {
    padding: 1.5rem
}

.showcase-skeleton .skeleton-line {
    height: 12px;
    background: linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 6px;
    margin-bottom: .5rem
}

.showcase-skeleton .skeleton-line.short {
    width: 60%
}

.showcase-skeleton .skeleton-line.medium {
    width: 80%
}

.thread-item-container {
    border-radius: 20px;
    transition: all .3s ease
}

.thread-item {
    margin-bottom: 15px;
    font-family: "Roboto Condensed",sans-serif;
    padding: 10px;
    background-color: #fff
}

.thread-user-name {
    font-size: 15px
}

.thread-category-badges {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    flex: 1;
    width: auto
}

.thread-category-badges .badge,.thread-badges .badge {
    font-size: .75rem;
    padding: .25rem .5rem
}

.thread-badges .badge i {
    margin-right: .25rem
}

.hover-scale {
    transition: transform .2s ease
}

.hover-scale:hover {
    transform: scale(1.05)
}

.thread-user-info .rounded-circle {
    border: 2px solid #e3e6f0;
    transition: all .2s ease;
    object-fit: cover
}

.thread-user-info .rounded-circle:hover {
    transform: scale(1.05);
    border-color: var(--bs-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1)
}

.thread-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .75rem
}

.thread-user-info {
    display: flex;
    align-items: center
}

.thread-title-section {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: .5rem
}

.thread-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 0
}

.thread-title a {
    color: inherit;
    text-decoration: none
}

.thread-title a:hover {
    color: var(--bs-primary)
}

.thread-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem
}

.thread_status {
    display: block;
    align-items: center;
    gap: .25rem;
    margin-right: 3px;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    border: none!important
}

.thread-badges .btn {
    padding: 6px 7px 3px;
    font-size: 11px;
    line-height: 14px;
    text-transform: capitalize
}

.thread-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f1f3f4;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 10px
}

.thread-item-footer .btn {
    padding: 3px 10px
}

.thread-meta-left {
    display: flex;
    gap: .5rem;
    flex-grow: 1;
    justify-content: space-between
}

.thread-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    color: #6c757d;
    justify-content: start;
    margin-bottom: 0;
    font-family: "Roboto Condensed",sans-serif
}

.meta-item,.thread-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-right: .75rem
}

.thread-meta .meta-item i {
    margin-right: .25rem
}

.thread-category-badges {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    flex: 1;
    width: auto;
    justify-content: end
}

.thread-category-badges .badge {
    padding: 6px 8px 5px;
    font-family: "Roboto Condensed",sans-serif;
    border-radius: 5px
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%
}

.avatar:hover {
    transform: scale(1.1)
}

.skeleton-item {
    pointer-events: none
}

.skeleton-text,.skeleton-circle,.skeleton-badge,.skeleton-image,.skeleton-button {
    background: linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite linear
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
    border-radius: 4px;
    width: 100%
}

.skeleton-title {
    height: 20px;
    width: 70%
}

.skeleton-title-long {
    height: 24px;
    width: 90%
}

.skeleton-short {
    width: 40%
}

.skeleton-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%
}

.skeleton-badge {
    height: 24px;
    width: 60px;
    border-radius: 12px;
    margin-right: 8px
}

.skeleton-image {
    height: 100px;
    border-radius: 6px
}

.skeleton-button {
    height: 32px;
    width: 80px;
    border-radius: 4px;
    margin-right: 8px;
    display: inline-block
}

.sidebar-professional {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-bg: #f8f9fa;
    --text-muted: #6c757d;
    padding: 0;
    height: fit-content;
    position: sticky;
    top: 0
}

.sidebar-card {
    background: white;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    transition: all .3s ease;
    overflow: hidden
}

.sidebar-card:hover {
    box-shadow: var(--shadow-lg)
}

.sidebar-card .card-header {
    background: #fff;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    padding-right: 15px;
    padding-left: 15px
}

.sidebar-card .card-header h6 {
    font-size: 18px;
    text-transform: uppercase
}

.sidebar-card .card-body {
    padding: 1rem
}

.community_header {
    text-align: left;
    font-family: "Roboto Condensed",sans-serif
}

.community_header h5 {
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 3px!important
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0
}

.sidebar-card .stat-item {
    text-align: center;
    padding: .75rem;
    background: #fcf9ec;
    border-radius: 8px;
    display: block!important;
    font-family: "Roboto Condensed",sans-serif
}

.stat-number {
    font-size: 1.25rem;
    font-weight: bold;
    color: #080808;
    margin-bottom: .25rem;
    font-family: "Roboto Condensed",sans-serif;
    display: flex!important;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px
}

.stat-number i {
    font-size: 32px;
    color: #0a0a0a;
    opacity: .2
}

.stat-number span {
    font-size: 27px;
    color: #7e7757;
    font-family: "Archivo Narrow",sans-serif
}

.stat-label {
    color: #000000;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 0;
    text-align: left!important;
    padding-left: 0;
    text-align: center!important;
    font-weight: 700;
    font-size: 13px!important
}

.tool-categories {
    display: flex;
    flex-direction: column;
    gap: .25rem
}

.tool-item {
    display: flex;
    align-items: center;
    padding: .5rem .75rem;
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 6px;
    transition: all .2s ease
}

.tool-item:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    transform: translateX(4px)
}

.tool-category-divider {
    margin: .75rem 0 .5rem;
    padding-top: .75rem;
    border-top: 1px solid var(--border-color)
}

.trending-list {
    padding: .5rem 0
}

.trending-item {
    display: flex;
    align-items: center;
    padding: .75rem 1rem;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: background .2s ease
}

.trending-item:last-child {
    border-bottom: none
}

.trending-item:hover {
    background: #fefcf6;
    border: none
}

.trend-rank {
    width: 40px;
    height: 40px;
    background: var(--user-primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-right: .75rem
}

.trend-content {
    flex: 1
}

.trend-name {
    font-weight: 600;
    margin-bottom: .25rem;
    text-transform: capitalize;
    font-size: 14px
}

.trend-indicator i {
    color: var(--user-success)
}

.trend-stats {
    display: flex;
    gap: .75rem;
    font-size: 14px;
    color: var(--text-muted)
}

.discussion-list,.engineers-list,.forums-list {
    padding: .5rem 0;
    padding-bottom: 0
}

.discussion-item,.engineer-item,.forum-item {
    display: flex;
    align-items: center;
    padding: 10px;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    transition: background .2s ease
}

.discussion-item:hover,.engineer-item:hover,.forum-item:hover {
    background: #fefcf6;
    border: none!important;
    transform: none!important
}

.discussion-avatar,.forum-avatar {
    width: 70px;
    height: 70px;
    margin-right: .75rem;
    position: relative
}

.engineer-avatar {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    position: relative
}

.discussion-avatar img,.engineer-avatar img,.forum-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px
}

.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: var(--success-color);
    border: 2px solid white;
    border-radius: 50%
}

.discussion-content,.engineer-info,.forum-info {
    flex: 1
}

.discussion-title,.engineer-name,.forum-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: .25rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical
}

.discussion-title a {
    color: #000
}

.discussion-meta,.forum-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: .5rem
}

.discussion-meta {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical
}

.discussion-meta span {
    margin-right: 13px
}

.discussion-meta span i {
    font-size: 13px
}

.discussion-meta span a {
    color: #6c757d!important
}

.discussion-metrics,.forum-stats {
    display: flex;
    gap: .75rem;
    font-size: .7rem
}

.metric {
    color: var(--bs-primary);
    margin-right: 10px
}

.sidebar-card .card-header .btn {
    border: 1px solid var(--user-primary);
    background-color: var(--user-primary);
    color: #fff;
    padding: 4px 10px;
    font-size: 12px!important
}

.engineer-rank {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: .5rem;
    min-width: 32px;
    font-family: "Archivo Narrow",sans-serif
}

.engineer-badge {
    font-size: .7rem;
    padding: 2px 6px 1px;
    border-radius: 4px;
    margin: .25rem 0;
    display: inline-block
}

.badge-gold {
    background: #ffd700;
    color: #8b6914
}

.badge-silver {
    background: #c0c0c0;
    color: #666
}

.badge-bronze {
    background: #cd7f32;
    color: white
}

.badge-basic {
    background: var(--light-bg);
    color: var(--text-muted)
}

.engineer-score {
    font-size: .7rem;
    color: var(--primary-color);
    font-weight: 600
}

.activity-badge {
    font-size: .7rem;
    padding: .125rem .375rem;
    border-radius: 4px;
    font-weight: 500
}

.activity-high {
    background: #d4edda;
    color: #155724
}

.activity-medium {
    background: #fff3cd;
    color: #856404
}

.activity-low {
    background: #f8d7da;
    color: #721c24
}

.recommendation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 1rem;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color)
}

.rec-title {
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: .25rem
}

.rec-meta {
    font-size: .75rem;
    color: var(--text-muted)
}

.rec-score {
    font-size: .75rem;
    font-weight: bold;
    color: var(--info-color)
}

* {
    box-sizing: border-box
}

.user-fade-in,.user-slide-up,.user-scale-in {
    will-change: transform,opacity
}

img {
    max-width: 100%;
    height: auto
}

html {
    scroll-behavior: smooth
}

::-webkit-scrollbar {
    width: 8px
}

::-webkit-scrollbar-track {
    background: var(--user-bg-secondary)
}

::-webkit-scrollbar-thumb {
    background: var(--user-border-color);
    border-radius: 4px
}

::-webkit-scrollbar-thumb:hover {
    background: var(--user-text-secondary)
}

body.user-frontend {
    font-family: "Roboto Condensed",sans-serif;
    background: var(--user-bg-secondary);
    color: var(--user-text-primary);
    line-height: 1.6;
    font-size: .9rem;
    background-color: #f3f3f3
}

.site-header {
    position: relative
}

.header-banner img {
    height: 194px;
    object-fit: cover
}

.header-content {
    background-color: #000000d1!important;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0
}

.language-switcher .dropdown-toggle {
    color: #fff;
    text-decoration: none;
    padding: 23px 10px
}

.language-switcher .dropdown-toggle:hover {
    color: var(--bs-primary)
}

.language-switcher .dropdown-toggle:focus {
    box-shadow: none;
    padding-top: 22px
}

.language-switcher .dropdown-menu {
    min-width: 200px;
    border: 1px solid rgba(0,0,0,.15);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)
}

.language-switcher .dropdown-item {
    padding: .5rem 1rem;
    transition: all .2s ease
}

.language-switcher .dropdown-item:hover {
    background-color: var(--bs-primary);
    color: white
}

.language-switcher .dropdown-item:hover .text-muted {
    color: rgba(255,255,255,0.8)!important
}

.flag-icon {
    width: 20px;
    height: 15px;
    background-size: cover;
    background-position: center;
    display: inline-block;
    border-radius: 2px
}

.flag-icon-vn {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAyMSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjIxIiBoZWlnaHQ9IjE1IiBmaWxsPSIjREEwMjBFIi8+Cjxwb2x5Z29uIHBvaW50cz0iMTAuNSw0IDEyLjM1LDguNSA4LjY1LDguNSIgZmlsbD0iI0ZGRkYwMCIvPgo8L3N2Zz4K)
}

.flag-icon-us {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAyMSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjIxIiBoZWlnaHQ9IjE1IiBmaWxsPSIjQjIyMjM0Ii8+CjxyZWN0IHdpZHRoPSI5IiBoZWlnaHQ9IjgiIGZpbGw9IiMzQzNDNDEiLz4KPHN0cmlwZSB3aWR0aD0iMjEiIGhlaWdodD0iMSIgZmlsbD0iI0ZGRkZGRiIvPgo8L3N2Zz4K)
}

.navbar-brand.logo img {
    height: 50px;
    max-width: 160px;
    object-fit: contain
}

.nav-link {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding-left: 15px!important;
    padding-right: 15px!important;
    padding-top: 15px;
    padding-bottom: 15px;
    text-transform: uppercase;
    font-family: "Roboto Condensed",sans-serif
}

.nav-link.btn-link {
    padding-top: 15px;
    padding-bottom: 15px
}

.nav-link.btn-link i {
    font-size: 18px
}

.nav-link:focus,.nav-link:hover {
    color: var(--bs-primary)
}

.nav-link.active {
    color: var(--bs-primary);
    position: relative
}

.nav-link.active::after {
    content: ''
}

.nav-item {
    display: flex;
    align-items: center;
    position: relative
}

.nav-item .btn-link {
    border: none
}

.nav-icon .nav-link i {
    font-size: 18px;
    margin-right: 5px
}

.nav-icon .nav-link > span {
    font-family: "Roboto Condensed",sans-serif;
    text-transform: uppercase
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 1px 1px 10px 1px #1212124a;
    min-width: 300px;
    right: 0;
    left: auto;
    padding: 0;
    top: 100%
}

.dropdown-item {
    padding: 10px 20px;
    font-family: "Roboto Condensed",sans-serif;
    color: #1e1e1e
}

.dropdown-item i {
    margin-right: 10px;
    color: #9d9d9d
}

.dropdown-item.active,.dropdown-item:active,.dropdown-item:hover {
    background-color: #7e7757;
    color: #fff
}

.dropdown-item .form-switch input {
    border-radius: 30px;
    cursor: pointer
}

.user-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--user-space-md)
}

.user-main-content {
    min-height: 100vh;
    background: var(--user-bg-secondary);
    transition: var(--user-transition-normal)
}

.user-content-wrapper {
    display: flex;
    min-height: 100vh
}

.user-sidebar-wrapper {
    width: 280px;
    flex-shrink: 0
}

.user-main-wrapper {
    flex: 1;
    padding: var(--user-space-lg);
    overflow-x: hidden
}

.user-header {
    background: var(--user-bg-primary);
    border-bottom: 1px solid var(--user-border-color);
    padding: var(--user-space-md) 0;
    position: sticky;
    top: 0;
    z-index: var(--user-z-header);
    box-shadow: var(--user-shadow-sm)
}

.user-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.user-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--user-text-primary);
    font-weight: 700;
    font-size: 1.5rem
}

.user-logo-icon {
    width: 32px;
    height: 32px;
    margin-right: var(--user-space-sm);
    color: var(--user-primary)
}

.user-nav {
    display: flex;
    align-items: center;
    gap: var(--user-space-lg)
}

.user-nav-link {
    color: var(--user-text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--user-transition-fast);
    padding: var(--user-space-sm) var(--user-space-md);
    border-radius: var(--user-radius-md)
}

.user-nav-link:hover,.user-nav-link.active {
    color: var(--user-primary);
    background: var(--user-primary-light)
}

.user-card {
    background: var(--user-bg-primary);
    border: 1px solid var(--user-border-color);
    border-radius: var(--user-radius-lg);
    padding: var(--user-space-lg);
    box-shadow: var(--user-shadow-sm);
    transition: var(--user-transition-normal)
}

.user-card:hover {
    box-shadow: var(--user-shadow-md);
    transform: translateY(-2px)
}

.user-card-header {
    margin-bottom: var(--user-space-lg);
    padding-bottom: var(--user-space-md);
    border-bottom: 1px solid var(--user-border-color)
}

.user-card-title {
    color: var(--user-text-primary);
    font-weight: 600;
    font-size: 1.125rem;
    margin: 0
}

.user-card-subtitle {
    color: var(--user-text-secondary);
    font-size: .875rem;
    margin: var(--user-space-xs) 0 0
}

.user-card-body {
    color: var(--user-text-primary)
}

.user-card-footer {
    margin-top: var(--user-space-lg);
    padding-top: var(--user-space-md);
    border-top: 1px solid var(--user-border-color);
    display: flex;
    justify-content: space-between;
    align-items: center
}

.user-badge {
    display: inline-flex;
    align-items: center;
    padding: .25rem .75rem;
    border-radius: var(--user-radius-md);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .025em
}

.user-badge.primary {
    background: var(--user-primary-light);
    color: var(--user-primary)
}

.user-badge.success {
    background: rgba(16,185,129,0.1);
    color: var(--user-success)
}

.user-badge.warning {
    background: rgba(245,158,11,0.1);
    color: var(--user-warning)
}

.user-badge.danger {
    background: rgba(239,68,68,0.1);
    color: var(--user-danger)
}

.user-badge.info {
    background: rgba(59,130,246,0.1);
    color: var(--user-info)
}

.user-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--user-space-xs);
    padding: .75rem 1.5rem;
    border: 1px solid transparent;
    border-radius: var(--user-radius-md);
    font-family: 'Inter',sans-serif;
    font-weight: 500;
    font-size: .875rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--user-transition-normal);
    background: none
}

.user-btn.primary {
    background: var(--user-primary);
    color: var(--user-text-white);
    border-color: var(--user-primary)
}

.user-btn.primary:hover {
    background: var(--user-primary-hover);
    border-color: var(--user-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--user-shadow-md)
}

.user-btn.secondary {
    background: var(--user-secondary);
    color: var(--user-text-white);
    border-color: var(--user-secondary)
}

.user-btn.secondary:hover {
    background: var(--user-secondary-hover);
    border-color: var(--user-secondary-hover);
    transform: translateY(-1px);
    box-shadow: var(--user-shadow-md)
}

.user-btn.outline {
    background: transparent;
    color: var(--user-primary);
    border-color: var(--user-primary)
}

.user-btn.outline:hover {
    background: var(--user-primary);
    color: var(--user-text-white)
}

.user-btn.ghost {
    background: transparent;
    color: var(--user-text-secondary);
    border: none
}

.user-btn.ghost:hover {
    background: var(--user-bg-tertiary);
    color: var(--user-text-primary)
}

.user-form-group {
    margin-bottom: var(--user-space-lg)
}

.user-form-label {
    display: block;
    color: var(--user-text-primary);
    font-weight: 500;
    margin-bottom: var(--user-space-sm)
}

.user-form-control {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid var(--user-border-color);
    border-radius: var(--user-radius-md);
    background: var(--user-bg-primary);
    color: var(--user-text-primary);
    font-family: 'Inter',sans-serif;
    transition: var(--user-transition-normal)
}

.user-form-control:focus {
    outline: none;
    border-color: var(--user-primary);
    box-shadow: 0 0 0 .2rem rgba(37,99,235,0.25)
}

.user-text-primary {
    color: var(--user-text-primary)!important
}

.user-text-secondary {
    color: var(--user-text-secondary)!important
}

.user-text-muted {
    color: var(--user-text-muted)!important
}

.user-text-white {
    color: var(--user-text-white)!important
}

.user-bg-primary {
    background: var(--user-bg-primary)!important
}

.user-bg-secondary {
    background: var(--user-bg-secondary)!important
}

.user-bg-tertiary {
    background: var(--user-bg-tertiary)!important
}

.user-border {
    border: 1px solid var(--user-border-color)!important
}

.user-border-top {
    border-top: 1px solid var(--user-border-color)!important
}

.user-border-bottom {
    border-bottom: 1px solid var(--user-border-color)!important
}

.user-border-left {
    border-left: 1px solid var(--user-border-color)!important
}

.user-border-right {
    border-right: 1px solid var(--user-border-color)!important
}

.user-rounded {
    border-radius: var(--user-radius-md)!important
}

.user-rounded-sm {
    border-radius: var(--user-radius-sm)!important
}

.user-rounded-lg {
    border-radius: var(--user-radius-lg)!important
}

.user-rounded-xl {
    border-radius: var(--user-radius-xl)!important
}

.user-shadow {
    box-shadow: var(--user-shadow-sm)!important
}

.user-shadow-md {
    box-shadow: var(--user-shadow-md)!important
}

.user-shadow-lg {
    box-shadow: var(--user-shadow-lg)!important
}

.user-p-xs {
    padding: var(--user-space-xs)!important
}

.user-p-sm {
    padding: var(--user-space-sm)!important
}

.user-p-md {
    padding: var(--user-space-md)!important
}

.user-p-lg {
    padding: var(--user-space-lg)!important
}

.user-p-xl {
    padding: var(--user-space-xl)!important
}

.user-m-xs {
    margin: var(--user-space-xs)!important
}

.user-m-sm {
    margin: var(--user-space-sm)!important
}

.user-m-md {
    margin: var(--user-space-md)!important
}

.user-m-lg {
    margin: var(--user-space-lg)!important
}

.user-m-xl {
    margin: var(--user-space-xl)!important
}

.title_page {
    text-transform: uppercase;
    font-size: 21px!important;
    font-weight: 700
}

.timeframe-filter .btn-group {
    width: 100%
}

.timeframe-filter .btn-group a {
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 13px;
    text-transform: capitalize
}

.showcase-image {
    border: none!important;
    position: relative
}

.showcase-image-link {
    overflow: hidden
}

.showcase-card .card-title {
    text-transform: uppercase;
    line-height: 23px;
    font-size: 15px
}

.showcase-card .card-title a {
    color: var(--user-primary)
}

.showcase-card .card-title a i {
    display: none
}

.showcase-card h6 a {
    color: #000
}

.showcase-card .card-body {
    padding-bottom: 0
}

.showcase-card .card-header .badge {
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #fcf9ec!important;
    color: #7e7757
}

.showcase-card .card-text {
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

.showcase-card .btn-group a {
    text-transform: none;
    padding: 5px 10px
}

.showcase-card .card-footer {
    padding-top: 10px
}

.showcase-card .card-footer .text-muted {
    width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical
}

.search-container {
    position: relative
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-width: 400px;
    min-width: 450px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1050;
    max-height: 500px;
    overflow-y: auto;
    display: none
}

.search-results-dropdown.show {
    display: block
}

.search-scope-options {
    display: flex;
    border-bottom: 1px solid #eee;
    background: #f8f9fa
}

.search-scope-option {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #666;
    border-right: 1px solid #eee;
    transition: all .2s ease
}

.search-scope-option:last-child {
    border-right: none
}

.search-scope-option.active {
    background: #8B7355;
    color: white
}

.search-scope-option:hover:not(.active) {
    background: #e9ecef
}

.search-results-content {
    max-height: 350px;
    overflow-y: auto
}

.search-result-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color .2s ease
}

.search-result-item:hover {
    background-color: #f8f9fa
}

.search-result-item:last-child {
    border-bottom: none
}

.search-results-footer {
    padding: 10px 15px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    text-align: center
}

.advanced-search-link {
    color: #8B7355;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600
}

.advanced-search-link:hover {
    color: #6d5a42
}

.search-result-section-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #333
}

.search-result-item-title a {
    text-decoration: none;
    color: #0066cc
}

.search-result-item-title a:hover {
    text-decoration: underline
}

.search-result-item-content {
    margin: 5px 0;
    line-height: 1.4
}

.search-result-item-meta a {
    text-decoration: none
}

.search-result-item-meta a:hover {
    text-decoration: underline
}

.search-loading,.search-no-results {
    padding: 20px;
    text-align: center;
    color: #666
}

.search-scope.active {
    background-color: var(--bs-primary);
    color: white;
    border-color: var(--bs-primary)
}

.navbar-nav .nav-link.active {
    color: var(--bs-primary)!important;
    font-weight: 500
}

.sticky-top {
    position: fixed;
    top: 0;
    z-index: 1020;
    bottom: auto;
    left: 0;
    right: 0
}

.dropdown-header {
    padding: .5rem 1rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6
}

.dropdown-header h6 {
    margin: 0;
    font-size: .875rem;
    font-weight: 600
}

.dropdown-header small {
    font-size: .75rem
}

#adminDropdown {
    color: #dc3545!important
}

#supplierDropdown {
    color: #198754!important
}

#manufacturerDropdown {
    color: #0d6efd!important
}

#brandDropdown {
    color: #fd7e14!important
}

.nav-item.dropdown:hover .dropdown-toggle {
    background-color: rgba(0,0,0,0.05);
    border-radius: .375rem
}

.dropdown-header img {
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1)
}

.dropdown-menu {
    animation: fadeIn .15s ease-in-out
}

.nav-item.dropdown .nav-link.dropdown-toggle.show {
    background-color: var(--bs-primary);
    color: white!important;
    border-radius: .375rem
}

.card-body {
    border: none
}

.card {
    border: none
}

.title_page_sub {
    text-transform: uppercase;
    font-size: 18px!important;
    line-height: 25px;
    margin-bottom: 20px
}

.showcase-card .rounded {
    margin-top: 0!important;
    margin-bottom: 5px
}

.showcase-card .text-description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

.input-group.input_group_search input {
    height: 42px;
    border: 1px solid var(--bs-primary)
}

.input-group.input_group_search button {
    background-color: var(--bs-primary);
    border: 1xp solid var(--bs-primary);
    color: #fff
}

.select_search {
    height: 42px;
    border: 1px solid var(--bs-primary);
    font-size: 14px;
    font-weight: 500;
    color: #444444;
    padding: 5px 15px;
}

.btn_group_search {
    border-end-end-radius: 4px;
    overflow: hidden
}

.btn_group_search label {
    font-size: 13px;
    padding: 10px;
    height: 42px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid var(--bs-primary)
}

.btn_group_search.btn-group>.btn-check:checked+.btn {
    background-color: var(--bs-primary);
    color: #fff;
    border: 1px solid var(--bs-primary)
}

.btn_group_search label:hover {
    border: 1px solid var(--bs-primary)!important;
    color: var(--bs-primary)!important
}

.input_search {
    height: 42px;
    border-radius: 5px;
    border: 1px solid var(--bs-primary)
}

.btn.btn-search {
    height: 42px
}

.badge {
    padding: 5px 8px;
    line-height: 14px;
    font-size: 12px;
    font-weight: 400;
    font-family: "Archivo Narrow",sans-serif
}

.list_post_threads_footer nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
    font-family: Arial,sans-serif
}

.list_post_threads_footer .flex {
    display: flex!important
}

.list_post_threads_footer .hidden {
    display: none!important
}

.list_post_threads_footer a {
    min-width: 30px;
    padding: 5px 12px!important;
    text-decoration: none;
    border: 1px solid var(--bs-primary)!important;
    color: var(--bs-primary)!important;
    border-radius: 5px
}

.list_post_threads_footer .inline-flex {
    display: inline-flex
}

.list_post_threads_footer .items-center {
    align-items: center
}

.list_post_threads_footer .justify-between {
    justify-content: space-between
}

.list_post_threads_footer .rounded-md,.list_post_threads_footer .rounded-l-md,.list_post_threads_footer .rounded-r-md {
    border-radius: .25rem
}

.list_post_threads_footer .px-2 {
    padding-left: .5rem;
    padding-right: .5rem
}

.list_post_threads_footer .px-4 {
    padding-left: 1rem;
    padding-right: 1rem
}

.list_post_threads_footer .py-2 {
    padding-top: .5rem!important;
    padding-bottom: .5rem!important
}

.list_post_threads_footer .ml-3,.list_post_threads_footer .-ml-px {
    margin-left: .25rem
}

.list_post_threads_footer .text-sm {
    font-size: 14px
}

.list_post_threads_footer .font-medium {
    font-weight: 500
}

.list_post_threads_footer .text-gray-700,.list_post_threads_footer .text-gray-500,.list_post_threads_footer .text-gray-300,.list_post_threads_footer .text-gray-400 {
    color: #495057
}

.list_post_threads_footer .bg-white {
    background-color: #fff
}

.list_post_threads_footer .border {
    border: 1px solid #dee2e6
}

.list_post_threads_footer .border-gray-300,.list_post_threads_footer .border-gray-600 {
    border-color: #dee2e6
}

.list_post_threads_footer .cursor-default {
    cursor: default
}

.list_post_threads_footer .page-link {
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: .2s;
    text-decoration: none
}

.list_post_threads_footer a:hover,.list_post_threads_footer a:focus {
    background-color: #e9ecef;
    color: #0056b3;
    text-decoration: none
}

.list_post_threads_footer .active,.list_post_threads_footer .active > a {
    background-color: #007bff;
    color: #fff!important;
    border-color: #007bff;
    pointer-events: none
}

.list_post_threads_footer .disabled,.list_post_threads_footer .disabled > span {
    pointer-events: none;
    background-color: #f8f9fa;
    color: #6c757d
}

.btn_group_search a {
    height: 42px;
    border: 1px solid var(--bs-primary);
    border-radius: 6px
}

.btn_group_search a.active {
    background-color: var(--bs-primary)
}

.btn_group_search a:hover {
    background-color: var(--bs-primary)
}

.nav-tabs .nav-link {
    color: var(--bs-primary);
    padding: 10px 30px!important
}

.nav-tabs .nav-item.show .nav-link,.nav-tabs .nav-link.active {
    background-color: var(--bs-primary);
    color: #fff
}

.dropdown_sort button {
    height: 37px;
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary)
}

.dropdown_sort ul {
    width: 100%;
    border-radius: 0 0 5px 5px;
    border: 1px solid var(--bs-primary);
    border-top: none;
    padding: 0
}

.dropdown_sort ul li a {
    font-size: 14px
}

.item_member_grid {
    border: 1px solid #b9b39a
}

.item_member_grid .card-body {
    padding: 7px
}

.item_member_grid .card-body h5 {
    display: block;
    font-size: 16px;
    font-weight: 500
}

.item_member_grid .card-body h5 a {
    color: #444444
}

.item_member_grid .card-footer .col-4 {
    padding-left: 5px;
    padding-right: 5px;
    font-family: "Archivo Narrow",sans-serif
}

.user-focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 .2rem rgba(37,99,235,0.25);
    border-radius: var(--user-radius-sm)
}

.user-loading {
    position: relative;
    pointer-events: none;
    opacity: .7
}

.user-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--user-border-color);
    border-top: 2px solid var(--user-primary);
    border-radius: 50%;
    transform: translate(-50%,-50%)
}

.sidebar-wrapper {
    margin-top: 1.5rem
}

.thread-creation-sidebar .card {
    margin-bottom: .75rem
}

.thread-creation-sidebar .card-body {
    padding: 1rem
}

.search-header {
    padding: 1.5rem
}

.search-title {
    font-size: 1.5rem
}

.search-input-group {
    flex-direction: column;
    border-radius: var(--border-radius-md)
}

.search-btn {
    border-top: 1px solid var(--border-color)
}

.search-filters {
    justify-content: center
}

.search-result {
    padding: 1rem
}

.search-result-header {
    flex-direction: column;
    align-items: stretch
}

.search-result-meta {
    flex-direction: column;
    gap: .5rem;
    align-items: flex-start
}

.advanced-search-row {
    grid-template-columns: 1fr
}

.advanced-search-actions {
    flex-direction: column
}

.author-avatar {
    width: 35px;
    height: 35px
}

.user-container {
    padding: 0 var(--user-space-sm)
}

.user-content-wrapper {
    flex-direction: column
}

.user-sidebar-wrapper {
    width: 100%
}

.user-main-wrapper {
    padding: var(--user-space-md)
}

.user-nav {
    gap: var(--user-space-md)
}

.user-card {
    padding: var(--user-space-md)
}

.user-btn {
    width: 100%;
    justify-content: center
}

.search-results-dropdown {
    min-width: 300px;
    left: -50px;
    right: -50px
}

.showcase-rating {
}

.showcase-rating .rating-display {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px
}

.showcase-rating .rating-display .rating-text {
    padding-top: 3px;
    font-size: 13px
}

.showcase-badges {
    position: absolute;
    z-index: 100;
    top: 10px;
    right: 10px
}

.showcase-badges .badge {
    display: block;
    background-color: var(--bs-primary);
    margin-bottom: 5px
}

.showcase-tech-info .tech-item {
    display: flex;
    align-items: center
}

.title_page_sub i {
    color: var(--bs-primary)!important;
    position: relative;
    top: 1px;
    font-size: 23px
}

.mega-menu-dropdown .dropdown-menu.mega-menu {
    position: absolute;
    float: none;
    width: 100%;
    min-width: 750px;
    max-width: 100%;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,0.15);
    padding: 0;
    margin-top: .5rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%)!important
}

.mega-menu-container {
    padding: 15px;
    background: #fff;
    border-radius: 0 0 10px 10px
}

.mega-menu-section {
    padding: 0 10px
}

.mega-menu-header {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--bs-primary);
    text-transform: uppercase;
    letter-spacing: .5px
}

.mega-menu-header i {
    font-size: 18px;
    color: var(--bs-primary)!important
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.mega-menu-list li {
    margin-bottom: 0
}

.mega-menu-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    color: #495057;
    text-decoration: none;
    border-radius: .375rem;
    transition: all .2s ease;
    background: transparent
}

.mega-menu-item:hover {
    background-color: #f8f9fa;
    color: #7e7757;
    text-decoration: none
}

.mega-menu-item i {
    font-size: 15px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    color: #9f9f9f!important
}

.mega-menu-item-content {
    flex: 1;
    min-width: 0
}

.mega-menu-item-title {
    display: block;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: .125rem;
    text-transform: uppercase
}

.mega-menu-item-desc {
    display: block;
    font-size: .75rem;
    color: #6c757d;
    line-height: 1.2;
    font-style: italic
}

.badge-coming-soon {
    background-color: #ffc107;
    color: #212529;
    font-size: .65rem;
    padding: .25rem .5rem;
    border-radius: .25rem;
    margin-left: .5rem;
    font-weight: 500
}

.mega-menu-stats {
    background: #f8f9fa;
    border-radius: .375rem;
    padding: 1rem;
    margin: 0 -.5rem
}

.stat-item {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-right: 10px;
    font-size: 14px
}

.stat-item i {
    font-size: 1.25rem;
    margin-bottom: .25rem
}

.stat-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057
}

.stat-label {
    font-size: .75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .5px
}

@media (max-width: 992px) {
    .mega-menu-dropdown .dropdown-menu.mega-menu {
        min-width:600px;
        max-width: 700px
    }

    .mega-menu-container {
        padding: 1rem
    }

    .mega-menu-section {
        padding: 0 .5rem
    }

    .mega-menu-stats {
        margin: 0
    }
}

@media (max-width: 768px) {
    .mega-menu-dropdown .dropdown-menu.mega-menu {
        position:relative;
        width: 100%;
        min-width: auto;
        max-width: none;
        left: 0!important;
        right: 0!important;
        transform: none!important
    }

    .mega-menu-container .row {
        flex-direction: column
    }

    .mega-menu-container .col-md-4 {
        width: 100%;
        margin-bottom: 1rem
    }

    .mega-menu-container .col-md-4:last-child {
        margin-bottom: 0
    }

    .mega-menu-section {
        padding: 0;
        border-bottom: 1px solid #e9ecef;
        padding-bottom: 1rem;
        margin-bottom: 1rem
    }

    .mega-menu-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0
    }

    .mega-menu-stats {
        flex-direction: column;
        gap: .75rem
    }

    .stat-item {
        flex-direction: row;
        justify-content: space-between;
        text-align: left
    }

    .stat-item i {
        margin-bottom: 0;
        margin-right: .5rem
    }
}

.mega-menu-dropdown .dropdown-menu.mega-menu {
    opacity: 1;
    transform: translateY(-10px);
    transition: all .3s ease
}

.mega-menu-dropdown.show .dropdown-menu.mega-menu {
    opacity: 1;
    transform: translateY(0)
}

.mega-menu-item:hover i {
    color: var(--bs-primary)!important
}

.activity-indicator {
    background: var(--bs-primary);
    color: white;
    font-size: .7rem;
    padding: .2rem .5rem;
    border-radius: 12px;
    font-weight: 600;
    margin-left: auto;
    min-width: 20px;
    text-align: center
}

.activity-indicator.cart-count {
    background: #dc3545;
    animation: pulse 2s infinite
}

@keyframes pulse {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.1)
    }

    100% {
        transform: scale(1)
    }
}

.mega-menu-container .col-md-3 {
    border-right: 1px solid #e9ecef
}

.mega-menu-container .col-md-3:last-child {
    border-right: none
}

.mega-menu-header .text-primary {
    color: #0d6efd!important
}

.mega-menu-header .text-success {
    color: #198754!important
}

.mega-menu-header .text-warning {
    color: #ffc107!important
}

.mega-menu-header .text-info {
    color: #0dcaf0!important
}

.add-mega-menu {
    background: linear-gradient(135deg,#f1f8ff 0%,#e3f2fd 100%);
    border: 1px solid #bbdefb;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(33,150,243,0.1);
    padding: 2rem;
    margin-top: .5rem;
    min-height: 450px;
    position: relative;
    overflow: hidden
}

.add-mega-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,#2196f3,#21cbf3,#2196f3);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite
}

@keyframes shimmer {
    0%,100% {
        background-position: 200% 0
    }

    50% {
        background-position: -200% 0
    }
}

.add-mega-menu .mega-menu-section {
    background: rgba(255,255,255,0.8);
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all .3s ease
}

.add-mega-menu .mega-menu-section:hover {
    background: rgba(255,255,255,0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33,150,243,0.15)
}

.add-mega-menu .mega-menu-header {
    color: #1976d2;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid #e3f2fd;
    display: flex;
    align-items: center
}

.add-mega-menu .mega-menu-item {
    display: flex;
    align-items: center;
    padding: .75rem;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all .2s ease;
    margin-bottom: .5rem;
    border: 1px solid transparent
}

.add-mega-menu .mega-menu-item:hover {
    background: linear-gradient(135deg,#e3f2fd 0%,#f1f8ff 100%);
    border-color: #bbdefb;
    transform: translateX(5px);
    text-decoration: none;
    color: #1976d2
}

.add-mega-menu .mega-menu-item i {
    width: 20px;
    text-align: center;
    margin-right: .75rem;
    font-size: 1.1rem
}

.add-mega-menu .mega-menu-item-content {
    flex: 1
}

.add-mega-menu .mega-menu-item-title {
    font-weight: 500;
    font-size: .95rem;
    display: block;
    margin-bottom: .25rem
}

.add-mega-menu .mega-menu-item-desc {
    font-size: .8rem;
    color: #666;
    line-height: 1.3
}

.add-mega-menu .mega-menu-footer {
    background: rgba(255,255,255,0.9);
    border-top: 1px solid #e3f2fd;
    padding: 1rem 0;
    margin-top: 1.5rem;
    border-radius: 0 0 8px 8px
}

.add-mega-menu .form-check-input:checked {
    background-color: #2196f3;
    border-color: #2196f3
}

.add-mega-menu .activity-indicator {
    background: linear-gradient(135deg,#2196f3,#21cbf3);
    color: white;
    font-size: .75rem;
    font-weight: 600;
    padding: .25rem .5rem;
    border-radius: 12px;
    margin-left: auto;
    min-width: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(33,150,243,0.3)
}

@media (max-width: 768px) {
    .add-mega-menu {
        padding:1rem;
        min-height: auto
    }

    .add-mega-menu .mega-menu-section {
        padding: 1rem;
        margin-bottom: 1rem
    }

    .add-mega-menu .mega-menu-footer {
        text-align: center
    }

    .add-mega-menu .mega-menu-footer .col-md-4,.add-mega-menu .mega-menu-footer .col-md-8 {
        text-align: center;
        margin-bottom: .5rem
    }
}

.mega-menu-search-box {
    position: relative;
    margin-top: .5rem;
    padding: .75rem;
    background: #f8f9fa;
    border-radius: .375rem;
    border: 1px solid #e9ecef
}

.mega-menu-search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 .375rem .375rem;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,0.075);
    z-index: 1000;
    display: none;
    max-height: 200px;
    overflow-y: auto
}

.mega-menu-suggestion-item {
    padding: .5rem .75rem;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    font-size: .875rem;
    transition: background-color .2s ease
}

.mega-menu-suggestion-item:hover {
    background-color: #f8f9fa;
    color: #7e7757
}

.mega-menu-suggestion-item:last-child {
    border-bottom: none
}

.activity-indicator {
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 5px 7px 4px;
    border-radius: .75rem;
    margin-left: auto;
    min-width: 1.5rem;
    text-align: center;
    line-height: 1.2;
    display: inline-block
}

.activity-indicator.trending {
    background: #dc3545;
    color: #ffffff
}

.activity-indicator.online {
    background: #17a2b8
}

.activity-indicator:empty {
    display: none
}

.search-results-header {
    background-color: #f8f9fa;
    font-size: .875rem;
    color: #6c757d
}

.search-result-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0
}

.search-result-image {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0
}

.search-result-item .badge {
    font-size: .7rem;
    font-weight: 500
}

.search-result-item-meta span {
    display: inline-block;
    white-space: nowrap;
    font-size: .75rem
}

.search-result-item-meta i {
    opacity: .7;
    width: 12px;
    text-align: center
}

.search-result-section-title i {
    color: #8B7355;
    opacity: .8
}

.search-result-item .d-flex {
    align-items: flex-start;
    gap: .75rem
}

.search-result-item-title {
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: .25rem;
    line-height: 1.3
}

.search-result-item-content {
    font-size: .8rem;
    color: #6c757d;
    margin-bottom: .5rem;
    line-height: 1.4
}

[data-theme="dark"] .search-results-header {
    background-color: #2d3748;
    border-color: #4a5568;
    color: #a0aec0
}

[data-theme="dark"] .search-result-section-title {
    background-color: #2d3748;
    color: #e2e8f0;
    border-color: #4a5568
}

[data-theme="dark"] .search-result-item {
    border-color: #4a5568
}

[data-theme="dark"] .search-result-item:hover {
    background-color: #2d3748
}

[data-theme="dark"] .search-result-item-content {
    color: #a0aec0
}

[data-theme="dark"] .search-results-dropdown {
    background: #1a202c;
    border-color: #4a5568
}

.hc-mobile-nav-toggle {
    display: none;
    padding: .375rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .375rem;
    transition: box-shadow .15s ease-in-out
}

.hc-mobile-nav-toggle:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(126,119,87,0.25)
}

.hc-mobile-nav-toggle .navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833,37,41,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%
}

@media (max-width: 991.98px) {
    .hc-mobile-nav-toggle {
        display:inline-block
    }
}

.hc-offcanvas-nav {
    background-color: #ffffff;
    color: #495057;
    font-family: 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif
}

.hc-offcanvas-nav .nav-wrapper {
    background-color: #ffffff
}

.hc-offcanvas-nav .nav-header {
    background-color: #7e7757;
    color: #ffffff;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef
}

.hc-offcanvas-nav .nav-title {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0
}

.hc-offcanvas-nav ul {
    background-color: #ffffff
}

.hc-offcanvas-nav li {
    border-bottom: 1px solid #f8f9fa
}

.hc-offcanvas-nav li:last-child {
    border-bottom: none
}

.hc-offcanvas-nav a {
    color: #495057;
    padding: .875rem 1rem;
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all .2s ease
}

.hc-offcanvas-nav a:hover {
    background-color: #f8f9fa;
    color: #7e7757;
    text-decoration: none
}

.hc-offcanvas-nav a:focus {
    background-color: #e9ecef;
    color: #7e7757;
    outline: none
}

.hc-offcanvas-nav a i {
    width: 20px;
    text-align: center;
    margin-right: .75rem;
    font-size: 1rem;
    flex-shrink: 0
}

.hc-offcanvas-nav .nav-next {
    color: #6c757d;
    font-size: .875rem
}

.hc-offcanvas-nav .nav-next:hover {
    color: #7e7757
}

.hc-offcanvas-nav .nav-title {
    background-color: #7e7757;
    color: #ffffff;
    font-weight: 600;
    padding: 1rem;
    margin: 0;
    border-bottom: 1px solid #e9ecef
}

.hc-offcanvas-nav .nav-back {
    background-color: #f8f9fa;
    color: #7e7757;
    font-weight: 500;
    border-bottom: 1px solid #e9ecef
}

.hc-offcanvas-nav .nav-back:hover {
    background-color: #e9ecef;
    color: #7e7757
}

.hc-offcanvas-nav .nav-close {
    background-color: #dc3545;
    color: #ffffff;
    font-weight: 500;
    text-align: center;
    border-bottom: 1px solid #e9ecef
}

.hc-offcanvas-nav .nav-close:hover {
    background-color: #c82333;
    color: #ffffff
}

.hc-offcanvas-nav .badge-coming-soon {
    background-color: #ffc107;
    color: #212529;
    font-size: .65rem;
    padding: .25rem .5rem;
    border-radius: .25rem;
    margin-left: auto;
    font-weight: 500
}

.hc-offcanvas-nav .nav-item-active > a {
    background-color: #7e7757;
    color: #ffffff
}

.hc-offcanvas-nav .nav-item-active > a:hover {
    background-color: #6d6649;
    color: #ffffff
}

.hc-offcanvas-nav-overlay {
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px)
}

.hc-offcanvas-nav {
    transition: transform .3s ease-in-out
}

.hc-offcanvas-nav .nav-wrapper::-webkit-scrollbar {
    width: 6px
}

.hc-offcanvas-nav .nav-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1
}

.hc-offcanvas-nav .nav-wrapper::-webkit-scrollbar-thumb {
    background: #7e7757;
    border-radius: 3px
}

.hc-offcanvas-nav .nav-wrapper::-webkit-scrollbar-thumb:hover {
    background: #6d6649
}

@media (prefers-color-scheme: dark) {
    .hc-offcanvas-nav {
        background-color:#1a1a1a;
        color: #e9ecef
    }

    .hc-offcanvas-nav .nav-wrapper {
        background-color: #1a1a1a
    }

    .hc-offcanvas-nav a {
        color: #e9ecef
    }

    .hc-offcanvas-nav a:hover {
        background-color: #2d2d2d;
        color: #ffffff
    }

    .hc-offcanvas-nav li {
        border-bottom-color: #2d2d2d
    }
}

.btn-main {
    background-color: #fff;
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary)
}

.btn-main:hover,.btn-main:focus {
}

.btn-main.active {
    background-color: var(--bs-primary);
    color: #fff;
    border: 1px solid var(--bs-primary)
}

.btn-main.active:hover,.btn-main.active:focus {
    background-color: #fff;
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary)
}

.btn_meta {
    padding: 4px 0;
    color: #898686;
    border: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    margin-right: 19px;
}

.btn_meta .badge {
    margin-left: 5px;
    padding: 3px 5px
}

.btn-main.no-border {
    border: none
}

.btn-share,.btn-traloi {
    padding: 5px 10px;
    font-size: 14px;
    display: flex;
    align-items: center
}

.dropdown-button {
}

.dropdown-button .dropdown-menu {
    border: none
}

.dropdown-button .dropdown-menu li {
}

.dropdown-button .dropdown-menu li a {
    font-size: 14px;
    padding: 5px 15px
}

.content-error {
    display: none
}

.upload-progress {
    display: none
}

.upload-progress .progress-bar {
    width: 0
}

.reply-to-info {
    display: none
}

.file-upload-area {
    border: 2px dashed #e0e7ff;
    border-radius: 12px;
    background: linear-gradient(135deg,#f8faff 0%,#f1f5ff 100%);
    transition: all .3s ease;
    position: relative;
    overflow: hidden
}

.upload-zone {
    position: relative;
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all .3s ease;
    min-height: 160px;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    height: 100%;
}

.upload-zone:hover {
    background: linear-gradient(135deg,#f0f4ff 0%,#e8f2ff 100%);
    border-color: #c7d2fe;
    /* transform: translateY(-2px); */
}

.upload-zone.drag-over {
    border-color: #4f46e5;
    background: linear-gradient(135deg,#eef2ff 0%,#e0e7ff 100%);
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(79,70,229,0.15)
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer
}

.upload-content {
    pointer-events: none
}

.upload-icon {
    font-size: 3rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
    animation: float 2s ease-in-out infinite
}

.upload-text h6 {
    color: #374151;
    font-weight: 600;
    margin-bottom: .5rem
}

.upload-text p {
    color: #6b7280;
    margin-bottom: .5rem;
    font-size: .9rem
}

.upload-text .text-primary {
    color: var(--bs-primary) !important;
    cursor: pointer;
    text-decoration: underline
}

.image-previews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(120px,1fr));
    gap: 1rem;
    padding: 0;
    padding-left: 10px;
    padding-right: 10px;
}

.image-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 2px solid #f3f4f6;
    transition: all .3s ease;
    aspect-ratio: 1;
    cursor: pointer
}

.image-preview:hover {
    border-color: #d1d5db;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1)
}

.preview-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease
}

.image-preview:hover .preview-image img {
    transform: scale(1.05)
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,0.1) 50%,rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: .5rem;
    opacity: 0;
    transition: opacity .3s ease
}

.image-preview:hover .image-overlay {
    opacity: 1
}

.image-info {
    align-self: flex-start
}

.file-name {
    color: white;
    font-size: .75rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    margin-bottom: 2px
}

.file-size {
    color: rgba(255,255,255,0.8);
    font-size: .7rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5)
}

.image-actions {
    align-self: flex-end;
    display: flex;
    gap: .25rem
}

.btn-action {
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    backdrop-filter: blur(4px)
}

.btn-action:hover {
    background: rgba(255,255,255,1);
    transform: scale(1.1)
}

.btn-action.btn-remove {
    background: rgba(239,68,68,0.9);
    color: white
}

.btn-action.btn-remove:hover {
    background: rgba(220,38,38,1)
}

.btn-action.btn-view {
    color: #374151
}

.add-more-btn {
    border: 2px dashed #d1d5db;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s ease
}

.add-more-btn:hover {
    border-color: #6366f1;
    background: #f0f4ff;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(99,102,241,0.15)
}

.add-more-content {
    text-align: center;
    color: #6b7280
}

.add-more-content i {
    font-size: 1.5rem;
    margin-bottom: .5rem;
    display: block
}

.add-more-content span {
    font-size: .8rem;
    font-weight: 500
}

.add-more-btn:hover .add-more-content {
    color: #6366f1
}

.file-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    background: #f8fafc
}

.file-icon {
    font-size: 2rem;
    color: #6b7280;
    margin-bottom: .5rem
}

.file-preview .file-info {
    flex: 1;
    margin-bottom: .5rem
}

.file-preview .btn-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(239,68,68,0.9);
    color: white
}

.upload-progress {
    padding: .75rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb
}

.progress {
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    overflow: hidden;
    margin-bottom: .25rem
}

.progress-bar {
    background: linear-gradient(90deg, #7e7657, #a59c75);
    height: 100%;
    transition: width .3s ease
}

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1060;
    display: none;
    align-items: center;
    justify-content: center
}

.image-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem
}

.image-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    animation: modalSlideIn .3s ease-out
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px)
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0)
    }
}

.image-modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc
}

.image-modal-header h5 {
    margin: 0;
    font-weight: 600;
    color: #374151;
    flex: 1;
    font-size: 1rem
}

.btn-close-modal {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #6b7280;
    cursor: pointer;
    padding: .25rem;
    border-radius: 4px;
    transition: all .2s ease
}

.btn-close-modal:hover {
    background: #e5e7eb;
    color: #374151
}

.image-modal-body {
    padding: 0;
    max-height: 70vh;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center
}

.image-modal-body img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block
}

@media (max-width: 768px) {
    .image-previews-grid {
        grid-template-columns:repeat(auto-fill,minmax(100px,1fr));
        gap: .75rem
    }

    .upload-zone {
        padding: 1.5rem 1rem;
        min-height: 120px
    }

    .upload-icon {
        font-size: 2.5rem
    }

    .upload-text h6 {
        font-size: .9rem
    }

    .upload-text p {
        font-size: .8rem
    }

    .image-modal-content {
        max-width: 95vw;
        max-height: 95vh
    }

    .image-modal-header {
        padding: .75rem 1rem
    }
}

@media (prefers-color-scheme: dark) {
    .file-upload-area {
        border-color:#4a5568;
        background: linear-gradient(135deg,#2d3748 0%,#1a202c 100%)
    }

    .upload-zone:hover {
        background: linear-gradient(135deg,#4a5568 0%,#2d3748 100%);
        border-color: #718096
    }

    .upload-zone.drag-over {
        border-color: #805ad5;
        background: linear-gradient(135deg,#553c9a 0%,#4c51bf 100%)
    }

    .upload-text h6 {
        color: #e2e8f0
    }

    .upload-text p {
        color: #a0aec0
    }

    .image-preview {
        background: #2d3748;
        border-color: #4a5568
    }

    .image-preview:hover {
        border-color: #718096
    }

    .add-more-btn {
        border-color: #4a5568;
        background: #2d3748
    }

    .add-more-btn:hover {
        border-color: #805ad5;
        background: #553c9a
    }

    .file-preview {
        background: #2d3748
    }

    .image-modal-content {
        background: #2d3748
    }

    .image-modal-header {
        background: #1a202c;
        border-color: #4a5568
    }

    .image-modal-header h5 {
        color: #e2e8f0
    }

    .btn-close-modal {
        color: #a0aec0
    }

    .btn-close-modal:hover {
        background: #4a5568;
        color: #e2e8f0
    }
}

.image-preview {
    margin-right: .5rem;
    margin-bottom: .5rem;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: inline-block;
    display: flex
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px
}

.remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(220,53,69,0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center
}

.remove-image:hover {
    background: rgba(220,53,69,1)
}

.btn-save,.btn-follow,.btn-share,.btn-traloi {
    transition: all .2s ease
}

.btn-save:hover,.btn-follow:hover,.btn-share:hover,.btn-traloi:hover {
    /* transform:translateY(-1px); */
    /* box-shadow:0 4px 8px rgba(0,0,0,0.1); */
}

a {
    color: var(--bs-primary);
    text-decoration: none;
}
.btn_meta.active, .btn_meta:hover{color: var(--bs-primary);font-weight: 700;}
.thread-image-container img{height: 120px;width: 100%;object-fit: cover;}
@keyframes float {
    0%,100% {
        transform: translateY(0px)
    }

    50% {
        transform: translateY(-8px)
    }
}
