﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800;900&display=swap');


.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("/Images/Background.png") center / cover no-repeat;
    position: relative;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
    position: relative;
    z-index: 2;
}

.login-logo {
    width: 160px;
}

.login-card {
    width: 320px;
    padding: 28px 24px;
    background: rgba(0, 0, 0, 0.78);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.login-error {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.45);
    color: #fecaca;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(220,38,38,.2) inset;
}

    .login-error.login-error--tight {
        margin-bottom: 10px;
    }


.input-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    position: relative;
    pointer-events: auto;
}

    .input-pill + .input-pill {
        margin-top: 12px;
    }

    .input-pill img {
        width: 18px;
        height: 18px;
    }

    .input-pill input {
        background: transparent;
        border: none;
        outline: none;
        color: white;
        width: 100%;
        font-size: 14px;
    }

        .input-pill input::placeholder {
            color: rgba(255, 255, 255, 0.95);
        }

    .input-pill:focus-within {
        background: rgba(255, 255, 255, 0.32);
    }

.form-section-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    margin: 18px 0 8px;
    letter-spacing: 1px;
}

.form-field-label {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    margin: 6px 0 6px 4px;
    opacity: 0.95;
}

.optional {
    font-weight: 500;
    opacity: 0.7;
}

.date-input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    width: 100%;
    font-size: 14px;
}


.login-button {
    margin-top: 8px;
    width: 100%;
    padding: 16px;
    border-radius: 999px;
    border: none;
    background: white;
    color: #111; 
    -webkit-text-fill-color: #111; 
    -webkit-appearance: none;
    appearance: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    pointer-events: auto;
}

    .login-button:active {
        transform: scale(0.97);
    }

