:root {
    --chat-bg: #fffaf0;
    --chat-bg-soft: #fff4c7;
    --chat-card: #ffffff;
    --chat-dark: #2f3136;
    --chat-text: #2f3136;
    --chat-muted: #667085;
    --chat-green: #189b55;
    --chat-green-dark: #08783d;
    --chat-yellow: #ffcc33;
    --chat-border: rgba(47, 49, 54, .12);
    --chat-shadow: 0 12px 30px rgba(47, 49, 54, .10);
    --chat-radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body,
input,
select,
button,
a {
    font-family: Roboto, Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 204, 51, .28), transparent 34%),
        radial-gradient(circle at top right, rgba(24, 155, 85, .16), transparent 30%),
        var(--chat-bg);
    color: var(--chat-text);
    line-height: 1.5;
}

a {
    color: var(--chat-green);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--chat-green-dark);
    text-decoration: none;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

strong,
.greenspan {
    color: var(--chat-green);
    font-weight: 800;
}

.chatitaly-page > .container,
.chatitaly-hero-inner {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* NAVBAR */

.chatitaly-navbar.navbar-default {
    min-height: 70px;
    margin: 0;
    background: rgba(47, 49, 54, .96);
    border: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.chatitaly-navbar-inner {
    width: 100%;
    max-width: 1180px;
    min-height: 70px;
    margin: 0 auto;
    padding: 0 15px;
}

.chatitaly-brand {
    height: 70px;
    padding: 15px 0;
}

.chatitaly-brand img {
    display: block;
    width: 212px;
    height: 40px;
}

.chatitaly-navbar-collapse {
    padding: 0;
}

.chatitaly-nav {
    float: right;
    margin: 12px 0 0;
}

.chatitaly-nav > li {
    margin: 0 0 0 4px;
}

.chatitaly-navbar.navbar-default .chatitaly-nav > li > a {
    padding: 12px 11px;
    border-radius: 999px;
    color: #f2f4f7;
    font-size: 14px;
    font-weight: 700;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.chatitaly-navbar.navbar-default .chatitaly-nav > li > a:hover,
.chatitaly-navbar.navbar-default .chatitaly-nav > li > a:focus,
.chatitaly-navbar.navbar-default .chatitaly-nav > .active > a,
.chatitaly-navbar.navbar-default .chatitaly-nav > .active > a:hover,
.chatitaly-navbar.navbar-default .chatitaly-nav > .active > a:focus {
    background: rgba(255, 255, 255, .10);
    color: #ffffff;
}

.chatitaly-nav-cta > a {
    background: var(--chat-yellow) !important;
    color: #2f3136 !important;
    box-shadow: 0 7px 18px rgba(255, 204, 51, .28);
}

.chatitaly-nav-cta > a:hover,
.chatitaly-nav-cta > a:focus {
    background: #ffd95f !important;
    transform: translateY(-1px);
}

.chatitaly-navbar-toggle.navbar-toggle {
    width: 46px;
    height: 46px;
    margin-top: 12px;
    margin-right: 0;
    padding: 12px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
}

.chatitaly-navbar-toggle .icon-bar {
    background: #ffffff !important;
}

/* PAGE */

.chatitaly-page {
    padding-top: 70px;
}

.chatitaly-hero {
    padding: 34px 0 24px;
}

.chatitaly-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 22px;
    align-items: stretch;
}

.chatitaly-hero-copy {
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--chat-border);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 204, 51, .32), rgba(255, 255, 255, .92) 46%),
        #ffffff;
    box-shadow: var(--chat-shadow);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(24, 155, 85, .10);
    color: var(--chat-green-dark);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.chatitaly-hero h1 {
    margin: 0 0 12px;
    color: var(--chat-dark);
    font-size: 44px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.chatitaly-hero p {
    max-width: 720px;
    margin: 0;
    color: #475467;
    font-size: 18px;
    line-height: 1.65;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid rgba(24, 155, 85, .14);
    border-radius: 999px;
    background: #ffffff;
    color: #344054;
    font-size: 13px;
    font-weight: 800;
}

.hero-points i {
    color: var(--chat-green);
}

.hero-mini-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    padding: 24px;
    border-radius: 24px;
    background: var(--chat-dark);
    color: #ffffff;
    box-shadow: var(--chat-shadow);
}

.hero-mini-card strong {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.18;
}

.hero-mini-card small {
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
    line-height: 1.45;
}

.hero-mini-card .greenspan {
    color: var(--chat-yellow);
}

.hero-mini-card a {
    display: inline-flex;
    justify-content: center;
    padding: 11px 13px;
    border-radius: 999px;
    background: var(--chat-yellow);
    color: var(--chat-dark);
    font-weight: 900;
}

/* TOOLBAR */

