/***************  Header ***************/
.header-buttons {
    display: flex;
    gap: 6px;
}
.main-header {
    z-index: 1001;
}
.header-brand {
    min-width: 0;
}
.header-brand-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
}
.header-brand-text {
    min-width: 0;
    white-space: nowrap;
}
.header-brand-title {
    font-size: 1.05rem;
}
.header-brand-description {
    font-size: 0.68rem;
}
.header-circle-btn {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
}
.header-search-input {
    min-height: 44px;
    padding-left: 48px;
    padding-right: 16px;
}
.header-search-icon {
    left: 16px;
    z-index: 2;
    pointer-events: none;
}
.mobile-menu {
    width: min(340px, 88vw) !important;
}
.mobile-menu-brand-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}
.mobile-menu-link {
    min-height: 52px;
    transition: background-color 0.2s ease;
}
.mobile-menu-link:hover {
    background-color: var(--bs-light);
}
.mobile-menu-link-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
}
.header-back-spinner {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    border: 3px solid rgba(150, 150, 150, 0.3);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: headerSpinner 0.8s linear infinite;
}
@keyframes headerSpinner {
    to {
        transform: rotate(360deg);
    }
}
@media (max-width: 575.98px) {
    .header-main-row {
        gap: 6px !important;
    }
    .header-brand-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
    .header-brand-icon svg {
        width: 21px;
        height: 21px;
    }
    .header-brand-title {
        font-size: 0.92rem;
    }
    .header-brand-description {
        font-size: 0.58rem;
    }
    .header-circle-btn {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
    .header-circle-btn svg {
        width: 20px;
        height: 20px;
    }
    .header-actions {
        gap: 4px !important;
    }
    .header-login-btn {
        padding: 7px 10px !important;
        font-size: 0.82rem;
    }
}
@media (max-width: 390px) {
    .header-brand-description {
        display: none;
    }
    .header-brand-title {
        font-size: 0.88rem;
    }
}
.dropdown-menu .dropdown-item {
    padding: .45rem 0.8rem;
    border-radius: .6rem;
    margin-bottom: .2rem;
}
.dropdown-menu li:last-child .dropdown-item {
    margin-bottom: 0;
}
/***************  End: Header ***************/


/***************  Breadcrumb ***************/
.breadcrumb-scroll::-webkit-scrollbar {
    display: none;
}
.breadcrumb-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
    white-space: nowrap;
}
.breadcrumb-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 50rem;
    color: #4a4a4a;
    text-decoration: none;
    background-color: #ffffff;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}
a.breadcrumb-pill:hover {
    background-color: #f8f9fa;
    border-color: #d0d0d0;
    color: #000000;
}
span.breadcrumb-pill {
    cursor: default;
    background-color: #f5f5f5;
    color: #888888;
}
.breadcrumb-pill.active {
    border-color: #0000004d;
    font-weight: 500;
}
.breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    color: #adb5bd;
}
/***************  End: Breadcrumb ***************/


/***************  App Alert ***************/
.app-alert-box {
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.app-alert-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.app-alert-content {
    flex: 1;
}
.app-alert-title {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}
.app-alert-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}
.app-alert-box.app-success {
    background: rgba(52, 199, 89, 0.1);
    border: 1px solid rgba(52, 199, 89, 0.2);
}
.app-alert-box.app-success .app-alert-icon {
    background: #34C759;
    color: white;
}
.app-alert-box.app-info {
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.2);
}
.app-alert-box.app-info .app-alert-icon {
    background: #007AFF;
    color: white;
}
.app-alert-box.app-warning {
    background: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.2);
}
.app-alert-box.app-warning .app-alert-icon {
    background: #FFCC00;
    color: #000;
}
.app-alert-box.app-error {
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.2);
}
.app-alert-box.app-error .app-alert-icon {
    background: #FF3B30;
    color: white;
}
/***************  End: App Alert ***************/