.login-footer {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.powered-by-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

.login-footer img {
    width: 90px;
}

.forgot-password,
.register-link {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

    .forgot-password a,
    .register-link a {
        color: rgba(255, 255, 255, 0.95);
        font-weight: 500;
        text-decoration: underline;
    }

        .forgot-password a:hover,
        .register-link a:hover {
            color: #ffffff;
            opacity: 0.9;
        }

.required-label::after {
    content: " *";
    color: #ffffff;
    font-weight: 700;
}

.required-note {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 16px;
    margin-bottom: 6px;
}

body {
    scrollbar-width: none;
}

    body::-webkit-scrollbar {
        display: none;
    }

.home-bg {
    min-height: 100vh;
    background: url("/Images/Background.png") center / cover no-repeat;
    position: relative;
    background-attachment: fixed;
}

.home-topbar {
    position: fixed;
    top: 0;
    left: 0;
    padding: 16px;
    z-index: 50;
}

.hamburger {
    font-size: 26px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: white;
}

.hamburger {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1200;
    pointer-events: auto;
}


.hamburger-layer {
    position: fixed;
    inset: 0;
    z-index: 1100;
    pointer-events: none;
    display: none; 
}

    .hamburger-layer:has(.side-menu),
    .hamburger-layer:has(.side-menu-overlay) {
        display: block;
    }

    .hamburger-layer .side-menu,
    .hamburger-layer .side-menu-overlay,
    .hamburger-layer .close-btn,
    .hamburger-layer .side-menu * {
        pointer-events: auto;
    }

.top-right-logo {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1200;
    pointer-events: auto;
}

    .top-right-logo img {
        height: 32px;
        width: auto;
        display: block;
    }

.side-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1100;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #0f3d23;
    z-index: 1150;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px;
}
.side-menu-sub-link {
    font-size: .95em;
    opacity: .9;
    padding-left: 28px;
}


.home-center {
    min-height: 100vh;
    padding: 90px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-logo-center {
    width: 140px;
    margin-bottom: 18px;
}

.home-title-center {
    color: white;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 22px;
}

.home-sponsors-center {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.sponsor-logo {
    width: 70px;
}

.sponsor-box {
    border: 1px solid white;
    padding: 8px 14px;
    font-size: 13px;
    color: white;
}

.home-subtitle-center {
    color: white;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.home-cta-center {
    background: white;
    border: none;
    border-radius: 999px;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 60px;
}
.home-center h2,
.home-center h1,
.home-center .home-title-center + h2 {
    color: #fff !important;
    font-family: 'Montserrat', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px;
}
.home-quicklink {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 22px 60px rgba(0,0,0,.45);
    background: rgba(0,0,0,.25);
    transform: translateY(0);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-quicklink__content {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.home-quicklink {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: #fff;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
    cursor: pointer;
}

    .home-quicklink:hover {
        transform: translateY(-4px);
        box-shadow: 0 28px 80px rgba(0,0,0,.55);
        border-color: rgba(255,255,255,.22);
    }

    .home-quicklink:active {
        transform: translateY(-1px) scale(.99);
    }

.home-quicklink__title {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: .4px;
    color: #fff;
    text-shadow: 0 10px 24px rgba(0,0,0,.75);
}
.home-quicklink::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
    pointer-events: none;
    z-index: 2;
}
.home-quicklink:hover  {
    transform: scale(1.06);
}
.home-quicklink__media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform .28s ease;
}
    .home-quicklink__media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(120% 90% at 50% 45%, rgba(0,0,0,.12), rgba(0,0,0,.62)), linear-gradient(140deg, rgba(0,120,70,.22), rgba(0,0,0,.12));
    }
.home-quicklink:hover .home-quicklink__media {
    transform: scale(1.08);
}
home-quicklink::before {
    content: "";
    position: absolute;
    top: -60%;
    left: -70%;
    width: 60%;
    height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
    transform: rotate(18deg);
    transition: left .55s ease;
    pointer-events: none;
    z-index: 1;
    opacity: .0;
}

.home-quicklink:hover::before {
    left: 120%;
    opacity: .9;
}

@media (max-width: 768px) {
    .home-quicklinks {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding: 6px 2px 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
}
.home-quicklinks {
    width: min(1250px, calc(100% - 32px));
    margin: 22px auto 60px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

    .home-quicklink {
        flex: 0 0 78%;
        scroll-snap-align: start;
        min-height: 130px;
    }

    .home-quicklinks::-webkit-scrollbar {
        height: 10px;
    }

    .home-quicklinks::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.18);
        border-radius: 999px;
    }
}

.side-menu-header-center {
    display: flex;
    justify-content: center;
    position: relative;
    margin-bottom: 24px;
}


.close-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: none;
    font-size: 22px;
    color: white;
    cursor: pointer;
}

.side-menu-links-center {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

    .side-menu-links-center a {
        color: white;
        font-size: 20px;
        font-weight: 600;
        text-decoration: none;
    }

.logout-link {
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin: 0;
}

.side-menu-footer-center {
    margin-top: auto;
    text-align: center;
    color: white;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat';
}

    .side-menu-footer-center img {
        width: 80px;
        margin-top: 8px;
    }

.menu-open .home-topbar {
    display: none;
}

.main-content {
    position: relative;
    min-height: 100vh;
}

.side-menu .side-menu-logo {
    width: 56px !important;
    max-width: 56px !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

.form-error {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 80, 80, 0.15);
    color: #ffeaea;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 0.25s ease-out;
}

.error-icon {
    font-size: 16px;
    line-height: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-error {
    border: 1.5px solid rgba(255, 80, 80, 0.8);
    box-shadow: 0 0 0 2px rgba(255, 80, 80, 0.15);
}

.input-pill.input-error {
    border: 2px solid rgba(255, 70, 70, 0.95);
    background: rgba(255, 70, 70, 0.12);
    box-shadow: 0 0 0 2px rgba(255, 70, 70, 0.25), 0 6px 18px rgba(255, 70, 70, 0.25);
}

    .input-pill.input-error input {
        color: #fff;
    }

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    scrollbar-width: none;
}

    body::-webkit-scrollbar {
        display: none;
    }

.user-layout-bg,
.area-riservata-wrapper {
    min-height: 100vh;
    width: 100%;
    background-image: url('/Images/Background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.area-topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.hamburger-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

.area-logo {
    height: 44px;
    width: auto;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 900;
}

.area-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 260px;
    background: #0b2f22;
    padding: 80px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 1000;
}

    .area-menu a {
        color: white;
        text-decoration: none;
        font-size: 18px;
        font-weight: 600;
    }

    .area-menu .logout-link {
        margin-top: auto;
        color: #ffbaba;
    }

.area-content {
    padding-top: 120px;
    padding-left: 96px;
    padding-right: 24px;
    max-width: 900px;
    color: white;
}

.user-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

    .user-header h1 {
        font-size: 32px;
        font-weight: 700;
    }

.user-info-block {
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

    .user-info-block h3 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 12px;
        letter-spacing: 0.5px;
    }

    .user-info-block p {
        font-size: 15px;
        opacity: 0.95;
    }

.row-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.link-btn,
.primary-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0.85;
}

    .link-btn:hover,
    .primary-btn:hover {
        opacity: 1;
        background: rgba(255,255,255,0.12);
    }

.secondary-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    cursor: pointer;
    margin-left: 12px;
}

.input-pill {
    margin-top: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    border: none;
    outline: none;
    color: white;
    width: 100%;
    font-size: 14px;
}

    .input-pill::placeholder {
        color: rgba(255,255,255,0.85);
    }

.form-message {
    margin-top: 14px;
    font-size: 14px;
}

    .form-message.error {
        color: #ffbaba;
    }

    .form-message.success {
        color: #b7ffda;
    }

@media (max-width: 768px) {
    .area-content {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.user-info-block form button {
    margin-top: 14px;
}

.user-info-block form .secondary-btn {
    margin-left: 12px;
}

html, body {
    height: 100%;
}

.area-content {
    padding-bottom: 40px;
}

.powered-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.powered-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin-bottom: 6px;
    display: block;
}

.powered-logo {
    width: 70px;
    display: block;
}

.nav-scrollable nav {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.nav-scrollable {
    height: 100%;
}

    .nav-scrollable nav {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

.nav-menu-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.powered-wrapper img {
    display: block !important;
}

.top-right-logo {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1200;
    pointer-events: auto;
}

    .top-right-logo img {
        height: 32px;
        width: auto;
        display: block;
    }

.user-info-block .row-inline {
    margin-bottom: 18px;
}

.user-info-block form {
    margin-bottom: 24px;
}

.user-info-block .input-pill {
    margin-bottom: 12px;
}

.user-info-block .primary-btn,
.user-info-block .secondary-btn {
    margin-top: 8px;
    margin-right: 8px;
}

.admin-page {
    padding: 24px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 14px;
}

    .admin-table th {
        background: #f5f5f5;
        text-align: left;
        padding: 10px;
        border-bottom: 2px solid #ddd;
    }

    .admin-table td {
        padding: 10px;
        border-bottom: 1px solid #eee;
        vertical-align: top;
    }

.email-cell {
    word-break: break-all;
    max-width: 260px;
}

.role-badge {
    display: inline-block;
    background: #0d6efd;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 4px;
}

.admin-layout {
    min-height: 100vh;
    background-color: #f3f4f6;
    padding: 32px;
}

.admin-header {
    margin-bottom: 32px;
}

.admin-content {
    max-width: 1200px;
    margin: 0 auto;
}

.admin-users-table th {
    text-align: left;
    padding: 12px 14px;
    font-weight: 600;
    border-bottom: 1px solid rgba(0,0,0,0.15);
}

.admin-users-table td {
    border-bottom: none;
}

.admin-users-table tbody tr {
    border-bottom: 1px solid #ececec;
}

.email-cell {
    max-width: 260px;
    word-break: break-word;
}

.role-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

    .role-badge.admin {
        background: #2e7d32;
        color: white;
    }

    .role-badge.user {
        background: #e0e0e0;
        color: #333;
    }

.users-table-wrapper {
    background: rgba(15, 35, 20, 0.75); 
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 22px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.06) inset;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.admin-users-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

    .admin-users-table thead {
        background: #f3f4f6;
    }

    .admin-users-table th {
        text-align: left;
        padding: 16px 18px;
        font-weight: 600;
        color: #111827;
    }

    .admin-users-table td {
        padding: 14px 18px;
        border-bottom: 1px solid #ececec;
        color: #1f2937;
        vertical-align: top;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .admin-users-table tbody tr:hover {
        background-color: rgba(34,197,94,0.04);
    }

.admin-row {
    background-color: rgba(34,197,94,0.06);
}

.email-cell {
    color: #4b5563;
    font-size: 14px;
}

.role-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}

    .role-badge.admin {
        background: #16a34a;
        color: white;
    }

    .role-badge.user {
        background: #e5e7eb;
        color: #374151;
    }

.admin-crown {
    margin-right: 6px;
}

.badge.abbonamento {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}

    .badge.abbonamento.attivo {
        background: #22c55e;
        color: white;
    }

    .badge.abbonamento.scaduto {
        background: #facc15;
        color: #78350f;
    }

    .badge.abbonamento.none {
        background: #e5e7eb;
        color: #374151;
    }


@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    scrollbar-width: none;
}

    body::-webkit-scrollbar {
        display: none;
    }

html, body {
    height: 100%;
}

.admin-page {
    min-height: 100vh;
    padding: 32px 24px 48px;
    background: linear-gradient(180deg, #f7f9fb 0%, #f1f5f9 100%);
}

.users-header-card {
    background: rgba(15, 61, 30, 0.88);
    backdrop-filter: blur(6px);
    border-radius: 22px;
    padding: 28px 30px;
    margin-bottom: 32px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.home-bg .admin-page .users-header-card .users-header-text h1 {
    color: #ffffff !important;
}

.home-bg .admin-page .users-header-card .users-header-text p {
    color: rgba(255, 255, 255, 0.80) !important;
}

.users-header-text {
    flex: 1 1 280px;
}

    .users-header-text h1 {
        margin: 0;
        font-size: 30px;
        font-weight: 600;
        color: #0f172a;
    }

    .users-header-text p {
        margin-top: 6px;
        font-size: 14px;
        color: #6b7280;
    }

.users-header-search {
    flex: 1 1 260px;
    display: flex;
    justify-content: flex-end;
}

.users-search-input {
    width: 100%;
    max-width: 260px;
    min-width: 0;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    outline: none;
}

    .users-search-input:focus {
        border-color: #22c55e;
        box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
    }

@media (max-width: 640px) {
    .users-header-search {
        width: 100%;
        justify-content: stretch;
    }

    .users-search-input {
        max-width: 100%;
    }
}

.users-table-wrapper {
    background: white;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

.admin-users-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    table-layout: fixed;
}

    .admin-users-table thead {
        background: #f3f4f6;
    }

    .admin-users-table th {
        text-align: left;
        padding: 16px 18px;
        font-weight: 600;
        color: #111827;
    }

    .admin-users-table tbody tr {
        border-bottom: 1px solid #ececec;
    }

        .admin-users-table tbody tr:hover {
            background-color: rgba(34,197,94,0.04);
        }

    .admin-users-table td {
        padding: 14px 18px;
        color: #1f2937;
        vertical-align: middle;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

        .admin-users-table td:nth-child(3) {
            white-space: normal;
            overflow: visible;
            text-overflow: unset;
            line-height: 1.25;
        }

.abbonamento-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.abbonamento-code {
    font-size: 12px;
    color: #6b7280;
    white-space: normal;
    word-break: break-word;
}

.admin-users-table th:last-child,
.admin-users-table td:last-child {
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    text-align: center;
    padding-left: 8px;
    padding-right: 8px;
}

@media (max-width: 640px) {
    .admin-users-table th {
        padding: 14px 12px;
    }

    .admin-users-table td {
        padding: 12px 12px;
    }

        .admin-users-table th:last-child,
        .admin-users-table td:last-child {
            width: 40px;
            min-width: 40px;
            max-width: 40px;
            padding-left: 6px;
            padding-right: 6px;
        }
}

.admin-row {
    background-color: rgba(34,197,94,0.06);
}

.email-cell {
    max-width: 260px;
    word-break: break-word;
    font-size: 14px;
    color: #4b5563;
}

.abbonamento-cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 48px;
}

.badge.abbonamento {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    width: fit-content;
}

    .badge.abbonamento.attivo {
        background: #22c55e;
        color: white;
    }

    .badge.abbonamento.none {
        background: #e5e7eb;
        color: #374151;
    }

.abbonamento-code {
    font-size: 12px;
    color: #6b7280;
}

.role-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}

    .role-badge.admin {
        background: #16a34a;
        color: white;
    }

    .role-badge.user {
        background: #e5e7eb;
        color: #374151;
    }

.admin-users-table td:last-child {
    text-align: center;
}

.dots-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 9999;
}

.modal-card {
    width: 100%;
    max-width: 380px;
    padding: 20px;
    border-radius: 22px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 25px 70px rgba(0,0,0,0.28);
    border: 1px solid rgba(255,255,255,0.8);
}

    .modal-card h2 {
        margin: 0 0 14px 0;
        color: #0f172a;
    }

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .modal-form input {
        padding: 12px 14px;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        font-size: 14px;
        background: #ffffff;
    }

        .modal-form input:focus {
            outline: none;
            border-color: #22c55e;
            box-shadow: 0 0 0 2px rgba(34,197,94,0.15);
        }

.modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
}

.modal-btn {
    flex: 1;
    padding: 11px 14px;
    border-radius: 999px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

    .modal-btn.save {
        background: linear-gradient(135deg, #22c55e, #16a34a);
        color: white;
    }

    .modal-btn.cancel {
        background: linear-gradient(135deg, #ef4444, #dc2626);
        color: white;
    }

@media (max-width: 480px) {
    .modal-card {
        max-width: 92vw;
        padding: 18px;
    }

    .modal-actions {
        flex-wrap: wrap;
    }

    .modal-btn {
        flex: 1 1 100%;
    }
}

html, body {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background: url("/Images/Background.png") center / cover no-repeat fixed !important;
}

main, .page, .main, .content, .container, .admin-layout {
    background: transparent !important;
}

.home-bg {
    width: 100%;
    min-height: 100vh;
    background: transparent !important;
}

    .home-bg .admin-page {
        background: transparent !important;
    }

    .home-bg .users-header-card,
    .home-bg .users-table-wrapper {
        background: rgba(255,255,255,0.82) !important;
        backdrop-filter: blur(10px);
    }
.q2-page {
    width: min(1100px, calc(100% - 32px));
    margin: 18px auto 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #fff;
}


.q2-loading {
    width: min(1100px, calc(100% - 32px));
    margin: 30px auto;
    padding: 18px;
    border-radius: 18px;
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
}

.q2-loading-title {
    font-weight: 800;
    opacity: .9;
}


.q2-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding: 6px 4px;
}

.q2-title {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: .2px;
}

.q2-subtitle {
    margin: 6px 0 0;
    opacity: .82;
    font-size: 14px;
}

.q2-card {
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    backdrop-filter: blur(8px);
    overflow: visible;
}

.q2-grid--surveys {
    overflow: visible;
}

.q2-item--survey {
    overflow: visible;
}

.q2-kebab {
    position: relative;
    display: inline-block;
}

.q2-kebab-btn {
    height: 44px;
    min-width: 44px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.25);
    color: rgba(255,255,255,.9);
    font-weight: 800;
    letter-spacing: .5px;
    cursor: pointer;
}

    .q2-kebab-btn:hover {
        background: rgba(0,0,0,.35);
    }


.q2-kebab-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    z-index: 5000;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(12,12,12,.96);
    box-shadow: 0 24px 60px rgba(0,0,0,.55);
    backdrop-filter: blur(10px);
    padding: 8px;
}

.q2-kebab-item {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.92);
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
}

    .q2-kebab-item:hover {
        background: rgba(255,255,255,.06);
    }

.q2-kebab-item-title {
    font-weight: 800;
    font-size: 14px;
    line-height: 1.1;
}

.q2-kebab-item-sub {
    margin-top: 4px;
    font-size: 12px;
    opacity: .72;
}

.q2-kebab-sep {
    height: 1px;
    margin: 6px 6px;
    background: rgba(255,255,255,.10);
}

.q2-kebab-item--danger .q2-kebab-item-title {
    color: #ff5a5a;
}

.q2-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 12px;
}

