.invalid-feedback{
    color : red;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}
.d-none {
    display: none !important;
}
.cursor-wait, .cursor-wait * {
    cursor: wait !important;
}
button {
    font-family: Inter, sans-serig;
}

/* Featured category link */
.roblox-codes-cta-wrap {
    margin-top: 24px;
}

.roblox-codes-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-height: 52px;
    padding: 10px 16px 10px 11px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #6842fe 0%, #9a3ff4 52%, #e442fe 100%);
    border: 1px solid rgba(233, 233, 255, .28);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(104, 66, 254, .28), inset 0 1px 0 rgba(255, 255, 255, .2);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    isolation: isolate;
}

.roblox-codes-cta::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, #7b5aff 0%, #b33ff1 48%, #f05bff 100%);
    content: "";
    opacity: 0;
    transition: opacity .2s ease;
}

.roblox-codes-cta__icon {
    display: grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    place-items: center;
    color: #e9e9ff;
    background: rgba(4, 3, 15, .28);
    border: 1px solid rgba(233, 233, 255, .2);
    border-radius: 9px;
}

.roblox-codes-cta__icon svg {
    width: 20px;
    height: 20px;
}

.roblox-codes-cta__arrow {
    width: 18px;
    height: 18px;
    margin-left: 3px;
    transition: transform .2s ease;
}

@media (hover: hover) {
    .roblox-codes-cta:hover {
        color: #fff;
        border-color: rgba(233, 233, 255, .5);
        box-shadow: 0 14px 34px rgba(104, 66, 254, .4), 0 0 20px rgba(228, 66, 254, .18), inset 0 1px 0 rgba(255, 255, 255, .24);
        transform: translateY(-2px);
    }

    .roblox-codes-cta:hover::before {
        opacity: 1;
    }

    .roblox-codes-cta:hover .roblox-codes-cta__arrow {
        transform: translateX(3px);
    }
}

.roblox-codes-cta:focus-visible {
    outline: 3px solid rgba(233, 233, 255, .9);
    outline-offset: 3px;
}

.roblox-codes-cta:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .roblox-codes-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .roblox-codes-cta,
    .roblox-codes-cta::before,
    .roblox-codes-cta__arrow {
        transition: none;
    }
}

/* Cheats and codes category cards */
.code-post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.code-post-card {
    display: flex;
    align-items: flex-start;
    min-width: 0;
    overflow: hidden;
    background: #0f0f17;
    border: 1px solid rgba(197, 193, 242, .1);
    border-radius: 14px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.code-post-card__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 20px 18px;
}

.code-post-card__date {
    margin-bottom: 12px;
    color: #a088ff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    line-height: 1.4;
    text-transform: uppercase;
}

.code-post-card__title {
    margin: 0;
    font-size: 21px;
    line-height: 1.25;
}

.code-post-card__title a {
    display: block;
    color: #e9e9ff;
    font-size: inherit;
    overflow-wrap: anywhere;
    text-decoration: none;
    transition: color .2s ease;
}

@media (hover: hover) {
    .code-post-card:hover {
        border-color: rgba(104, 66, 254, .48);
        box-shadow: 0 12px 30px rgba(4, 3, 15, .28);
        transform: translateY(-2px);
    }

    .code-post-card__title a:hover {
        color: #e442fe;
    }
}

.code-post-card__title a:focus-visible {
    outline: 3px solid #6842fe;
    outline-offset: -3px;
}

@media (max-width: 1180px) {
    .code-post-grid {
        gap: 18px;
    }

    .code-post-card__content {
        padding: 17px 15px;
    }

    .code-post-card__title {
        font-size: 18px;
    }
}

@media (max-width: 760px) {
    .code-post-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 420px) {
    .code-post-grid {
        gap: 14px;
    }

    .code-post-card__content {
        padding: 15px 13px;
    }

    .code-post-card__date {
        margin-bottom: 9px;
        font-size: 10px;
    }

    .code-post-card__title {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .code-post-card,
    .code-post-card__title a {
        transition: none;
    }
}

/* Cheats and codes navigation dropdown */
.header__menu-list > .header__menu-item--dropdown {
    position: relative;
}

.header__menu-item--dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header__menu-chevron {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    transition: transform .2s ease;
}

.header__submenu {
    position: absolute;
    top: calc(100% + 22px);
    left: 50%;
    z-index: 30;
    width: 190px;
    padding: 8px;
    visibility: hidden;
    background: #161622;
    border: 1px solid rgba(197, 193, 242, .16);
    border-radius: 14px;
    box-shadow: 0 16px 38px rgba(4, 3, 15, .5);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: visibility .2s ease, opacity .2s ease, transform .2s ease;
}

.header__submenu::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 22px;
    content: "";
}

.header__menu-list .header__submenu li {
    margin: 0;
}

.header__menu-list .header__submenu a {
    padding: 13px 14px;
    color: #e9e9ff;
    background: #0f0f17;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    border: 1px solid rgba(197, 193, 242, .1);
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.2;
    text-align: left;
}

.header__menu-list .header__submenu a::after {
    display: none;
}

.header__menu-item--dropdown:hover > .header__submenu,
.header__menu-item--dropdown:focus-within > .header__submenu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.header__menu-item--dropdown:hover > a .header__menu-chevron,
.header__menu-item--dropdown:focus-within > a .header__menu-chevron {
    transform: rotate(180deg);
}

@media (hover: hover) {
    .header__menu-list .header__submenu a:hover {
        color: #fff;
        background: #6842fe;
        border-color: #6842fe;
    }
}