.chatitaly-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chatitaly-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid rgba(47, 49, 54, .10);
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    color: var(--chat-dark);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

button.chatitaly-tool-btn {
    appearance: none;
}

.chatitaly-tool-btn:hover,
.chatitaly-tool-btn:focus {
    background: #ffffff;
    color: var(--chat-green-dark);
    box-shadow: 0 8px 18px rgba(47, 49, 54, .10);
    transform: translateY(-1px);
}

/* ADS */

.chatitaly-ad-wrap {
    margin-bottom: 16px;
}

.ad-card,
.chatitaly-footer-ad {
    width: 100%;
    min-height: 90px;
    padding: 10px;
    border: 1px solid var(--chat-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, .82);
    overflow: hidden;
    text-align: center;
}

.chatitaly-footer-ad {
    height: 110px;
    margin-bottom: 16px;
}

/* CARDS */

.chatitaly-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    gap: 18px;
    align-items: start;
}

.chat-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--chat-border);
    border-radius: var(--chat-radius);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 22px rgba(47, 49, 54, .07);
}

.card-heading {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.card-heading.compact {
    margin-bottom: 14px;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 204, 51, .35);
    color: var(--chat-green-dark);
    font-size: 19px;
}

.card-heading h2,
.chat-card h2 {
    margin: 0 0 4px;
    color: var(--chat-dark);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.2;
}

