body {
    padding-right: 0 !important;
}

.container {
    padding-right: 1.25em !important;
    padding-left: 1.25em !important;
    max-width: 100%;
}

.or-social-login {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.or-social-login:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #eee;
    top: 10px;
    z-index: -1;
    right: 0;
}

.or-social-login h6 {
    width: fit-content;
    margin: 0 auto;
    color: #979797;
    background-color: #fff;
    padding-left: 25px;
    padding-right: 25px;
    font-weight: 500;
    line-height: 1.2;
}

.home-footer {
    position: absolute;
    bottom: 10px;
    font-size: 12px;
    width: 100%;
    z-index: 100;
    padding: 0 20px;
}

.home-footer a {
    color: white;
}

.home-footer a:hover {
    text-decoration: underline;
}

.profile-info {
    margin-left: 0;
    line-height: 200%;
    padding-left: 1.0em;
    list-style-type: none;
}

.sidebar-search .search-link {
    position: absolute;
    top: 50%;
    left: .625rem;
    transform: translateY(-50%);
    font-size: 1.125rem;
    line-height: 0;
    color: var(--bs-body-color)
}

.sidebar-search .search-icon {
    padding-left: 2.188rem
}

.min-vh-50 {
    min-height: 50vh !important
}

.min-vh-150 {
    min-height: 150vh !important
}

.todo-checkbox {
    width: 1.5em;
    height: 1.5em;
}

.mt-10 {
    margin-top: 5rem !important
}

.nav-avatar-arrow {
    position: absolute;
    right: 15px;
    bottom: 15px;
    background: #EEE;
    border-radius: 50rem;
    height: .875rem;
    width: .875rem;
    line-height: .8125rem;
    font-size: .5rem;
    text-align: center;
}

.content-tabs {
    border-radius: var(--bs-card-border-radius);
    overflow: hidden;
}

.social-btn {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin: 0 10px;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-btn:hover {
    opacity: 0.8;
    color: #FFF;
}

.social-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.facebook-btn {
    background-color: #3b5998;
}

.google-btn {
    background-color: #db4437;
}

.microsoft-btn {
    background-color: #2f2f2f;
    color: white;
}

.microsoft-btn:hover {
    background-color: #1a1a1a;
}

.notify-icon {
    text-align: center;
    line-height: 3.125rem;
    width: 3.125rem;
    height: 3.125rem;
}

.image-container {
    position: relative;
    overflow: hidden;
    margin-top: 20%;
}

.image-container-in {
    position: relative;
    overflow: hidden;
}

.help-block {
    color: #FF0000;
}

#cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f1f1f1;
    opacity: 0.9;
    padding: 20px;
    text-align: center;
    display: none;
    z-index: 999;
}

#cookie-consent button {
    margin: 0 10px;
    padding: 10px 20px;
}

.shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 1.0) 50%,
            rgba(255, 255, 255, 0) 100%
    );
    animation: shine 5s infinite;
}

.context-link a {
    color: #DDD;
}

.context-link a:hover {
    color: #FFF;
    text-decoration: underline;
}

.single-line {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.thumbnail-60 {
    width: 100%;
    max-height: 100px;
    object-fit: cover;
}

.thumbnail-50 {
    width: 100%;
    height: 50px;
    object-fit: cover;
}

.image-wrap {
    width: 33%;
    margin-right: 20px;
    margin-bottom: 20px;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Custom styles for large radio buttons */
input[type="radio"].custom-radio-lg {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #3e74a0;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="radio"].custom-radio-lg:checked {
    background-color: #007bff;
    box-shadow: inset 0 0 0 5px #fff;
}

input[type="radio"].custom-radio-lg:hover {
    background-color: #e7f1ff;
}

.truncate-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.about-scrollable-div {
    max-height: 200px; /* Adjust this value as needed */
    overflow-y: auto;
}

.task-image img {
    width: 200px;
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.level-icon {
    position: relative;
    display: inline-block;
    line-height: 1rem;
}

.level-icon .fa-star {

}

.level-icon .level-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.5rem;
    color: white;
    font-weight: bold;
}

#image-container {
    max-width: 1200px;
    max-height: 500px;
}

#cropped-result {
    max-width: 1200px;
    max-height: 400px;
}

.attachment_selected {
    --bs-btn-bg: var(--bs-primary-hover-bg);
    --bs-btn-color: var(--bs-white);
}

.dashboard-post .selected {
    --bs-btn-bg: var(--bs-primary-bg-subtle);
}


.avatar-container {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 45px;
}

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

.avatar-large {
    width: 70px;
    height: 70px;
}

.avatar-xlarge {
    width: 130px;
    height: 130px;
}

.avatar-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
}

.avatar-container a {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.avatar-container.vip-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #ffd700;
    border-radius: 50%;
    box-sizing: border-box;
    z-index: 1;
}

.avatar-sm.vip-member::before {
    border-width: 2px;
}

.avatar-large.vip-member::before {
    border-width: 2px;
}

.avatar-xlarge.vip-member::before {
    border-width: 2px;
}

.avatar-container.basic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #a3c1d7;
    border-radius: 50%;
    box-sizing: border-box;
    z-index: 1;
}