@media (max-width: 1000px) {
    .header__menu-item--dropdown > a {
        justify-content: center;
    }

    .header__submenu {
        position: static;
        width: 100%;
        margin-top: 8px;
        padding: 0 0 0 16px;
        visibility: visible;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .header__submenu::before {
        display: none;
    }

    .header__menu-item--dropdown:hover > .header__submenu,
    .header__menu-item--dropdown:focus-within > .header__submenu {
        transform: none;
    }

    .header__menu-list .header__submenu a {
        color: #a088ff;
        background: rgba(104, 66, 254, .1);
        border-color: rgba(104, 66, 254, .28);
        font-size: 14px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header__menu-chevron,
    .header__submenu {
        transition: none;
    }
}
.admin-header {
    background-color: white;
    display: flex;
    padding: 5px 10px;
}
.admin-header-item {
    padding: 0 5px;
}
.admin-header-item:not(:last-child) {
    border-right: 1px solid black;
}
.admin-header a {
    text-decoration: underline;
}
.admin-header a:hover {
    text-decoration: none;
}
.article__image_small {
    max-width: 50%;
}
.admin-only-post {
    margin: 0;
    color: red;
    font-size: 150%;
    text-align: center;
}
.screens-slider-two {
    display: flex;
    gap: 12px;
}

.summary-sites-wrapper {
    display: flex;
}
.summary-sites-item {

}


.game-platforms-wrapper {
}
.game-platforms-item {
    display: inline-block;
    width: 40px;
    height: 40px;
}
.game-platforms-item img{
    object-fit: contain;
    width: 100%;
}


.pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}
.pagination .pagination-number {
    padding: 12px 17px;
    font-size: 15px;
    color: #e9e9ff;
    background-color: #161622;
    transition: all .3s;
    border-radius: 14px;
    border: 2px solid rgba(197,193,242,.1);
}
.pagination .active .pagination-number {
    background-color: rgb(119,44,251);
}
.pagination .pagination-number:hover {
    border-color: rgba(197, 193, 242, 0.273);
}
.pagination .disabled .pagination-side {
    color: #e9e9ffb0;
}
.pagination .pagination-side {
    color: #e9e9ff;
}
.pagination a.pagination-side:hover {
    color: #6842fe;
}
.pagination li:first-child {
    padding-right: 10px;
}
.pagination li:last-child {
    padding-left: 10px;
}
@media screen and (max-width: 800px) {
    .pagination {
        gap: 8px;
    }
    .pagination .pagination-number {
        padding: 7px 12px;
        font-size: 14px;
    }
    .pagination li:first-child {
        padding-right: 7px;
    }
    .pagination li:last-child {
        padding-left: 7px;
    }
    .pagination .pagination-side {
        font-size: 14px;
    }
    .pagination .pagination-side span {
        display: none;
    }
}

/* COMMENTs */
#comments-block.loading:after {
    content: '';
    background-image: url('/images/icons/loading.svg'); /* Path to your spinner gif */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50px 50px; /* Adjust size as needed */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Dim background */
    z-index: 10; /* Ensure it sits above content */
    display: flex;
    justify-content: center;
    align-items: center;
}

.comment-block:not(:last-child) {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(197,193,242,.1);
}

.comment-item {
    padding-bottom: 20px;
    display: flex;
    gap: 10px;
    position: relative;
}

.comment-item .cb-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    flex-shrink: 0;
}

.cb-has-replies-vertical {
    position: absolute;
    width: 40px;
    border-left: 1px solid rgba(197,193,242,.1);
    height: 100%;
    top: 1px;
    left: 25px;
    z-index: -1;
}

.cb-is-reply-corner {
    position: absolute;
    left: -35px; /* (50/2)+10 */
    top: -1px;
    height: 25px;
    width: 35px;
    border-left: 1px solid rgba(197,193,242,.1);
    border-bottom: 1px solid rgba(197,193,242,.1);
    border-radius: 3px;
    z-index: -1;
}

.cb-has-other-reply-on-same-level-vertical {
    position: absolute;
    left: -35px; /* (50/2)+10 */
    top: 0px;
    height: 100%;
    border-left: 1px solid rgba(197,193,242,.1);
}

.comment-item .cb-avatar img {
    overflow: hidden;
    width: 100%;
}

.comment-item .cb-top {
    display: flex;
    margin-bottom: 5px;
    gap: 8px;
}

.comment-item .cb-name {
    color: white;
    font-weight: bold;
    margin-bottom: 5px;
}

.comment-item .cb-date {
    font-size: 90%;
    margin-bottom: 5px;   
}

.comment-item .cb-text {
    color: white;
    margin-bottom: 5px;
}

.comment-item .cb-text p {
    white-space: pre-line;
    margin-top: 0;
}

.comment-item .cb-actions {
    display: flex;
    gap: 8px;
}

.comment-item .cb-actions button {
    background: none;
    color: #6e6b86;
}

.comment-item .cb-like {
    display: flex;
    gap: 2px;
}

.cb-like.liked svg path{
    stroke: #6842fe
}

.cb-like.liked .cb-likes-count{
    color: #6842fe
}

.comment-reply {
    margin-left: 60px;
}

.cb-see-more-replies {
    background: none;
    color: #6e6b86;
    position: relative;
}

.cb-see-more-replies .corner {
    position: absolute;
    top: 0px;
    left: -35px;
    border-left: 1px solid rgba(197,193,242,.1);
    border-bottom: 1px solid rgba(197,193,242,.1);
    width: 34px;
    height: 11px;
    border-radius: 3px;
    z-index: -1;
}

.reply-form-block {
    margin-top: 15px;
}