.q2-eyebrow {
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .65;
}

.q2-h2 {
    margin: 6px 0 0;
    font-size: 18px;
    font-weight: 800;
}

.q2-hint {
    margin: 6px 0 0;
    opacity: .78;
    font-size: 13px;
    line-height: 1.35;
}


.q2-alert {
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
}

.q2-alert--error {
    border-color: rgba(255,90,90,.35);
    background: rgba(255,90,90,.12);
}

.q2-alert--success {
    border-color: rgba(70,220,130,.35);
    background: rgba(70,220,130,.12);
}


.q2-alert--toast {
    position: sticky;
    top: 12px;
    z-index: 120;
    backdrop-filter: blur(10px);
}


.q2-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.q2-field {
    display: flex;
    flex-direction: column;
}

.q2-label {
    font-size: 13px;
    opacity: .88;
    margin-bottom: 6px;
}

.q2-input, .q2-textarea, .q2-select {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    color: #fff;
    padding: 12px 14px;
    outline: none;
}

.q2-textarea {
    min-height: 90px;
    resize: vertical;
}

    .q2-input:focus, .q2-textarea:focus, .q2-select:focus {
        border-color: rgba(255,255,255,.22);
        background: rgba(255,255,255,.08);
    }


.q2-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    margin-top: 6px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.q2-actions-dd {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.q2-actions-dd-btn {
    padding: 10px 14px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.q2-actions-dd-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 3000;
    width: 260px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(12,12,12,.96);
    box-shadow: 0 24px 60px rgba(0,0,0,.55);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.q2-actions-dd-item {
    width: 100%;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,.92);
    text-align: left;
    cursor: pointer;
}

    .q2-actions-dd-item:hover {
        background: rgba(255,255,255,.06);
    }

.q2-actions-dd-ico {
    display: none;
}

.q2-actions-dd-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.q2-actions-dd-title {
    font-weight: 700;
    line-height: 1.1;
}

.q2-actions-dd-sub {
    font-size: 12px;
    opacity: .72;
    line-height: 1.2;
}

.q2-actions-dd-sep {
    height: 1px;
    background: rgba(255,255,255,.10);
    margin: 6px 0;
}

.q2-actions-dd-item--danger .q2-actions-dd-title {
    color: #ff6b6b;
}

.q2-actions-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.q2-kebab-menu--fixed {
    position: fixed;
}


.q2-btn {
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.07);
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    transition: transform .06s ease, background .15s ease, border-color .15s ease;
    white-space: nowrap;
}

    .q2-btn:hover {
        background: rgba(255,255,255,.10);
        border-color: rgba(255,255,255,.22);
    }

    .q2-btn:active {
        transform: translateY(1px);
    }