.avatar-sm.basic::before {
    border-width: 1px;
}

.avatar-large.basic::before {
    border-width: 1px;
}

.avatar-xlarge.basic::before {
    border-width: 2px;
}

.status-online::after,
.status-away::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    border: 1px solid #fff;
    border-radius: 50%;
    z-index: 1;
}

.avatar-large.status-online::after,
.avatar-large.status-away::after {
    bottom: 7px;
    right: 7px;
    width: 8px;
    height: 8px;
    border-width: 1px;
}

.avatar-sm.status-online::after,
.avatar-sm.status-away::after {
    bottom: 1px;
    right: 1px;
    width: 8px;
    height: 8px;
    border-width: 1px;
}

.avatar-xlarge.status-online::after,
.avatar-xlarge.status-away::after {
    bottom: 13px;
    right: 13px;
    width: 12px;
    height: 12px;
    border-width: 2px;
}

.status-online::after {
    background-color: #32cd30;
}

.status-away::after {
    background-color: #ffba68;
}

.badge-container {
    width: 80px;
    height: 80px;
    padding: 10px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #808080, #C0C0C0);
    transition: background 0.3s ease;
}

.badge-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.badge-container.active {
    background: linear-gradient(135deg, #BE7800, #FFDB58);
}

.badge-container.active .badge-icon {
    filter: grayscale(0%);
}

.avatar-like-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* 控制头像之间的间距 */
    max-width: 600px; /* 调整这个值来控制每行显示的头像数量 */
}

.avatar-item {
    flex: 0 0 auto;
}

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

.sidebar-list {
    font-size: 0.875em;
}

.avatar-like {
    margin-left: -1.0rem;
}

.suggested-list li:last-child {
    margin-bottom: 0 !important;
}

.forum-list li:last-child {
    margin-bottom: 0 !important;
}

.border-bottom:last-child {
    border-bottom: 1px #FFF solid;
}

.purpose-card {
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 0.25em;
}

.purpose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.purpose-card.selected {
    border: 2px solid #007bff;
    background-color: #f8f9fa;
}

#campaignFrame {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

#topBar {
    height: 60px;
    background-color: #808080;
    border-bottom: 1px solid #dee2e6;
    padding: 10px;
    display: flex;
    color: #FFF;
    align-items: center;
}

#countdown {
    font-size: 24px;
    font-weight: bold;
}

#destinationFrame {
    flex-grow: 1;
    border: none;
    width: 100%;
}

.completed-item h5 {
    text-decoration: line-through;
    color: #CCC
}

.top-logo {
    padding-bottom: 0.875rem !important;
    padding-top: 0.875rem !important;
}

.admin-area {
    max-width: 98%;
}

.admin-dashboard {
    height: 220px;
    margin-top: 20px;
}

.sidebar-back {
    display: none;
}

.dashboard-content {
    margin-top: 1.25em;
}

.feature-card {
    margin-bottom: 0px;
}

.drag-handle {
    cursor: move;
    color: #888;
    transition: color 0.3s ease;
}

.drag-handle:hover {
    color: #333;
}

.blue-background-class {
    background-color: #e6f2ff !important;
    border: 1px dashed #4a90e2 !important;
    border-radius: 2px;
}

.card-content img {
    max-width: 100%;
}

.feed-img {
    max-width: 30%;
    float: left;
    margin-right: 20px;
    margin-top: 10px;
    border-radius: 5px;
}

@media (max-width: 1199px) {
    .sidebar-back {
        display: block;
    }
}

.profile-cover {
    width: 100%;
    max-height: 270px;
    object-fit: cover;
}