.card-heading p,
.chat-card p {
    margin: 0;
    color: var(--chat-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* FORM */

.chatform {
    display: grid;
    gap: 12px;
}

.field-label {
    display: block;
    margin: 0 0 -6px;
    color: #344054;
    font-size: 13px;
    font-weight: 900;
}

input[type="text"],
input[type="number"],
input[type="password"],
select {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid rgba(47, 49, 54, .18);
    border-radius: 13px;
    background: #fff9df;
    color: var(--chat-dark);
    font-size: 16px;
    outline: none;
    appearance: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
select:focus {
    border-color: rgba(24, 155, 85, .55);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(24, 155, 85, .12);
}

::placeholder {
    color: rgba(47, 49, 54, .50);
}

.form-row {
    display: grid;
    gap: 12px;
}

.form-row.two-cols {
    grid-template-columns: 160px minmax(0, 1fr);
}

.select-css {
    padding-right: 40px;
    background:
        linear-gradient(45deg, transparent 50%, var(--chat-green) 50%),
        linear-gradient(135deg, var(--chat-green) 50%, transparent 50%),
        #fff9df;
    background-position:
        calc(100% - 20px) 19px,
        calc(100% - 14px) 19px,
        0 0;
    background-size:
        6px 6px,
        6px 6px,
        100% 100%;
    background-repeat: no-repeat;
}

.chatsettings {
    display: grid;
    gap: 9px;
    margin-top: 2px;
}

.switch-line {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid rgba(47, 49, 54, .10);
    border-radius: 13px;
    background: rgba(47, 49, 54, .035);
    color: #344054;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.switch-line input {
    margin: 0;
}

.switch-line i {
    color: var(--chat-green);
}

.chat-button,
.register-button {
    width: 100%;
    min-height: 54px;
    margin-top: 2px;
    padding: 13px 16px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--chat-green), var(--chat-green-dark));
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(24, 155, 85, .25);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.chat-button:hover,
.chat-button:focus,
.register-button:hover,
.register-button:focus {
    color: #ffffff;
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(24, 155, 85, .30);
}

.chat-button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.error,
.nsnotify,
.errorageverify,
.errorage {
    display: none;
    padding: 10px 12px;
    border-radius: 13px;
    background: #2f3136;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.nsnotify {
    background: #fff0c2;
    color: #7a4c00;
}

.registered-nick-box {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px dashed rgba(24, 155, 85, .35);
    border-radius: 15px;
    background: rgba(24, 155, 85, .06);
}

.registered-nick-box p {
    font-size: 13px;
}

/* STATS */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 16px 0;
}

.stats-grid div {
    padding: 14px 10px;
    border-radius: 15px;
    background: #fff9df;
    text-align: center;
}

.stats-grid strong {
    display: block;
    color: var(--chat-green-dark);
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
}

.stats-grid span {
    display: block;
    margin-top: 5px;
    color: var(--chat-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.quick-links {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.quick-links li {
    margin: 0;
}

.quick-links a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 12px;
    border-radius: 13px;
    background: rgba(24, 155, 85, .08);
    color: var(--chat-green-dark);
    font-weight: 900;
}

.flexads {
    width: 100%;
    height: 90px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(47, 49, 54, .04);
    text-align: center;
}

/* CONTENT */

.content-section {
    margin-top: 18px;
}

.intro-card p + p {
    margin-top: 10px;
}

.info-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}

.small-info-card {
    height: 100%;
}

.small-info-card.positive {
    border-left: 5px solid var(--chat-green);
}

.small-info-card.warning {
    border-left: 5px solid var(--chat-yellow);
}

.small-info-card ul {
    margin: 0;
}

.rule-card {
    background:
        linear-gradient(135deg, rgba(255, 204, 51, .20), rgba(255, 255, 255, .94)),
        #ffffff;
}

/* FOOTER */

.footer-wrap {
    margin-top: 18px;
    margin-bottom: 40px;
}

.chatitaly-footer {
    width: 100%;
}

.chatitaly-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.chatitaly-footer-card {
    padding: 18px;
    border: 1px solid var(--chat-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 20px rgba(47, 49, 54, .06);
}

.chatitaly-footer-card h4 {
    margin: 0 0 12px;
    color: var(--chat-dark);
    font-size: 17px;
    font-weight: 900;
}

.chatitaly-footer-card h4 i {
    color: var(--chat-green);
}

.chatitaly-footer-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chatitaly-footer-card li {
    display: flex;
    gap: 8px;
    align-items: baseline;
    margin: 0 0 8px;
    color: var(--chat-muted);
    font-size: 14px;
}

.chatitaly-footer-card li:last-child {
    margin-bottom: 0;
}

.chatitaly-footer-card li i {
    width: 16px;
    color: var(--chat-green);
    text-align: center;
}

.chatitaly-footer-card a {
    font-weight: 800;
}

.chatitaly-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding: 14px 2px 0;
    border-top: 1px solid rgba(47, 49, 54, .10);
    color: var(--chat-muted);
    font-size: 13px;
}

/* COOKIE BAR */

.cookieChoiceInfo {
    font-family: Roboto, Arial, sans-serif !important;
}

/* LEGACY COMPAT */

.info,
.infocontent,
.info-flex,
.info-flex-box,
.footer-flex,
.footer-flex-box,
.faq {
    max-width: 1180px;
}

.chanops {
    display: inline-flex;
    margin: 2px 4px 2px 0;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(24, 155, 85, .10);
    color: var(--chat-green-dark);
    font-size: 12px;
    font-weight: 900;
}

/* RESPONSIVE */

@media screen and (max-width: 1180px) {
    .chatitaly-navbar-inner,
    .chatitaly-page > .container,
    .chatitaly-hero-inner {
        max-width: 1024px;
    }

    .chatitaly-navbar.navbar-default .chatitaly-nav > li > a {
        padding-left: 9px;
        padding-right: 9px;
        font-size: 13px;
    }

    .chatitaly-hero h1 {
        font-size: 38px;
    }
}

@media screen and (max-width: 1024px) {
    .chatitaly-navbar-header {
        float: none;
    }

    .chatitaly-navbar-toggle {
        display: block;
    }

    .chatitaly-navbar-collapse.collapse {
        display: none !important;
    }

    .chatitaly-navbar-collapse.collapse.in {
        display: block !important;
    }

    .chatitaly-nav {
        float: none;
        margin: 0;
        padding: 10px 0 14px;
    }

    .chatitaly-nav > li {
        float: none;
        margin: 0 0 6px;
    }

    .chatitaly-navbar.navbar-default .chatitaly-nav > li > a {
        display: block;
        padding: 13px 14px;
        border-radius: 13px;
        background: rgba(255, 255, 255, .08);
        font-size: 15px;
    }

    .chatitaly-hero-inner,
    .chatitaly-main-grid {
        grid-template-columns: 1fr;
    }

    .hero-mini-card {
        display: grid;
        grid-template-columns: 1fr;
    }

    .info-columns,
    .chatitaly-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 767px) {
    .chatitaly-page {
        padding-top: 70px;
    }

    .chatitaly-hero {
        padding-top: 18px;
    }

    .chatitaly-hero-copy,
    .hero-mini-card,
    .chat-card {
        padding: 18px;
        border-radius: 18px;
    }

    .chatitaly-hero h1 {
        font-size: 32px;
    }

    .chatitaly-hero p {
        font-size: 16px;
    }

    .chatitaly-toolbar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

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

    .form-row.two-cols {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .chatitaly-footer-bottom {
        flex-direction: column;
    }
}

@media screen and (max-width: 420px) {
    .chatitaly-brand img {
        width: 190px;
        height: auto;
        margin-top: 2px;
    }

    .chatitaly-toolbar {
        grid-template-columns: 1fr;
    }

    .chatitaly-hero h1 {
        font-size: 28px;
    }
}

.chatitaly-hero-inner::before,
.chatitaly-hero-inner::after,
.chatitaly-main-grid::before,
.chatitaly-main-grid::after,
.content-section::before,
.content-section::after,
.footer-wrap::before,
.footer-wrap::after,
.chatitaly-ad-wrap::before,
.chatitaly-ad-wrap::after {
    display: none !important;
    content: none !important;
}

.chatitaly-hero-inner,
.chatitaly-main-grid,
.content-section,
.footer-wrap,
.chatitaly-ad-wrap {
    margin-left: auto;
    margin-right: auto;
}

.primary-field small {
    display: block;
    margin-top: 6px;
    color: var(--chat-muted);
    font-size: 13px;
    line-height: 1.4;
}

.age-confirm {
    border-color: rgba(24, 155, 85, .22);
    background: rgba(24, 155, 85, .08);
}

.optional-profile-box {
    margin-top: 4px;
    border: 1px solid rgba(47, 49, 54, .10);
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
    overflow: hidden;
}

.optional-profile-box summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: var(--chat-dark);
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.optional-profile-box summary::-webkit-details-marker {
    display: none;
}

.optional-profile-box summary span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.optional-profile-box summary small {
    color: var(--chat-muted);
    font-size: 12px;
    font-weight: 800;
}

.optional-profile-content {
    display: grid;
    gap: 12px;
    padding: 0 14px 14px;
}

.secondary-settings {
    margin-top: 0;
}

@media screen and (max-width: 767px) {
    .chat-login-card {
        padding: 16px;
    }

    .chat-access-form .field-label {
        font-size: 14px;
    }

    .chat-access-form input[type="text"],
    .chat-access-form input[type="password"],
    .chat-access-form select {
        min-height: 52px;
        font-size: 17px;
    }

    .age-confirm {
        align-items: flex-start;
        padding: 13px;
        line-height: 1.35;
    }

    .chat-button {
        min-height: 58px;
        font-size: 21px;
    }
}

/* =========================================================
   FORM UX REFINEMENT
========================================================= */

.chat-access-form .primary-field,
.optional-profile-content .form-row > div,
.optional-profile-content > .form-row {
    display: grid;
    gap: 7px;
}

.chat-access-form .field-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #253044;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .025em;
}

.chat-access-form .field-label::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    color: var(--chat-green);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 13px;
}

label[for="nickinput"]::before {
    content: "\f007";
}

label[for="age"]::before {
    content: "\f1fd";
}

label[for="sex-select"]::before {
    content: "\f2bd";
}

label[for="location"]::before {
    content: "\f3c5";
}

.chat-access-form input[type="text"],
.chat-access-form input[type="password"],
.chat-access-form select {
    margin: 0;
}

.optional-profile-box summary {
    min-height: 54px;
}

.optional-profile-box summary::after {
    content: "\f107";
    color: var(--chat-green);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.optional-profile-box[open] summary::after {
    content: "\f106";
}

.optional-profile-content {
    padding-top: 2px;
}

.optional-profile-content .form-row.two-cols {
    align-items: end;
}

.secondary-settings {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    padding-top: 10px;
    border-top: 1px dashed rgba(47, 49, 54, .16);
}

.switch-line {
    line-height: 1.25;
}

.switch-line input {
    flex: 0 0 auto;
}

.switch-line span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

@media screen and (max-width: 767px) {
    .optional-profile-content .form-row.two-cols {
        grid-template-columns: 1fr;
    }

    .chat-access-form .field-label {
        font-size: 12px;
    }
}

.register-message {
    display: none;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid rgba(160, 24, 24, .25);
    border-radius: 16px;
    background: #fff1f1;
    color: #7a1515;
}

.register-message h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 900;
}

.register-message ul {
    margin: 0;
    padding-left: 22px;
}

.register-success {
    border-color: rgba(24, 155, 85, .28);
    background: rgba(24, 155, 85, .10);
    color: var(--chat-green-dark);
}

.register-help-box {
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border-radius: 15px;
    background: #fff9df;
    color: #664d00;
    font-size: 13px;
}

.register-help-box strong {
    color: #664d00;
    font-weight: 900;
}

.register-consents {
    display: grid;
    gap: 9px;
}

.register-loading {
    display: none;
    padding: 12px 14px;
    border-radius: 15px;
    background: rgba(24, 155, 85, .12);
    color: var(--chat-green-dark);
    font-weight: 900;
}

.register-benefits {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.register-benefits li {
    display: flex;
    gap: 9px;
    margin: 0;
    color: #344054;
    font-weight: 700;
}

.register-benefits i {
    margin-top: 3px;
    color: var(--chat-green);
}

.register-email-label::before {
    content: "\f0e0" !important;
}

.register-password-label::before {
    content: "\f084" !important;
}
.faq-index-card h2 {
    margin-bottom: 14px;
}

.faq-index-card {
    padding: 26px;
}

.faq-index-card h2 {
    margin-bottom: 24px;
}

.faq-index-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
}

.faq-index-grid a {
    display: flex;
    align-items: center;
    gap: 14px;

    min-height: 74px;

    padding: 18px 22px;

    border-radius: 18px;

    background: #f3f8f4;

    border: 1px solid rgba(24,155,85,.10);

    color: #0d7a43;

    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;

    transition: all .18s ease;
}

.faq-index-grid a:hover {
    background: #e9f6ee;
    border-color: rgba(24,155,85,.22);

    transform: translateY(-2px);
}

.faq-index-grid i {
    width: 24px;
    min-width: 24px;

    text-align: center;

    font-size: 22px;

    color: var(--chat-green);
}

.faq-index-grid a:hover,
.faq-index-grid a:focus {
    background: rgba(24, 155, 85, .14);
}

.faq-index-grid i {
    width: 18px;
    text-align: center;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-answer {
    scroll-margin-top: 92px;
}

.faq-answer h2 {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 22px;
}

.faq-answer h2 i {
    margin-top: 3px;
    color: var(--chat-green);
}

.faq-answer p + p {
    margin-top: 10px;
}

.faq-data-box {
    display: grid;
    gap: 7px;
    margin: 12px 0;
    padding: 13px 14px;
    border-radius: 15px;
    background: #fff9df;
    color: #533f00;
}

.faq-data-box span {
    display: block;
}

@media screen and (max-width: 767px) {
    .faq-index-grid {
        grid-template-columns: 1fr;
    }

    .faq-answer h2 {
        font-size: 20px;
    }
}

@media screen and (max-width: 767px) {

    .faq-index-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .faq-index-grid a {
        min-height: 66px;

        padding: 16px 18px;

        font-size: 17px;
    }

    .faq-index-grid i {
        font-size: 20px;
    }

}
/* =========================================================
   FAQ PAGE SPACING FIX
========================================================= */

.faq-page .chatitaly-ad-wrap {
    margin-top: 24px;
    margin-bottom: 28px;
}

.faq-page .content-section {
    display: grid;
    gap: 26px;
    margin-top: 0;
    margin-bottom: 28px;
}

.faq-page .intro-card,
.faq-page .faq-index-card,
.faq-page .faq-answer {
    padding: 28px;
}

.faq-page .intro-card h2,
.faq-page .faq-index-card h2 {
    margin: 0 0 18px;
}

.faq-page .intro-card p {
    max-width: 980px;
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
}

.faq-page .intro-card p + p {
    margin-top: 14px;
}

.faq-index-card {
    margin-top: 0;
}

.faq-index-grid {
    gap: 20px;
}

.faq-index-grid a {
    min-height: 76px;
    padding: 20px 24px;
}

.faq-list {
    display: grid;
    gap: 22px;
    margin-top: 0;
}

.faq-answer {
    scroll-margin-top: 96px;
}

@media screen and (max-width: 767px) {
    .faq-page .chatitaly-ad-wrap {
        margin-top: 18px;
        margin-bottom: 20px;
    }

    .faq-page .content-section {
        gap: 18px;
        margin-bottom: 20px;
    }

    .faq-page .intro-card,
    .faq-page .faq-index-card,
    .faq-page .faq-answer {
        padding: 20px;
    }

    .faq-index-grid {
        gap: 14px;
    }

    .faq-index-grid a {
        min-height: 66px;
        padding: 16px 18px;
    }
}

.rules-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.rules-summary-grid ul,
.rule-item ul {
    margin: 0;
    padding-left: 20px;
}

.rules-summary-grid li {
    margin-bottom: 9px;
    color: #344054;
    font-weight: 700;
}

.rules-list {
    display: grid;
    gap: 18px;
}

.rule-item {
    scroll-margin-top: 96px;
}

.rule-item h2 {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 22px;
}

.rule-item h2 i {
    margin-top: 3px;
    color: var(--chat-green);
}

.rule-item p + p {
    margin-top: 10px;
}

@media screen and (max-width: 767px) {
    .rules-summary-grid {
        grid-template-columns: 1fr;
    }

    .rule-item h2 {
        font-size: 20px;
    }
}

/* =========================================================
   RULES PAGE SPACING FIX
========================================================= */

.rules-page .chatitaly-ad-wrap {
    margin-top: 24px;
    margin-bottom: 30px;
}

.rules-page .content-section {
    display: grid;
    gap: 26px;
    margin-top: 0;
    margin-bottom: 30px;
}

.rules-page .intro-card,
.rules-page .small-info-card,
.rules-page .rule-item,
.rules-page .rule-card {
    padding: 28px;
}

.rules-summary-grid {
    gap: 24px;
    margin-top: 4px;
}

.rules-summary-grid .small-info-card {
    min-height: 230px;
}

.rules-list {
    gap: 24px;
    margin-top: 0;
}

.rules-list .rule-item {
    padding: 28px;
}

.rules-page .footer-wrap {
    margin-top: 36px;
}

.rules-page .chatitaly-footer-ad {
    margin-top: 0;
}

@media screen and (max-width: 767px) {
    .rules-page .content-section {
        gap: 18px;
        margin-bottom: 22px;
    }

    .rules-page .intro-card,
    .rules-page .small-info-card,
    .rules-page .rule-item,
    .rules-page .rule-card {
        padding: 20px;
    }

    .rules-summary-grid {
        gap: 18px;
    }

    .rules-summary-grid .small-info-card {
        min-height: auto;
    }

    .rules-list {
        gap: 18px;
    }
}

/* =========================================================
   STATS PAGE
========================================================= */

.stats-page .content-section {
    display: grid;
    gap: 24px;
    margin-top: 0;
    margin-bottom: 28px;
}

.stats-live-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-live-card {
    display: grid;
    gap: 7px;
    padding: 22px;
    text-align: center;
}

.stat-live-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 4px;
    border-radius: 16px;
    background: rgba(24, 155, 85, .10);
    color: var(--chat-green);
    font-size: 20px;
}

.stat-live-card strong {
    color: var(--chat-green-dark);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.stat-live-card span:last-child {
    color: var(--chat-muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.opers-card h2 {
    margin-bottom: 8px;
}

.chan-opers-list {
    margin-top: 12px;
}

.stats-panel {
    padding: 26px;
}

.stats-panel h2 {
    margin-bottom: 8px;
}

.stats-panel p {
    max-width: 850px;
}

.stats-panel-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.stats-period-form {
    flex: 0 0 auto;
}

.stats-period-switch {
    display: flex;
    gap: 7px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(47, 49, 54, .06);
}

.stats-period-switch .ui-button {
    margin: 0;
    padding: 9px 13px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #344054;
    font-family: Roboto, Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
}

.stats-period-switch .ui-checkboxradio-checked,
.stats-period-switch .ui-state-active {
    background: var(--chat-green) !important;
    color: #ffffff !important;
}

.chart-card-wrap {
    min-height: 260px;
    padding: 14px;
    border-radius: 18px;
    background: #fff9df;
    overflow: hidden;
}

#chart_activity {
    width: 100%;
    height: 260px;
}

.stats-table-wrap {
    margin-top: 18px;
    overflow-x: auto;
}

.stats-table {
    width: 100% !important;
}

.stats-table thead th {
    padding: 12px 10px !important;
    background: rgba(24, 155, 85, .10);
    color: var(--chat-green-dark);
    font-size: 13px;
    font-weight: 900;
    border: 0 !important;
}

.stats-table tbody td {
    padding: 12px 10px !important;
    border-bottom: 1px solid rgba(47, 49, 54, .08) !important;
    color: #344054;
    font-weight: 700;
}

.stats-table tbody tr {
    cursor: pointer;
}

.stats-table tbody tr:hover {
    background: rgba(24, 155, 85, .06);
}

.stats-avatar {
    width: 32px;
    height: 32px;
    margin-right: 7px;
    border-radius: 50%;
    vertical-align: middle;
}

.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length {
    margin-bottom: 12px;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    min-height: 36px;
    margin-left: 6px;
    border-radius: 10px;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    margin-top: 12px;
    color: var(--chat-muted);
    font-size: 13px;
    font-weight: 700;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 10px !important;
}

@media screen and (max-width: 1024px) {
    .stats-live-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-panel-heading {
        display: grid;
    }

    .stats-period-form {
        width: 100%;
    }

    .stats-period-switch {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        border-radius: 16px;
    }

    .stats-period-switch .ui-button {
        text-align: center;
    }
}

@media screen and (max-width: 767px) {
    .stats-live-grid {
        grid-template-columns: 1fr;
    }

    .stats-panel,
    .stat-live-card {
        padding: 20px;
    }

    .stats-period-switch {
        grid-template-columns: repeat(2, 1fr);
    }

    .chart-card-wrap {
        padding: 8px;
    }

    #chart_activity {
        height: 230px;
    }
}

.stats-table thead {
    display: none;
}

.stats-table tbody tr,
.stats-table tbody td {
    display: block;
    width: 100%;
}

.stats-table tbody td {
    padding: 0 !important;
    border: 0 !important;
}

.stats-table tbody tr {
    margin-bottom: 14px;
    background: transparent !important;
}

.activity-user-card {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(47, 49, 54, .10);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(47, 49, 54, .06);
    transition: transform .18s ease, box-shadow .18s ease;
}

.activity-user-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(47, 49, 54, .10);
}

.activity-user-main {
    display: flex;
    align-items: center;
    gap: 13px;
}

.activity-user-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(24, 155, 85, .10);
}