.q2-btn--primary {
    background: rgba(0,140,255,.85);
    border-color: rgba(0,140,255,.95);
}

    .q2-btn--primary:hover {
        background: rgba(0,140,255,.95);
    }

.q2-btn--secondary {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.16);
}

.q2-btn--ghost {
    background: transparent;
    border-color: rgba(255,255,255,.12);
    opacity: .92;
}

.q2-btn--danger {
    background: rgba(235,70,70,.85);
    border-color: rgba(235,70,70,.95);
}

    .q2-btn--danger:hover {
        background: rgba(235,70,70,.95);
    }


.q2-empty {
    padding: 16px;
    border-radius: 16px;
    border: 1px dashed rgba(255,255,255,.18);
    background: rgba(255,255,255,.04);
}

.q2-empty-title {
    font-weight: 900;
    margin-bottom: 6px;
}

.q2-empty-sub {
    opacity: .80;
    font-size: 13px;
}


.q2-questions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.q2-question {
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.05);
}

.q2-question-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.q2-badge {
    font-size: 12px;
    letter-spacing: .10em;
    text-transform: uppercase;
    opacity: .70;
    font-weight: 900;
}

.q2-iconbtn {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}

    .q2-iconbtn:hover {
        background: rgba(255,255,255,.10);
    }