@media (max-width: 576px) {
    .navbar-nav {
        width: 100%;
    }

    .hide-sm {
        display: none !important;
    }

    .profile-cover {
        max-height: 150px;
        object-fit: cover;
    }

    .dashboard-content {
        margin-top: 1em;
    }

    .mobile-hidden {
        display: none;
    }

    .guest-mobile {
        float: right;
        min-height: 3.0em;
        height: 3.0em;
    }

    .sidebar-back {
        display: block;
    }

    .container-inside {
        display: none
    }

    .support-links {
        display: none
    }

    .sign-in-detail {
        height: auto
    }

    .admin-dashboard {
        height: 300px;
        margin-top: 0px;
    }

    .iq-top-navbar .navbar-nav .nav-badge {
        position: relative;
        top: -0.875rem;
        right: 0.875rem;
    }

    .desktop-logo {
        display: none;
    }

    .nav-avatar-arrow {
        right: 10px;
        bottom: 10px;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    margin-bottom: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.addon-icon {
    width: 70px;
    height: 70px;
    padding: 0px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #DFDFDF, #FFFFFF);
    transition: background 0.3s ease;
    cursor: pointer;
}

.addon-icon:hover {
    background: linear-gradient(135deg, #EEEEEE, #FFFFFF);
}

.addon-text {
    margin-top: 0.5em;
    cursor: pointer;
}

.addon-icon2 {
    width: 100%;
    height: 50px;
    display: flex;
    font-size: 12px;
    align-items: center;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #DFDFDF, #FFFFFF);
    cursor: pointer;
}

.addon-icon2:hover {
    background: linear-gradient(135deg, #EEEEEE, #FFFFFF);
}

.price_num {
    font-size: 24px;
}

.campaign-card {
    border: 2px dashed #ff6b6b;
    border-radius: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.campaign-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.campaign-title {
    color: #212529;
}

.campaign-description {
    color: #6c757d;
}

.campaign-code {
    color: #ff6b6b;
    font-weight: bold;
}

.bg-secondary2 {
    --bs-bg-opacity: 1;
    /*background-color: rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important*/
    background-image: linear-gradient(to left, rgba(var(--bs-gold-light), 1), rgba(var(--bs-gold-dark), 1));
}

.list-wizard li {
    color: #FFF;
    font-weight: 600;
}

.list-wizard li:hover {
    color: #000;
    cursor: pointer;
}

.float-chat-btn {
    position: fixed;
    bottom: 50px;
    right: 0px;
    z-index: 1000;
    transition: all 0.3s ease;
    background: linear-gradient(to left, rgba(var(--bs-gold-light), 1), rgba(var(--bs-gold-dark), 1));
    padding: 10px 20px;
    border: none;
}

.float-chat-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(to left, rgba(var(--bs-gold-light), 1), rgba(var(--bs-gold-dark), 1));
    box-shadow: 0 8px 16px rgba(80, 80, 80, 0.2) !important;
}

.float-chat-btn:hover .chat-text {
    max-width: 300px;
    opacity: 1;
    margin-right: 12px;
}

.chat-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.2px;
}

.chat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.online-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    position: absolute;
    top: -2px;
    right: -2px;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}


.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-highlight {
    font-size: 0.9rem;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.gradient-background {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.btn-upgrade {
    transition: transform 0.3s ease;
}

.btn-upgrade:hover {
    transform: translateY(-2px);
}

.revenue-card {
    border-top: 4px solid #BE7800;
}

.revenue-circle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.blue-bg {
    background-color: #e6f0ff;
}

.earnings {
    font-size: 0.9rem;
    color: #198754;
    font-weight: 300;
}

.btn-hover:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
    transition: all 0.3s ease;
}

.market-card {
    height: 200px;
    transition: transform 0.2s;
    cursor: pointer;
}

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

.market-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 123, 255, 0.1);
    margin-bottom: 1rem;
}

.opportunities-container {
    position: relative;
}

.revenue-content {

}

/* Clone the content for seamless loop */
.revenue-content::after {
    content: "";
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: inherit;
}

.opportunity-item {
    background: #fff;
    border-bottom: 1px solid #eee;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    cursor: pointer;
}

.opportunity-item:hover {
    background: #EEE;
}

/* Hide scrollbar but keep functionality */
.opportunities-container::-webkit-scrollbar {
    display: none;
}

.opportunities-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px); /* Reduced movement for smaller container */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-button {
    display: flex;
    align-items: center;
    background-color: white;
    color: #5e5e5e;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    cursor: pointer;
    width: 250px;
    margin-left: 20px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.login-button:hover {
    background-color: #f5f5f5;
}

.microsoft-logo {
    display: grid;
    grid-template-columns: repeat(2, 11px);
    grid-gap: 1px;
    margin-right: 12px;
}

.ms-square {
    width: 11px;
    height: 11px;
}

.ms-red {
    background-color: #f25022;
}

.ms-green {
    background-color: #7fba00;
}

.ms-blue {
    background-color: #00a4ef;
}

.ms-yellow {
    background-color: #ffb900;
}

.ms-button {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 auto;
}

.niche-logo {
    width: 120px;
    height: 120px;
    border: 4px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.moderator-avatar {
    width: 40px;
    height: 40px;
}

.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9));
}

.nichehub-vote-count {
    font-size: 1.25rem;
    font-weight: 500;
}

.nichehub-vote-btn {
    color: #000;
    transition: all 0.2s;
}

.nichehub-vote-btn:hover {
    transform: translateY(-2px);
}

.nichehub-vote-btn.voted {
    color: #0d6efd;
    background-color: #e7f1ff;
}