.activity-user-info {
    min-width: 0;
}

.activity-user-info strong {
    display: block;
    color: #253044;
    font-size: 17px;
    font-weight: 900;
    word-break: break-word;
}

.activity-user-info > span {
    display: block;
    margin-top: 2px;
    color: var(--chat-muted);
    font-size: 13px;
    font-weight: 700;
}

.activity-user-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.activity-user-stats div {
    padding: 11px 8px;
    border-radius: 14px;
    background: #fff9df;
    text-align: center;
}

.activity-user-stats strong {
    display: block;
    color: var(--chat-green-dark);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.activity-user-stats span {
    display: block;
    margin-top: 5px;
    color: var(--chat-muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

@media screen and (max-width: 767px) {
    .activity-user-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .activity-user-stats div:first-child {
        grid-column: span 2;
    }
}

#tbl_activity tbody td:not(:first-child) {
    display: none !important;
}

#tbl_activity tbody tr.child,
#tbl_activity tbody tr.child td,
#tbl_activity tbody td.child {
    display: none !important;
}

/* =========================================================
   ACTIVITY CARDS FINAL
========================================================= */

#tbl_activity thead {
    display: none !important;
}

#tbl_activity,
#tbl_activity tbody {
    display: block;
    width: 100% !important;
}

#tbl_activity tbody {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