.q2-grid-2 {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 12px;
}


.q2-answers {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.q2-answers-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.q2-answers-title {
    font-weight: 900;
    opacity: .9;
}

.q2-answers-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.q2-answer-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}


.q2-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.q2-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.05);
}

.q2-item-title {
    font-weight: 900;
    font-size: 16px;
    margin-bottom: 4px;
}

.q2-item-desc {
    opacity: .82;
    font-size: 13px;
    margin-top: 8px;
    line-height: 1.35;
}

.q2-meta {
    opacity: .70;
    font-size: 12px;
}

.q2-item-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}


.q2-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9999;
}

.q2-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 10000;
    width: min(520px, 92vw);
    background: rgba(20,20,20,.96);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.55);
    padding: 18px;
    color: #fff;
    backdrop-filter: blur(10px);
}

.q2-modal-title {
    font-weight: 900;
    margin-bottom: 10px;
    font-size: 16px;
}

.q2-modal-text {
    font-size: 14px;
    line-height: 1.4;
    opacity: .92;
}

.q2-modal-strong {
    margin-top: 10px;
    font-weight: 900;
    opacity: .95;
}

.q2-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 16px;
}


@media (max-width: 900px) {
    .q2-grid {
        grid-template-columns: 1fr;
    }

    .q2-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .q2-grid-2 {
        grid-template-columns: 1fr;
    }
}