.nichehub-product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nichehub-product-item {
    position: relative;
    padding: 1rem 0 1rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.nichehub-product-title {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.nichehub-product-title:hover {
    color: #0d6efd;
}

.nichehub-post-meta {
    color: #6c757d;
    font-size: 0.875rem;
}

.nichehub-post-meta a {
    color: #495057;
    text-decoration: none;
}

.nichehub-post-meta a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.credit-badge {
    background-color: #e9ecef;
    padding: 0.35rem 0.65rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.char-counter {
    font-size: 0.875rem;
    color: #6c757d;
}

.feature-card {
    border: none;
    border-left: 4px solid;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature-card.branding {
    border-left-color: #0d6efd;
}

.feature-card.seo {
    border-left-color: #198754;
}

.feature-card.ux {
    border-left-color: #0dcaf0;
}

.section-header {
    background: linear-gradient(135deg, #0d6efd 0%, #198754 100%);
    color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
}

.benefit-text {
    border-left: 3px solid #e9ecef;
    padding-left: 1rem;
    margin-top: 1rem;
    color: #495057;
}

.section-title {
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.complete-gradient {
    background: linear-gradient(to right, #1e88e5, #1565c0);
}

.complete-button {
    background-color: #1565c0;
    color: white;
    transition: all 0.3s;
}

.complete-button:hover {
    background-color: #0d47a1;
    color: white;
    transform: translateY(-2px);
}

.complete-card {
    transition: all 0.3s;
}

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

.complete-header {
    text-align: center;
    padding: 2rem 0;
}

.complete-icon {
    color: #1565c0;
}

.complete-container {
    max-width: 1200px;
    margin: 0 auto;
}

.complete-feature {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.complete-plan {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 100%;
}

.complete-savings {
    background-color: #e8f5e9;
    border-radius: 10px;
    padding: 1.5rem;
}

/* Custom styles */
.apsense-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
}

.apsense-modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.apsense-modal-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 1.75rem auto;
    pointer-events: none;
}

.apsense-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    pointer-events: auto;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.apsense-header {
    background-color: #0d6efd;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.apsense-body {
    padding: 1.5rem;
}

.apsense-benefits {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
}

.apsense-benefits ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.apsense-benefits li {
    display: flex;
    align-items: start;
    margin-bottom: 0.5rem;
}

.apsense-benefits li:last-child {
    margin-bottom: 0;
}

.apsense-check {
    color: #0d6efd;
    margin-right: 0.5rem;
}

.apsense-testimonial {
    border-top: 1px solid #dee2e6;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.apsense-modal-show {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fixed sidebar tab */
.apsense-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #0d6efd;
    color: white;
    padding: 15px 10px;
    cursor: pointer;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1040;
    display: none;
    writing-mode: vertical-lr;
    transform: translateY(-50%) rotate(180deg);
    font-weight: 500;
    transition: background-color 0.3s;
}

.apsense-tab:hover {
    background-color: #0b5ed7;
}

.apsense-tab-show {
    display: block;
    animation: slideIn 0.5s;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        right: -50px;
    }
    to {
        right: 0;
    }
}

.apsense-modal-show {
    animation: fadeIn 0.3s;
}

.apsense-yellow {
    color: #BE7800
}

.btn-apsense-yellow {
    --bs-btn-bg: #BE7800;
    --bs-btn-border-color: #BE7800;
    --bs-btn-hover-bg: #d58603;
    --bs-btn-hover-border-color: #d58603;
    --bs-btn-active-bg: #BE7800;
    --bs-btn-active-border-color: #BE7800;
    --bs-btn-disabled-bg: var(--bs-secondary);
    --bs-btn-disabled-border-color: var(--bs-secondary);
}

.btn-apsense-yellow:hover {
    color: #FFF;
}

.forum-header {
    color: #2c3e50;
    margin-bottom: 30px;
}

.forum-post {
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
}

.forum-get-code-btn {
    background-color: #3498db;
    color: white;
    border: none;
}

.forum-get-code-btn:hover {
    background-color: #2980b9;
    color: white;
}

.forum-code-container {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
}

.forum-qr-code-container {
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.forum-tabs .nav-link.active {
    color: #3498db;
    font-weight: 600;
}

.forum-copy-btn {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.forum-copy-btn:hover {
    background-color: #e9ecef;
}

.forum-copy-success {
    color: #28a745;
    font-size: 14px;
    display: none;
}

.aphome-navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.aphome-nav-link {
    font-weight: 500;
    margin-left: 2em;
    margin-right: 2em;
}

.aphome-hero-section {
    background-color: white;
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    background-image: linear-gradient(to right, rgb(3, 35, 58), rgba(0, 0, 0, 0.1)), url('/assets/images/home-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.aphome-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(10, 102, 194, 0.05), transparent 60%);
    z-index: 0;
}

.aphome-hero-section .container {
    position: relative;
    z-index: 1;
}

.aphome-hero-headline {
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1.2;
    position: relative;
}

.aphome-hero-headline::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--bs-primary);
    margin-top: 15px;
}

.aphome-hero-subheadline {
    font-size: 1.1rem;
    color: #FFF;
}

.aphome-login-card {
    background-color: white;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.aphome-btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.aphome-btn-primary:hover, .aphome-btn-primary:focus {
    background-color: #004182;
    border-color: #004182;
}

.aphome-btn-outline {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.aphome-btn-outline:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.aphome-cta {
    background-color: var(--bs-primary);
}

.aphome-activity-feed {
    background-color: white;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-height: 300px;
    overflow-y: auto;
}

.aphome-activity-item {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.aphome-activity-item:last-child {
    border-bottom: none;
}

.aphome-activity-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aphome-activity-stats {
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.aphome-stat .h3 {
    color: white;
    font-weight: 500;
    font-size: 2.0em;
}

.aphome-stat .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.aphome-members {
    padding: 2rem;
}

.aphome-features-grid {
    padding: 2rem;
}

.aphome-feature-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.aphome-footer {
    background-color: white;
    padding: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.aphome-footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.aphome-footer-link {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
}

.aphome-footer-link:hover {
    color: var(--bs-primary);
    text-decoration: underline;
}

.aphome-social-icon {
    color: rgba(0, 0, 0, 0.6);
    font-size: 1.25rem;
    margin-right: 1rem;
}

.aphome-social-icon:hover {
    color: var(--bs-primary);
}

/* Custom column sizes for exactly 5 and 10 items per row */
.col-2-4 {
    width: 20%; /* 5 items per row on mobile */
    float: left;
    padding-right: 5px;
    padding-left: 5px;
}

@media (min-width: 768px) {
    .col-md-1-2 {
        width: 10%; /* 10 items per row on desktop */
    }
}


.aphome-hero-section {
    position: relative;
    overflow: hidden;
}

#tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.aphome-hero-section .container {
    position: relative;
    z-index: 2;
}

.tech-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: rgba(0, 170, 255, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 170, 255, 0.5);
}

.tech-pulse {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: transparent;
}

@keyframes pulse {
    0% {
        transform: scale(0);
        opacity: 0.6;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

@keyframes fade {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
    }
}

.tab-container {
    margin-bottom: 2rem;
}

.nav-tabs {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    overflow: hidden;
    border: none;
    background-color: #f0f0f0; /* Light gray background for all tabs by default */
}

.nav-tabs .nav-item {
    margin-bottom: 0;
}

.nav-tabs .nav-link {
    border: none;
    padding: 1rem 0.5rem;
    color: #495057;
    font-weight: 500;
    transition: all 0.2s ease;
    background-color: #f0f0f0; /* Light gray background for inactive tabs */
}

.nav-tabs .nav-link:hover {
    background-color: #e9ecef;
    color: #212529;
}

.nav-tabs .nav-link.active {
    color: var(--bs-primary);
    background-color: #ffffff; /* White background for active tab */
    border-bottom: 3px solid var(--bs-primary);
}

@media (max-width: 767.98px) {
    .nav-tabs {
        border-radius: 6px;
    }

    .nav-tabs .nav-link.active {
        border-bottom: none;
        border-left: 3px solid var(--bs-primary);
    }
}

.nichehub-wrapper {
    padding: 0.25rem 1.5rem;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.nav-arrow:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.nav-arrow.prev {
    left: 0;
}

.nav-arrow.next {
    right: 0;
}

.circles-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.25rem 0;
    -ms-overflow-style: none; /* Hide scrollbar IE and Edge */
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.circles-scroll::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome, Safari, Opera */
}

.hub-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    position: relative;
    border: 1px solid transparent;
    transition: all 0.2s;
    width: 200px;
}

.hub-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hub-avatar {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 5px;
}

.add-hub-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 1px dashed rgba(0, 0, 0, 0.2);
    color: #6c757d;
}

.hub-text {
    margin-left: 0.75rem;
    overflow: hidden;
}

.hub-name, .hub-create {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
}

.hub-members {
    font-size: 0.75rem;
    color: #6c757d;
}

.update-indicator {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: #0d6efd;
    border-radius: 50%;
    border: 1px solid white;
}

.cover-container {
    position: relative;
    background-color: #f8f9fa;
    overflow: hidden;
}

.circle-item {
    display: inline-block;
    width: 156px;
    height: 156px;
    vertical-align: top;
    text-decoration: none;
    position: relative;
    background: #FFF;
    padding-bottom: 5px;
    border: 3px #FFF solid;
    animation: none;
}

@keyframes border-color-change {
    0% {
        border-color: white;
    }
    100% {
        border-color: var(--bs-primary);
    }
}

.circle-item:hover {
    cursor: pointer;
    animation: border-color-change 0.5s forwards;
}

.circle-item1 {
    display: inline-block;
    width: 156px;
    height: 156px;
    vertical-align: top;
    text-decoration: none;
    position: relative;
    background: #FFF;
    padding-bottom: 5px;
    border: 3px #CCC solid;
    animation: none;
}

.circle-item1:hover {
    cursor: pointer;
    animation: border-color-change 0.5s forwards;
}

.circle-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.circle-text {
    position: absolute;
    z-index: 1;
    width: 150px;
    height: 50px;
    bottom: 0px;
    background: #FFF;
    opacity: 0.95;
    padding: 10px 0px;
}

.circle-name {
    font-weight: bold;
    font-size: 0.8rem;
    white-space: normal;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.circle-members {
    font-size: 0.6rem;
    color: #65676b;
    text-align: center;
}

.mod-badge {
    position: relative;
    display: inline-block;
    margin-left: 0.25rem;
    vertical-align: middle;
}

.mod-badge .fa-shield {
    color: #1E88E5; /* Darker, more professional blue */
}

.mod-badge .fa-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.5rem;
    color: white;
}

.footer-poster {
    background-color: #f8f9fa;
    padding: 10px;
    text-align: center;
    font-family: Arial, sans-serif;
    border-top: 1px solid #e1e1e1;
    width: 100%;
    position: relative;
    bottom: 0;
    color: #808080;
}

.footer-poster p {
    margin: 5px 0;
}

.btn-digimarket {
    --bs-btn-bg: #BE7800;
    --bs-btn-border-color: #BE7800;
    --bs-btn-hover-bg: #d58603;
    --bs-btn-hover-border-color: #d58603;
    --bs-btn-active-bg: #BE7800;
    --bs-btn-active-border-color: #BE7800;
    --bs-btn-disabled-bg: var(--bs-secondary);
    --bs-btn-disabled-border-color: var(--bs-secondary);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-digimarket:hover {
    color: #FFF;
}

/* Option 1: Border glow effect */
.btn-digimarket {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    animation: glowing 1.5s infinite;
}

@keyframes glowing {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 5px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.iq-nav-menu .nav-item {
    position: relative;
    font-size: 0.875rem;
}

.iq-nav-menu .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.02);
    color: #3498db;
}

.iq-nav-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    z-index: 999;
}

.iq-nav-menu .nav-link:hover::after {
    width: 100%;
}

.iq-header-sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    /* Remove any internal padding at the bottom */
    padding-bottom: 0;
    z-index: 999;
}

.iq-nav-menu .nav-item:hover .iq-header-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.iq-header-sub-menu .nav-link {
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
    font-size: 0.875rem;
}

/* Remove space line after the last item in each submenu */
.iq-header-sub-menu .nav-item:last-child .nav-link {
    border-bottom: none;
    margin-bottom: 0;
}

/* Fix for the space at the bottom of submenus */
.iq-header-sub-menu {
    overflow: hidden; /* This prevents any content from creating extra space */
}

/* For the first three menus (not the Marketing Tools) */
li.nav-item:nth-child(-n+5) .iq-header-sub-menu {
    padding-bottom: 0;
}

/* Make sure the items fit snugly at the bottom of the container */
.iq-header-sub-menu .nav-item:last-child .nav-link {
    padding-bottom: 0.75rem;
}

/* Make the last sub-menu display in two columns
.iq-nav-menu .nav-item:last-child .iq-header-sub-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-width: 500px;
    gap: 0;
}
*/

/* Allow text wrapping in the two-column submenu to prevent overflow */
.iq-nav-menu .iq-header-sub-menu .nav-link {
    white-space: normal;
    word-wrap: break-word;
    padding: 0.75rem 1rem;
}

/* Stable hover effects for the last submenu - prevent position changes */
.iq-nav-menu .iq-header-sub-menu .nav-link:hover {
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

/* Remove the animated underline for the last submenu to prevent layout shifts */
.iq-nav-menu .iq-header-sub-menu .nav-link::after {
    display: none;
}

/* Optional: Add a subtle border between columns */
.iq-nav-menu .iq-header-sub-menu .nav-item:nth-child(odd) .nav-link {
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

/* Ensure proper spacing for the two-column layout */
.iq-nav-menu .iq-header-sub-menu .nav-item {
    display: block;
}

:root {
    --digi-primary-color: #3498db;
    --digi-secondary-color: #2c3e50;
    --digi-accent-color: #e74c3c;
    --digi-light-bg: #f8f9fa;
    --digi-dark-bg: #343a40;
}

.digi-hero-section {
    background: linear-gradient(135deg, var(--digi-primary-color), var(--digi-secondary-color));
    color: white;
    padding: 50px 0;
}

.digi-section-title {
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.digi-section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--digi-primary-color);
}

.digi-benefits-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.digi-benefits-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.digi-category-card {
    text-align: center;
    padding: 25px 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    background-color: white;
}

.digi-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background-color: var(--digi-light-bg);
    cursor: pointer;
}

.digi-category-card i {
    font-size: 2.5rem;
    color: var(--digi-primary-color);
    margin-bottom: 15px;
}

.digi-cta-section {
    background-color: var(--digi-light-bg);
    padding: 60px 0;
}

.digi-btn-primary {
    background-color: var(--digi-primary-color);
    border-color: var(--digi-primary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.digi-btn-primary:hover {
    background-color: var(--digi-secondary-color);
    border-color: var(--digi-secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.digi-btn-lg {
    padding: 15px 40px;
    font-size: 1.2rem;
}

/* Improved Workflow Styles for single row */
.digi-workflow {
    padding: 0px 0 0px;
    position: relative;
    overflow-x: hidden;
}

.digi-step-wrapper {
    position: relative;
}

.digi-step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.digi-step-icon i {
    font-size: 32px;
    color: var(--digi-primary-color);
}

.digi-step-number {
    position: absolute;
    top: 0px;
    right: 50%;
    margin-right: -50px;
    width: 30px;
    height: 30px;
    background-color: #008000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    z-index: 2;
}

.digi-step-arrow {
    color: var(--digi-primary-color);
    font-size: 24px;
    margin: 0 5px;
}

.digi-sidebar-list {
    font-size: 0.875em;
}

/* Styling for active menu items in the sidebar */
.digi-sidebar-list .nav-link.active {
    background-color: var(--bs-primary); /* Uses Bootstrap's primary color variable */
    color: white;
    border-radius: 0.25rem; /* Rounded corners for a nicer look */
}

/* If you want to ensure the icons also change to white when active */
.digi-sidebar-list .nav-link.active i {
    color: white;
}

/* Optional: Add a subtle hover effect for all items */
.digi-sidebar-list .nav-link:hover:not(.active) {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    transition: background-color 0.3s ease;
}

.timeline-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.timeline-step {
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 1rem;
    width: 140px;
}

.timeline-step:not(:last-child):after {
    content: "";
    display: block;
    border-top: 2px solid #cbd5e0;
    width: 100%;
    position: absolute;
    right: -50%;
    top: 30px;
    z-index: -10;
}

.timeline-step .timeline-content {
    width: 100%;
    text-align: center;
}

.timeline-step .timeline-content .inner-circle {
    border-radius: 50%;
    height: 60px;
    width: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.timeline-step .timeline-content .inner-circle i {
    font-size: 1.5rem;
}

@media (max-width: 767.98px) {
    .timeline-step {
        width: 100px;
    }

    .timeline-step:not(:last-child):after {
        right: -20%;
    }
}

.text-apsense {
    color: #BE7800
}

.nav-item .sub-active {
    background: #AAA;
    color: #FFF;
}

/* CSS for DigiServices Listing Page */

/* Category Navigation */
.digi-categories-nav {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow-x: auto;
}

.category-scroller {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 5px;
}

.digi-category-tab {
    white-space: nowrap;
    padding: 8px 16px;
    margin-right: 8px;
    border-radius: 20px;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.digi-category-tab i {
    margin-right: 5px;
}

.digi-category-tab:hover {
    background-color: #e9ecef;
    color: #007bff;
}

.digi-category-tab.active {
    background-color: #007bff;
    color: white;
}

/* Sort Controls */
.dropdown-toggle.btn-outline-secondary {
    border-color: #ced4da;
    color: #495057;
}

.dropdown-toggle.btn-outline-secondary:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #eeeeee;
}

.dropdown-item {
    padding: 8px 16px;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f0f7ff;
}

/* DigiService Cards */
.digi-service-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
}

.digi-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.digi-service-cover {
    position: relative;
    overflow: hidden;
}

.digi-service-cover img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.digi-service-card:hover .digi-service-cover img {
    transform: scale(1.05);
}

.digi-service-badges {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
}

.digi-service-badges .badge {
    margin-right: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.digi-service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.digi-service-seller {
    display: flex;
    align-items: center;
}

.seller-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
}

.digi-service-price {
    font-weight: bold;
    color: #007bff;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .digi-service-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .digi-service-price {
        margin-top: 10px;
    }
}

/* Custom CSS for the DigiService page */
.digiservice-process-step {
    text-align: center;
    position: relative;
    flex: 1;
}

.digiservice-process-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-weight: bold;
}

.digiservice-process-line {
    flex: 1;
    height: 2px;
    background: #e9ecef;
    margin: 20px 10px 0;
}

.digiservice-badge {
    font-weight: 500;
}

.digiservice-table th, .digiservice-table td {
    vertical-align: middle;
}

/* Timeline for How It Works */
.digiservice-timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
    z-index: 1;
}

.digiservice-timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 20px;
    z-index: 2;
}

.digiservice-timeline-circle {
    position: absolute;
    left: 11px;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.digiservice-timeline-content {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
}


/* Seller Profile Styles */

.digiservice-level-badge, .digiservice-rating-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background-color: rgba(13, 110, 253, 0.1);
}

.digiservice-stat-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
}

.digiservice-badge-container {
    background-color: #fff;
    border-color: #f8f9fa;
}

.digiservice-badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.digiservice-seller-bio {
    border-color: rgba(13, 110, 253, 0.5) !important;
}

.digiservice-seller-security {
    color: #6c757d;
}

/**
 * Send Inquiry Modal Styles
 *
 * Custom styles for the inquiry modal to match the existing design of the DigiMarket page
 */

/* Modal styling */
#inquiryModal .modal-header {
    border-radius: 0.375rem 0.375rem 0 0;
}

#inquiryModal .modal-content {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Service selection styling */
.custom-service-item {
    transition: all 0.2s ease;
    position: relative;
    padding-left: 1.5rem !important;
}

.custom-service-item:hover {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.custom-service-item .form-check-input {
    position: absolute;
    top: 1rem;
    left: 2.0rem;
}

.custom-service-item label {
    width: 100%;
    cursor: pointer;
}

.custom-service-item.bg-light {
    border-left: 4px solid #198754 !important; /* Success color for required services */
}

/* Payment method section */
.payment-methods-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.payment-methods-container .form-check {
    margin-right: 1rem;
}

/* Price estimate card */
#inquiryModal .card.bg-light {
    border-left: 4px solid #0d6efd !important; /* Primary color for price estimate */
}

/* Scrollable containers */
.services-container {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid #dee2e6;
}

.services-container::-webkit-scrollbar {
    width: 6px;
}

.services-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.services-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.services-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Button styling */
#sendInquiryButton {
    min-width: 150px;
    transition: all 0.3s ease;
}

/* Success notification toast */
.toast {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
}

.toast .toast-header {
    border-bottom: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .payment-methods-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .payment-methods-container .form-check {
        min-width: auto;
    }

    #inquiryModal .modal-dialog {
        margin: 0.5rem;
    }

    .services-container {
        max-height: 250px;
    }
}

.highlight-new-service {
    position: relative;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 217, 102, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
    animation: pulse-highlight 2s infinite;
    border-radius: 4px;
    padding: 0 5px;
}

@keyframes pulse-highlight {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

.nav-item i {
    width: 1.0rem;
}

.service-status .badge {
    font-size: 12px;
    font-weight: normal;
    padding: 2px 5px;
}

.digimarket-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.digimarket-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(0%) translateY(0%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.digimarket-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 200px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.digimarket-highlight .btn-light {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-weight: 600;
    color: #667eea;
    transition: all 0.3s ease;
}

.digimarket-highlight .btn-light:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.section_selected {
    background: #EEE;
    border-radius: 5px;
}

.challenge-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.challenge-highlight .btn-light {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    font-weight: 600;
    color: #764ba2;
    transition: all 0.3s ease;
}

.challenge-highlight .btn-light:hover {
    background: #FFF;
}

.challenge-highlight .btn-light:disabled {
    background: rgba(255, 255, 255, 0.5);
    color: #808080;
    transform: none;
    box-shadow: none;
}

@keyframes challenge-shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(0%) translateY(0%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.highlight-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #feca57;
    color: red;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: bold;
}

.challenge-progress {
    position: relative;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
    margin: 30px 20px;
}

.challenge-progress-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 1px;
    transition: width 0.5s ease;
}

.challenge-step {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    font-weight: bold;
    z-index: 2;
    transition: all 0.3s ease;
}

.challenge-step:nth-child(2) {
    left: 0;
    transform: translateX(-50%) translateY(-50%);
}

.challenge-step:nth-child(3) {
    left: 33.33%;
    transform: translateX(-50%) translateY(-50%);
}

.challenge-step:nth-child(4) {
    left: 66.66%;
    transform: translateX(-50%) translateY(-50%);
}

.challenge-step:nth-child(5) {
    left: 99%;
    transform: translateX(-50%) translateY(-50%);
}

.challenge-bonus {
    animation: bonus-pulse 2s infinite;
}

.challenge-bonus.completed {
    animation: bonus-celebration 0.6s ease;
}

@keyframes bonus-pulse {
    0%, 100% {
        transform: translateX(-50%) translateY(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) translateY(-50%) scale(1.1);
    }
}

@keyframes bonus-celebration {
    0% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(1.3);
    }
    100% {
        transform: translateY(-50%) scale(1);
    }
}

.challenge-mission {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    margin: 15px 0;
}

.challenge-mission-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

.challenge-mission-desc {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
}

.skip-link {
    transition: all 0.3s ease;
    cursor: pointer;
}

.skip-link:hover {
    opacity: 1 !important;
    text-decoration: underline !important;
    transform: translateX(3px);
}

.digi_desc img {
    max-width: 100%;
}

.home-features-section {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e4a72 100%);
    position: relative;
    overflow: hidden;
}

.home-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

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

.home-feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.home-feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.home-feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #fff;
    transition: all 0.3s ease;
}