#tbl_activity tbody tr {
    display: block;
    width: 100%;
    margin: 0 !important;
    background: transparent !important;
}

#tbl_activity tbody td {
    display: block;
    width: 100%;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

#tbl_activity tbody td:not(:first-child),
#tbl_activity tbody tr.child,
#tbl_activity tbody tr.child td,
#tbl_activity tbody td.child {
    display: none !important;
}

.activity-user-card {
    display: grid;
    gap: 16px;
    height: 100%;
    padding: 18px;
    border: 1px solid rgba(47, 49, 54, .10);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(47, 49, 54, .06);
    transition: transform .18s ease, box-shadow .18s ease;
}

.activity-user-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(47, 49, 54, .10);
}

.activity-user-main {
    display: flex;
    align-items: center;
    gap: 13px;
}

.activity-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(24, 155, 85, .10);
}

.activity-user-info {
    min-width: 0;
}

.activity-user-info strong {
    display: block;
    color: #253044;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
    word-break: break-word;
}

.activity-status {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(24, 155, 85, .10);
    color: var(--chat-green-dark);
    font-size: 12px;
    font-weight: 900;
}

.activity-user-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.activity-user-stats div {
    padding: 11px 8px;
    border: 1px solid rgba(47, 49, 54, .06);
    border-radius: 14px;
    background: #fff9df;
    text-align: center;
}