.q2-dd {
    position: relative;
    z-index: 9999;
}


.q2-dd-overlay {
    position: fixed;
    inset: 0;
    z-index: 1990;
    background: transparent;
}

.q2-dd-btn {
    all: unset;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.92);
    cursor: pointer;
    font-weight: 700;
}

    .q2-dd-btn:hover {
        background: rgba(255,255,255,.10);
        border-color: rgba(255,255,255,.18);
    }

    .q2-dd-btn:focus-visible {
        outline: 2px solid rgba(255,255,255,.25);
        outline-offset: 2px;
    }

.q2-dd-value {
    opacity: .95;
}

.q2-dd-caret {
    opacity: .8;
    font-weight: 900;
    margin-left: auto;
}

.q2-dd-menu {
    display: flex;
    flex-direction: column;
}


.q2-dd-item {
    box-sizing: border-box;
    width: 100%;
    display: grid;
    grid-template-columns: 18px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    padding: 12px 14px;
    cursor: pointer;
    color: rgba(255,255,255,.92);
    background: transparent;
    border: 0;
    outline: 0;
    text-align: left;
    font: inherit;
}

    .q2-dd-item:hover {
        background: rgba(255,255,255,.08);
    }

    .q2-dd-item + .q2-dd-item {
        border-top: 1px solid rgba(255,255,255,.08);
    }