.home-feature-card:hover .home-feature-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.home-feature-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.home-feature-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.95rem;
}

.home-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.home-section-title {
    color: #fff;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.home-section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
}

.nav-logo {
    width: 18em;
}


@media (max-width: 768px) {
    .home-section-title {
        font-size: 2rem;
    }

    .home-feature-card {
        padding: 1.5rem;
    }

    .home-feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}


@media (max-width: 576px) {
    .nav-logo {
        width: 10em;
    }

    .container {
        padding-right: 0.5rem !important;
        padding-left: 0.5rem !important;
        max-width: 100%;
    }

    .aphome-hero-section {
        padding: 0.5rem;
    }

    .aphome-members {
        padding: 0.5rem;
    }

    .aphome-hero-section span {
        display: block;
    }

    .dashboard-post-form {
        display: none
    }

    .home-footer {
        bottom: -50px;
    }

    .image-container {
        position: relative;
        overflow: hidden;
        margin-top: 5%;
    }

    .task-image img {
        width: 50px;
        margin-bottom: 10px;
        margin-right: 10px;
    }

    .aphome-hero-headline {
        font-size: 2rem;
    }

    .aphome-cta-title {
        font-size: 1rem;
    }
}

.masonry-grid {
    width: 100%;
}

.masonry-item {
    width: calc(50% - 8px);
    margin-bottom: 0px;
    transition: all 0.3s ease;
}

.masonry-item .card {
    margin-bottom: 0;
}

/* Mobile responsive - single column on small screens */
@media (max-width: 768px) {
    .masonry-item {
        width: 100%;
    }
}

/* IMS Article Card Styles - Professional Museum Digital Marketing Hub */

.ims-article-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    backdrop-filter: blur(10px);
}

.ims-article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(102, 126, 234, 0.2);
}

.ims-article-title {
    color: #1a202c;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.ims-article-title:hover {
    color: #667eea;
    text-decoration: none;
}

.ims-category-icon {
    color: #4299e1;
    font-size: 1.1rem;
}

.ims-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    border: none;
    margin: 1rem 0;
}

.bg_solution {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}