.activity-user-stats i {
    display: block;
    margin-bottom: 5px;
    color: var(--chat-green);
    font-size: 15px;
}

.activity-user-stats strong {
    display: block;
    color: var(--chat-green-dark);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.activity-user-stats span {
    display: block;
    margin-top: 5px;
    color: var(--chat-muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.dataTables_length {
    display: none !important;
}

.dataTables_filter {
    float: none !important;
    text-align: left !important;
    margin-bottom: 16px;
}

.dataTables_filter label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-weight: 900;
}

.dataTables_filter input {
    width: 100% !important;
    max-width: 360px;
    margin-left: 0 !important;
}

.dataTables_info {
    margin-top: 18px !important;
    color: var(--chat-muted) !important;
    font-weight: 800;
}

.dataTables_paginate {
    margin-top: 18px !important;
}

@media screen and (max-width: 1024px) {
    #tbl_activity tbody {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 767px) {
    .activity-user-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .activity-user-stats div:first-child {
        grid-column: span 2;
    }

    .dataTables_filter input {
        max-width: 100%;
    }
}

/* =========================================================
   STATS CHART REFINEMENT
========================================================= */

.chart-card-wrap {
    padding: 18px;
    border: 1px solid rgba(47, 49, 54, .08);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(24, 155, 85, .08), rgba(255, 249, 223, .95)),
        #fff9df;
}

#chart_activity {
    height: 300px;
}