.q2-dd-check {
    grid-row: 1 / span 2;
    align-self: center;
    opacity: 0;
    font-weight: 900;
}

.q2-dd-sub {
    grid-column: 2;
    font-size: 12px;
    opacity: .70;
    line-height: 1.2;
}

.q2-dd-item.is-active .q2-dd-check {
    opacity: 1;
}

.q2-dd-item.is-active {
    background: rgba(255,255,255,.06);
}

.q2-question {
    position: relative;
}

.q2-question--ddopen {
    z-index: 10050;
}

.q2-card {
    position: relative;
    z-index: 1;
}

.q2-card {
    position: relative;
}

.q2-dd {
    position: relative;
    z-index: 10060;
}

.q2-input.q2-input--err,
.q2-textarea.q2-input--err,
.q2-select.q2-input--err,
.q2-dd-btn.q2-input--err {
    border-color: rgba(255, 90, 90, .70) !important;
    background: rgba(255, 90, 90, .10) !important;
    box-shadow: 0 0 0 3px rgba(255, 90, 90, .18);
}

.q2-field-error {
    margin-top: 6px;
    padding-left: 10px;
    border-left: 3px solid rgba(255, 90, 90, .60);
    color: rgba(255, 210, 210, .95);
    font-size: 13px;
    opacity: .95;
}

.q2-question.q2-question--err {
    border-color: rgba(255, 90, 90, .35);
    background: rgba(255, 90, 90, .06);
}

.q2-error {
    margin-top: 6px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 60, 60, .55);
    background: rgba(255, 60, 60, .16);
    color: rgba(255, 255, 255, .98);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.q2-error--compact {
    padding: 8px 10px;
    font-size: 12.5px;
}

.q2-error--left {
    border-left: 4px solid rgba(255, 60, 60, .95);
}

.q2-actions--sticky {
    position: sticky;
    bottom: 12px;
    z-index: 50;
    margin-top: 14px;
    padding: 12px 12px;
    border-radius: 16px;
    background: rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
}

q2-actions--bottom {
    position: static;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.10);
    background: transparent;
}

.q2-dd-menu {
    z-index: 3000;
}


.q2-actions-3dots {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: center;
}

.q2-dots-btn {
    min-width: 44px;
    padding: 10px 12px;
    font-weight: 800;
    letter-spacing: .5px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
}

    .q2-dots-btn:hover {
        background: rgba(0,0,0,.26);
    }

    .q2-dots-btn.is-open {
        background: rgba(0,0,0,.34);
        border-color: rgba(255,255,255,.18);
    }


.q2-mini-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 3000;
    width: 260px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(12,12,12,.94);
    box-shadow: 0 24px 70px rgba(0,0,0,.55);
    backdrop-filter: blur(10px);
    overflow: hidden;
}


.q2-mini-item {
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.92);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .q2-mini-item:hover {
        background: rgba(255,255,255,.06);
    }

    .q2-mini-item:disabled {
        opacity: .6;
        cursor: not-allowed;
    }

.q2-mini-title {
    font-weight: 800;
    font-size: 14px;
    line-height: 1.2;
}

.q2-mini-sub {
    font-size: 12px;
    opacity: .75;
}


.q2-mini-sep {
    height: 1px;
    background: rgba(255,255,255,.10);
}


.q2-mini-item--danger .q2-mini-title {
    color: #ff5a5a;
}

.q2-mini-item--danger:hover {
    background: rgba(255, 90, 90, .10);
}

.q2-card {
    overflow: visible;
}

.q2-grid {
    overflow: visible;
}


.q2-item {
    overflow: visible;
}


.q2-item-actions.q2-actions-3dots {
    z-index: 10;
}


.q2-mini-menu {
    z-index: 9999;
}



.side-menu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.side-menu-caret {
    border: 0;
    background: transparent;
    color: #ffffff; 
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 10px;
    opacity: .85;
}

    .side-menu-caret:hover {
        background: rgba(255,255,255,.12);
        opacity: 1;
    }

.side-menu-sub-link {
    font-size: .9em;
    opacity: .9;
    padding-left: 28px;
    display: block;
}
.excel-card {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(12,12,12,.55);
    box-shadow: 0 24px 60px rgba(0,0,0,.45);
    padding: 14px;
}

.excel-table-wrap {
    overflow: auto;
    max-height: 62vh;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.22);
}