/***************  Account ***************/
.account-authentication {
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-container {
    background: white;
    max-width: 100%;
    width: 100%;
}
.app-icon-account-authentication {
    width: 70px;
    height: 70px;
    background: var(--color-secondary);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.app-icon-account-authentication svg {
    width: 36px;
    height: 36px;
    fill: dark;
}
.subtitle-account-form {
    color: #8E8E93;
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
}
.help-text-account-form {
    text-align: center;
    margin-top: 32px;
    color: #8E8E93;
    font-size: 13px;
}
.help-text-account-form a {
    color: #007AFF;
    text-decoration: none;
    font-weight: 500;
}
@media (min-width: 576px) {
    .login-container {
        max-width: 400px;
        min-height: auto;
    }
}
/***************  End: Account ***************/


/***************  Footer ***************/
.main-content
{
    padding-bottom:  1.5rem !important;
}
/***************  End: Footer ***************/


/***************  Post Card ***************/
.market-post-card {
    direction: ltr;
    background: #ffffff;
    border: 1px solid #e9edf3;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}
.market-post-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    object-fit: cover;
}
.market-post-author {
    color: #17202f;
}
.market-post-author:hover {
    color: var(--bs-success);
}
.market-post-content {
    color: #252d3a;
    font-size: 0.95rem;
    line-height: 2;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.market-post-hashtag {
    color: var(--bs-success);
    margin-right: 5px;
}
.market-post-stats {
    border-bottom: 1px solid #edf0f4;
}
.market-post-action {
    min-height: 44px;
    color: #687386;
    border: 0;
    background: transparent;
    border-radius: 9px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.market-post-action:hover {
    color: var(--bs-success);
    background: rgba(var(--bs-success-rgb), 0.07);
}
.market-post-action.active {
    color: var(--bs-success);
}
.market-post-comment-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    object-fit: cover;
}
.market-post-comment-input {
    min-height: 42px;
    padding-right: 48px;
    padding-left: 14px;
    border-radius: 12px;
}
.market-post-comment-submit {
    right: 5px;
    width: 34px;
    height: 34px;
}
@media (max-width: 575.98px) {
    .market-post-card {
        border-radius: 12px;
    }
    .market-post-avatar {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }
    .market-post-content {
        font-size: 0.8rem;
    }
    .market-post-action-label {
        display: none;
    }
}
.market-post-symbols {
    overflow: hidden;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #e9ecef);
    border-radius: 14px;
}
.market-post-symbols-icon {
    width: 32px;
    height: 32px;
    color: #198754;
    background: rgba(25, 135, 84, 0.1);
    flex: 0 0 32px;
}
.market-post-live-badge {
    padding: 4px 9px;
    color: #198754;
    background: rgba(25, 135, 84, 0.08);
    border-radius: 20px;
    font-size: 0.72rem;
    white-space: nowrap;
}
.market-post-live-dot {
    width: 7px;
    height: 7px;
    background: #198754;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.15);
    animation: marketPostLivePulse 1.8s infinite;
}
.market-post-symbol-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.market-post-symbol-item {
    min-width: 0;
    color: inherit;
    transition: background-color 0.2s ease;
}
.market-post-symbol-item:not(:last-child) {
    border-right: 1px solid var(--bs-border-color, #eef0f2);
}
.market-post-symbol-item:hover {
    color: inherit;
    background: rgba(25, 135, 84, 0.045);
}
.market-post-symbol-logo {
    width: 38px;
    height: 38px;
    color: #198754;
    background: rgba(25, 135, 84, 0.1);
    font-size: 0.85rem;
    font-weight: 700;
    flex: 0 0 38px;
}
.market-post-symbol-name {
    color: var(--bs-body-color, #212529);
    font-size: 0.87rem;
}
.market-post-symbol-price {
    color: var(--bs-body-color, #212529);
    font-size: 0.9rem;
}
.market-post-symbol-change {
    font-weight: 600;
}
.market-post-symbol-up {
    color: #198754;
}
.market-post-symbol-down {
    color: #dc3545;
}
.market-post-comment-ticker {
    min-height: 48px;
    color: var(--bs-body-color, #212529);
    background: rgba(25, 135, 84, 0.025);
    transition: background-color 0.2s ease;
}
.market-post-comment-ticker:hover {
    color: var(--bs-body-color, #212529);
    background: rgba(25, 135, 84, 0.06);
}
.market-post-comment-ticker-icon {
    width: 31px;
    height: 31px;
    color: #198754;
    background: rgba(25, 135, 84, 0.1);
    flex: 0 0 31px;
}
.market-post-comment-ticker-content {
    position: relative;
    height: 24px;
}
.market-post-comment-slide {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transform: translateY(8px);
    transition:
            opacity 0.35s ease,
            transform 0.35s ease,
            visibility 0.35s ease;
}
.market-post-comment-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.market-post-comment-author {
    color: #198754;
    font-size: 0.82rem;
}
.market-post-comment-text {
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.82rem;
}
@keyframes marketPostLivePulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.55;
        transform: scale(0.8);
    }
}
@media (max-width: 767.98px) {
    .market-post-symbol-list {
        display: block;
    }
    .market-post-symbol-item {
        min-height: 58px;
    }
    .market-post-symbol-item:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid var(--bs-border-color, #eef0f2);
    }
}
@media (max-width: 575.98px) {
    .market-post-symbol-logo {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
    .market-post-comment-ticker-content {
        height: 22px;
    }
    .market-post-comment-author,
    .market-post-comment-text {
        font-size: 0.76rem;
    }
}
/***************  End: Post Card ***************/


/***************  Create Post ***************/
.create-post-card {
    background: #ffffff;
    border: 1px solid #e9edf3;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}
.create-post-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    object-fit: cover;
}
.create-post-editor-wrapper {
    border-radius: 10px;
    transition:
            background-color 0.25s ease,
            box-shadow 0.25s ease;
}
.create-post-editor-wrapper:focus-within {
    background: #fbfcfd;
    box-shadow: inset 0 0 0 1px #edf0f4;
}
.create-post-editor {
    width: 100%;
    min-height: 76px;
    max-height: 300px;
    padding: 10px 8px;
    overflow-y: auto;
    border: 0;
    outline: 0;
    background: transparent;
    line-height: 1.9;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    transition: min-height 0.35s ease;
}
.create-post-editor:focus {
    min-height: 150px;
}
.create-post-editor:empty::before {
    content: attr(data-placeholder);
    color: #7b8494;
    pointer-events: none;
}
.create-post-editor strong,
.create-post-editor b {
    font-weight: 800;
}
.create-post-format-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
}
.create-post-format-button {
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5f6979;
    background: #f7f8fa;
    border: 1px solid #e8ebef;
    border-radius: 8px;
    transition:
            color 0.2s ease,
            background-color 0.2s ease,
            border-color 0.2s ease;
}
.create-post-format-button:hover,
.create-post-format-button.is-active {
    color: var(--bs-success);
    background: rgba(var(--bs-success-rgb), 0.08);
    border-color: rgba(var(--bs-success-rgb), 0.2);
}
.create-post-attachments {
    border-top: 1px solid #edf0f4;
}
.create-post-attachments:empty {
    display: none;
}
.create-post-attachments .file-upload-wrapper {
    margin: 0;
}
.create-post-attachments .file-upload-container {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
.create-post-attachments .upload-button {
    display: none;
}
.create-post-toolbar {
    border-top: 1px solid #edf0f4;
}
.create-post-toolbar .upload-button {
    width: auto;
    min-height: 38px;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #5f6979;
    border: 0;
    background: transparent;
    border-radius: 9px;
    cursor: pointer;
    font-size: 0.86rem;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
    transition:
            color 0.2s ease,
            background-color 0.2s ease,
            opacity 0.2s ease;
}
.create-post-toolbar .upload-button:hover {
    color: var(--bs-success);
    background: rgba(var(--bs-success-rgb), 0.08);
}
.create-post-toolbar .upload-button:disabled {
    cursor: wait;
    opacity: 0.55;
}
.create-post-toolbar .upload-button svg {
    width: 19px;
    height: 19px;
    margin: 0;
    flex: 0 0 19px;
}
#postUploadActionMount {
    min-width: 0;
}
.create-post-attachments .upload-status:empty {
    display: none;
}
.create-post-attachments .upload-status {
    margin-top: 10px !important;
    font-size: 0.82rem;
}
.create-post-attachments [id^="previewContainer-"] {
    margin-top: 0 !important;
    justify-content: flex-start !important;
}
.create-post-attachments .col-preview {
    margin-top: 12px !important;
}
.create-post-attachments .preview-img,
.create-post-attachments .preview-video {
    width: 100% !important;
    height: 180px !important;
    max-height: 180px;
    margin-bottom: 0 !important;
    object-fit: cover !important;
    border: 1px solid #e7eaf0;
    border-radius: 12px !important;
    background: #111827;
    box-shadow: none !important;
}
.create-post-attachments .preview-audio {
    width: 100%;
    margin-bottom: 0 !important;
}
.create-post-attachments .col-preview > p {
    min-height: 180px;
    margin: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-wrap: anywhere;
    color: #344054;
    border: 1px solid #e7eaf0;
    border-radius: 12px;
    background: #fbfcfd;
}
.create-post-attachments .col-preview > a {
    display: block;
    text-decoration: none;
}
.create-post-attachments .col-preview > a > div {
    height: 180px !important;
    margin-bottom: 0 !important;
    border-color: #e7eaf0 !important;
    border-radius: 12px !important;
    background: #fbfcfd !important;
    box-shadow: none !important;
}
.create-post-attachments .remove-btn {
    width: 32px !important;
    height: 32px;
    min-height: 32px;
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.88);
    font-size: 0;
}
.create-post-attachments .remove-btn:hover {
    color: #ffffff;
    background: #dc3545;
}
.create-post-attachments .remove-btn::before {
    content: "×";
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
}
.create-post-attachments .remove-btn i {
    display: none;
    margin: 0;
}
.create-post-settings {
    border-top: 1px solid #edf0f4;
    background: #fbfcfd;
}
.create-post-setting-label {
    display: block;
    margin-bottom: 5px;
    color: #667085;
    font-size: 0.78rem;
}
.create-post-setting-select {
    min-height: 40px;
    padding-right: 30px;
    padding-left: 10px;
    border-radius: 9px;
    font-size: 0.86rem;
}
.create-post-setting-select option,
.create-post-setting-select optgroup {
    font-size: 0.86rem;
}
.create-post-action {
    min-height: 38px;
    padding: 7px 10px;
    color: #5f6979;
    border: 0;
    background: transparent;
    border-radius: 9px;
    cursor: pointer;
    transition:
            color 0.2s ease,
            background-color 0.2s ease;
}
.create-post-action:hover {
    color: var(--bs-success);
    background: rgba(var(--bs-success-rgb), 0.08);
}
.create-post-submit {
    min-width: 90px;
    min-height: 40px;
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}
.create-post-submit:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
.create-post-counter,
.create-post-word-status {
    font-size: 0.75rem;
}
.create-post-counter {
    direction: ltr;
}
@media (max-width: 575.98px) {
    .create-post-card {
        border-radius: 12px;
    }
    .create-post-avatar {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }
    .create-post-editor {
        min-height: 68px;
        font-size: 0.85rem;
        line-height: 1.7;
    }
    .create-post-editor:focus {
        min-height: 135px;
    }
    .create-post-editor:empty::before {
        font-size: 0.85rem;
    }
    .create-post-format-button {
        width: 32px;
        height: 32px;
    }
    .create-post-format-button strong {
        font-size: 0.85rem;
    }
    .create-post-setting-label {
        font-size: 0.72rem;
    }
    .create-post-setting-select {
        min-height: 38px;
        font-size: 0.75rem !important;
    }
    .create-post-setting-select option,
    .create-post-setting-select optgroup {
        font-size: 0.75rem !important;
    }
    .create-post-counter,
    .create-post-word-status {
        font-size: 0.68rem;
    }
    .create-post-action {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
    }
    .create-post-action span {
        display: none;
    }
    .create-post-toolbar {
        gap: 8px !important;
    }
    #postUploadActionMount {
        min-width: 0;
        flex: 1 1 auto;
    }
    .create-post-toolbar .upload-button {
        width: auto;
        min-width: 0;
        min-height: 40px;
        padding: 7px 9px !important;
        gap: 6px;
        font-size: 0.75rem;
        line-height: 1.2;
        white-space: nowrap;
        flex: 0 0 auto;
    }
    .create-post-toolbar .upload-button svg {
        width: 17px;
        height: 17px;
        flex: 0 0 17px;
    }
    .create-post-submit {
        min-width: 76px;
        min-height: 40px;
        padding-right: 12px !important;
        padding-left: 12px !important;
        font-size: 0.82rem;
    }
    .create-post-attachments .upload-status {
        font-size: 0.72rem;
    }
    .create-post-attachments .col-preview > p {
        font-size: 0.78rem;
    }
}
@media (max-width: 399.98px) {
    .create-post-editor {
        font-size: 0.8rem;
    }
    .create-post-editor:empty::before {
        font-size: 0.8rem;
    }
    .create-post-setting-label {
        font-size: 0.68rem;
    }
    .create-post-setting-select,
    .create-post-setting-select option,
    .create-post-setting-select optgroup {
        font-size: 0.72rem !important;
    }
    .create-post-counter,
    .create-post-word-status {
        font-size: 0.64rem;
    }
    .create-post-toolbar .upload-button {
        min-height: 38px;
        padding: 6px 8px !important;
        gap: 5px;
        font-size: 0.7rem;
    }
    .create-post-toolbar .upload-button svg {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }
    .create-post-submit {
        min-width: 70px;
        min-height: 38px;
        padding-right: 10px !important;
        padding-left: 10px !important;
        font-size: 0.75rem;
    }
}
/***************  End: Create Post ***************/