.chart-tooltip {
    padding: 5px 3px;
    color: #ffffff;
}

.chart-tooltip strong {
    color: #ffcc33;
    font-size: 13px;
}

.chart-tooltip span {
    color: #ffffff;
    font-size: 13px;
}

@media screen and (max-width: 767px) {
    .chart-card-wrap {
        padding: 10px;
        border-radius: 18px;
    }

    #chart_activity {
        height: 240px;
    }
}

/* =========================================================
   STATS PERIOD MENU REFINEMENT
========================================================= */

.stats-period-switch {
    display: flex;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: #f3f4f6;
    box-shadow: inset 0 0 0 1px rgba(47, 49, 54, .06);
}

.stats-period-switch input[type="radio"] {
    display: none !important;
}

.stats-period-switch label,
.stats-period-switch .ui-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 9px 15px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #344054 !important;
    font-family: Roboto, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.stats-period-switch .ui-checkboxradio-checked,
.stats-period-switch .ui-state-active,
.stats-period-switch label.ui-state-active {
    background: var(--chat-green) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(24, 155, 85, .22) !important;
}

.stats-period-switch label:hover,
.stats-period-switch .ui-button:hover {
    background: rgba(24, 155, 85, .08) !important;
    color: var(--chat-green-dark) !important;
}