.excel-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    font-size: 14px;
}

    .excel-table thead th {
        position: sticky;
        top: 0;
        z-index: 2;
        background: rgba(18,18,18,.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255,255,255,.12);
        padding: 12px 12px;
        text-align: left;
        font-weight: 700;
    }

    .excel-table tbody td {
        padding: 10px 12px;
        border-bottom: 1px solid rgba(255,255,255,.08);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .excel-table tbody tr:hover td {
        background: rgba(255,255,255,.04);
    }
.excel-search {
    height: 40px;
    min-width: 260px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.18);
    color: #fff;
    outline: none;
}

    .excel-search::placeholder {
        color: rgba(255,255,255,.55);
    }

    .excel-search:focus {
        border-color: rgba(255,255,255,.22);
        box-shadow: 0 0 0 3px rgba(255,255,255,.08);
    }


.side-menu-row.premium {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    gap: 10px;
}


.side-menu-mainlink {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 44px; 
}


.side-menu-caret.premium {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    width: 44px; 
    height: 44px; 
    padding: 0;
    margin: 0;
    border-radius: 12px;
    color: rgba(255,255,255,.86);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease, color .18s ease;
}

    .side-menu-caret.premium:hover {
        background: rgba(255,255,255,.10);
        color: rgba(255,255,255,.98);
    }

    .side-menu-caret.premium:active {
        transform: scale(.96);
    }

    .side-menu-caret.premium:focus-visible {
        outline: none;
        box-shadow: 0 0 0 2px rgba(255,255,255,.22);
    }


.side-menu-caret .chev {
    display: block;
    line-height: 1;
    font-size: 18px;
    transform: translateY(1px); 
    transition: transform .18s ease;
}

    .side-menu-caret .chev.open {
        transform: translateY(1px) rotate(180deg);
    }


.side-menu-subwrap {
    display: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height .22s ease, opacity .18s ease, transform .18s ease;
}

    
    .side-menu-subwrap.open {
        display: block;
        max-height: 120px;
        opacity: 1;
        transform: translateY(0);
        margin-top: 6px; 
        margin-bottom: 6px; 
    }
.side-menu-sub-link.premium {
    display: block;
    margin-left: 24px;
    padding: 10px 0;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    transition: color .18s ease, transform .12s ease;
    opacity: 1;
}

    .side-menu-sub-link.premium:hover {
        color: #ffffff;
        transform: translateX(4px);
    }
    .side-menu-sub-link.premium:active {
        transform: scale(.995);
    }


@media (max-width: 768px) {

    .home-quicklinks {
        width: calc(100% - 24px);
        margin: 18px auto 46px;
        display: flex;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 6px 4px 14px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .home-quicklink {
        flex: 0 0 86%;
        min-height: 190px;
        scroll-snap-align: start;
    }

    .home-quicklink__title {
        font-size: clamp(22px, 6vw, 30px);
        line-height: 1.1;
        text-align: center;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        padding: 0 14px;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }

    .home-quicklinks::before,
    .home-quicklinks::after {
        content: "";
        flex: 0 0 2px;
    }
}
.home-bg .users-header-card,
.home-bg .users-table-wrapper {
    background: rgba(15, 35, 20, 0.75) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

.home-bg .admin-users-table thead {
    background: rgba(255,255,255,0.08) !important;
}

.home-bg .admin-users-table th {
    color: rgba(255,255,255,0.92) !important;
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
}

.home-bg .admin-users-table td {
    color: rgba(255,255,255,0.88) !important;
    border-bottom: 1px solid rgba(255,255,255,0.10) !important;
}

.home-bg .admin-users-table tbody tr:hover {
    background-color: rgba(255,255,255,0.06) !important;
}

.home-bg .abbonamento-code {
    color: rgba(255,255,255,0.75) !important;
}

.home-bg .dots-btn {
    color: rgba(255,255,255,0.85) !important;
}

    .home-bg .dots-btn:hover {
        color: rgba(255,255,255,1) !important;
    }
.home-success-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 160, 90, 0.95);
    color: #fff;
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 800;
    z-index: 3000;
    box-shadow: 0 16px 40px rgba(0,0,0,.35);
    animation: fadeInOut 3.5s ease forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -10px);
    }

    10% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
.menu-link-with-dot {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.notif-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #ff3b30; 
    box-shadow: 0 0 0 2px rgba(255, 59, 48, 0.22);
}
.menu-link-with-dot {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.notif-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #ff3b30;
    box-shadow: 0 0 0 2px rgba(255, 59, 48, 0.22);
}

.hamburger {
    position: relative; 
}

.hamburger-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ff3b30;
    box-shadow: 0 0 0 2px rgba(255, 59, 48, 0.22);
}

   