.stats-period-switch .ui-checkboxradio-checked:hover,
.stats-period-switch .ui-state-active:hover {
    background: var(--chat-green) !important;
    color: #ffffff !important;
}

@media screen and (max-width: 767px) {
    .stats-period-switch {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        border-radius: 18px;
        width: 100%;
    }

    .stats-period-switch label,
    .stats-period-switch .ui-button {
        width: 100%;
    }
}

/* =========================================================
   USER STATS PAGE
========================================================= */

.user-profile-mini {
    justify-content: space-between;
}

.user-profile-head {
    display: flex;
    align-items: center;
    gap: 13px;
}

.user-profile-avatar img,
.user-profile-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
}

.user-profile-head strong {
    display: block;
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
    word-break: break-word;
}

.user-profile-status .activity-status {
    margin-top: 7px;
}

.user-details-card h2 {
    margin-bottom: 14px;
}

.user-detail-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.user-detail-list li {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 15px;
    background: rgba(24, 155, 85, .08);
    color: #344054;
    font-weight: 800;
    line-height: 1.45;
}

.user-detail-list i {
    margin-top: 2px;
    color: var(--chat-green);
}

.stats-nodata {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: #fff1f1;
    color: #7a1515;
}

.stats-nodata i {
    margin-top: 3px;
    font-size: 22px;
}

.stats-nodata strong {
    display: block;
    margin-bottom: 4px;
    color: #7a1515;
    font-weight: 900;
}

.stats-nodata p {
    margin: 0;
}

.user-activity-table thead {
    display: none !important;
}

.user-activity-table,
.user-activity-table tbody {
    display: block;
    width: 100% !important;
}

.user-activity-table tbody {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.user-activity-table tbody tr,
.user-activity-table tbody td {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.user-activity-table tbody td:not(:first-child),
.user-activity-table tbody tr.child,
.user-activity-table tbody tr.child td,
.user-activity-table tbody td.child {
    display: none !important;
}

.user-period-card {
    display: grid;
    gap: 16px;
    height: 100%;
    padding: 18px;
    border: 1px solid rgba(47, 49, 54, .10);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(47, 49, 54, .06);
}

.user-period-heading {
    display: flex;
    align-items: center;
    gap: 13px;
}

.user-period-heading strong {
    display: block;
    color: #253044;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.user-period-heading span span,
.user-period-heading div > span {
    display: block;
    margin-top: 3px;
    color: var(--chat-muted);
    font-size: 13px;
    font-weight: 800;
}

.activity-status.offline {
    background: rgba(47, 49, 54, .08);
    color: #667085;
}

@media screen and (max-width: 1024px) {
    .user-activity-table tbody {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 767px) {
    .user-profile-head {
        align-items: flex-start;
    }
}

/* =========================================================
   GLOBAL NOTICE
========================================================= */

.global-notice-wrap {
    margin-top: 82px;
    margin-bottom: -58px;
}

.global-notice-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    width: 100%;
    padding: 15px 16px;
    border: 1px solid rgba(245, 158, 11, .28);
    border-radius: 14px;
    background: #fffbeb;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .055);
    color: #3f2b05;
    box-sizing: border-box;
}

.global-notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    min-width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(245, 158, 11, .16);
    color: #b45309;
    font-size: 16px;
}

.global-notice-content {
    min-width: 0;
}

.global-notice-content strong {
    display: block;
    margin: 0 0 4px;
    color: #7c2d12;
    font-size: 15px;
    font-weight: 900;
}

.global-notice-content p {
    margin: 0;
    color: #3f2b05;
    font-size: 14px;
    line-height: 1.45em;
}

@media screen and (max-width: 767px) {
    .global-notice-wrap {
        margin-top: 72px;
        margin-bottom: -48px;
    }

    .global-notice-card {
        border-radius: 12px;
        padding: 13px;
    }

    .global-notice-icon {
        width: 34px;
        min-width: 34px;
        height: 34px;
    }
}