/* ===================================
   MCB AI Style - Register + Dashboard
   =================================== */

/* Lucide Icon Utilities */
i[data-lucide] {
    display: inline-flex;
    vertical-align: middle;
}

svg.lucide {
    vertical-align: middle;
}

.w10 {
    width: 10px;
    height: 10px;
}

.w12 {
    width: 12px;
    height: 12px;
}

.w14 {
    width: 14px;
    height: 14px;
}

.w16 {
    width: 16px;
    height: 16px;
}

.w20 {
    width: 20px;
    height: 20px;
}

.w22 {
    width: 22px;
    height: 22px;
}

.w24 {
    width: 24px;
    height: 24px;
}

.w28 {
    width: 28px;
    height: 28px;
}

.c-purple {
    color: #60a5fa;
}

.c-blue {
    color: #60a5fa;
}

.c-yellow {
    color: #facc15;
}

.c-orange {
    color: #fb923c;
}

/* === REGISTER PAGE === */
.mcb-register-wrapper {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.mcb-register-benefits h2 {
    font-family: 'Inter', sans-serif !important;
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.mcb-gradient-text {
    background: linear-gradient(135deg, #2563EB, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mcb-register-sub {
    color: rgb(156, 163, 175);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.mcb-register-perks {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.mcb-perk {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.mcb-perk-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.mcb-perk h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 2px;
}

.mcb-perk p {
    color: rgb(107, 114, 128);
    font-size: 13px;
    margin: 0;
}

.mcb-register-stats {
    display: flex;
    gap: 24px;
    padding: 20px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mcb-stat {
    text-align: center;
}

.mcb-stat strong {
    display: block;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.mcb-stat span {
    color: rgb(107, 114, 128);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.mcb-register-agree {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.mcb-register-agree input[type="checkbox"] {
    accent-color: #2563EB;
    width: 16px;
    height: 16px;
}

.mcb-register-agree label {
    color: rgb(107, 114, 128);
    font-size: 12px;
}

.mcb-register-agree a {
    color: #60a5fa !important;
    text-decoration: underline !important;
}

/* === DASHBOARD === */
.mcb-dashboard {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
}

/* Header */
.mcb-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    margin-bottom: 24px;
}

.mcb-dash-welcome {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mcb-dash-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(124, 92, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.mcb-dash-welcome h1 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.mcb-dash-welcome p {
    color: rgb(107, 114, 128);
    font-size: 14px;
    margin: 4px 0 0;
}

.mcb-dash-plan-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 14px;
    background: rgba(124, 92, 255, 0.1);
    border: 1px solid rgba(124, 92, 255, 0.2);
}

.mcb-dash-plan-label {
    font-size: 10px;
    font-weight: 700;
    color: rgb(107, 114, 128);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mcb-dash-plan-name {
    font-size: 16px;
    font-weight: 800;
    color: #60a5fa;
}

.mcb-dash-upgrade-btn {
    padding: 8px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563EB, #ec4899);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: uppercase;
}

/* Tier Banner */
.mcb-tier-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 28px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.08), rgba(124, 92, 255, 0.08));
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-radius: 16px;
}

.mcb-tier-banner-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mcb-tier-badge-free {
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(250, 204, 21, 0.15);
    color: #facc15;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.mcb-tier-banner h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.mcb-tier-banner p {
    color: rgb(156, 163, 175);
    font-size: 13px;
    margin: 4px 0 0;
}

.mcb-tier-upgrade-btn {
    padding: 14px 28px;
    border-radius: 12px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #2563EB, #ec4899);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

/* Stats */
.mcb-dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.mcb-dash-stat-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

.mcb-dash-stat-icon {
    font-size: 24px;
    margin-bottom: 12px;
}

.mcb-dash-stat-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.mcb-dash-stat-label {
    color: rgb(107, 114, 128);
    font-size: 12px;
}

.mcb-dash-stat-progress {
    height: 4px;
    border-radius: 2px;
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.06);
}

.mcb-dash-stat-bar {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #2563EB, #ec4899);
}

.mcb-dash-stat-tag {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: rgb(107, 114, 128);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.mcb-tag-active {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
}

/* Grid */
.mcb-dash-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

/* Section */
.mcb-dash-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px;
}

.mcb-dash-section-premium {
    border-color: rgba(124, 92, 255, 0.15) !important;
}

.mcb-dash-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.mcb-dash-section-header h2 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.mcb-dash-see-all {
    color: #60a5fa !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.mcb-dash-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mcb-dash-xp {
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(250, 204, 21, 0.1);
    color: #facc15;
    font-size: 13px;
    font-weight: 700;
}

.mcb-checkin-btn {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(124, 92, 255, 0.3);
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.15), rgba(236, 72, 153, 0.15));
    color: #60a5fa;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mcb-checkin-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.25), rgba(236, 72, 153, 0.25));
    border-color: rgba(124, 92, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 92, 255, 0.2);
}

.mcb-checkin-btn:disabled {
    cursor: default;
    opacity: 0.8;
}

.mcb-checkin-done {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #34d399 !important;
}

.mcb-dash-live-tag {
    color: #34d399;
    font-size: 12px;
    font-weight: 700;
    animation: mcbPulse 2s infinite;
}

@keyframes mcbPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.mcb-premium-feature-badge {
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(124, 92, 255, 0.15);
    color: #60a5fa;
    font-size: 10px;
    font-weight: 700;
}

/* Progress Ring */
.mcb-progress-overview {
    display: flex;
    gap: 32px;
    align-items: center;
}

.mcb-progress-ring-wrap {
    flex-shrink: 0;
}

.mcb-progress-ring {
    position: relative;
    width: 120px;
    height: 120px;
}

.mcb-progress-ring svg {
    width: 100%;
    height: 100%;
}

.mcb-progress-ring-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mcb-ring-value {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
}

.mcb-ring-label {
    font-size: 10px;
    color: rgb(107, 114, 128);
    text-transform: uppercase;
}

.mcb-progress-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mcb-progress-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mcb-prog-label {
    width: 140px;
    color: rgb(209, 213, 219);
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}

.mcb-prog-bar-wrap {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.06);
}

.mcb-prog-bar {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #2563EB, #ec4899);
    transition: width 0.6s ease;
}

.mcb-prog-pct {
    width: 36px;
    text-align: right;
    color: #60a5fa;
    font-size: 12px;
    font-weight: 700;
}

/* Badges */
.mcb-badges-row {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mcb-badge-item {
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: rgb(75, 85, 99);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mcb-badge-earned {
    background: rgba(124, 92, 255, 0.1) !important;
    border-color: rgba(124, 92, 255, 0.2) !important;
    color: #60a5fa !important;
}

/* Courses */
.mcb-dash-courses {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mcb-dash-course-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none !important;
    transition: all 0.15s;
}

.mcb-dash-course-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.mcb-course-thumb {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(124, 92, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.mcb-course-info {
    flex: 1;
    min-width: 0;
}

.mcb-course-info h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
}

.mcb-course-info p {
    color: rgb(107, 114, 128);
    font-size: 12px;
    margin: 0;
}

.mcb-course-meta {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.mcb-course-meta span {
    color: rgb(75, 85, 99);
    font-size: 11px;
}

.mcb-course-tag-hot {
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    font-size: 9px;
    font-weight: 800;
    margin-left: 6px;
}

.mcb-course-progress-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 80px;
}

.mcb-course-progress-bar {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.06);
}

.mcb-course-progress-bar div {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #2563EB, #ec4899);
}

.mcb-course-progress-wrap span {
    color: #60a5fa;
    font-size: 12px;
    font-weight: 700;
}

/* LOCKED overlay */
.mcb-locked-card {
    position: relative;
    pointer-events: none;
}

.mcb-locked-card>*:not(.mcb-locked-overlay) {
    filter: blur(2px);
    opacity: 0.4;
}

.mcb-locked-overlay {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    z-index: 2;
    background: rgba(11, 15, 25, 0.5);
}

.mcb-lock-icon {
    font-size: 20px;
}

.mcb-locked-overlay span:last-child {
    color: #60a5fa;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

/* Prompts */
.mcb-prompt-categories {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.mcb-pcat-btn {
    padding: 6px 16px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: rgb(107, 114, 128);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.mcb-pcat-btn.active,
.mcb-pcat-btn:hover {
    background: rgba(124, 92, 255, 0.15);
    border-color: rgba(124, 92, 255, 0.3);
    color: #60a5fa;
}

.mcb-prompt-counter {
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(250, 204, 21, 0.1);
    color: #facc15;
    font-size: 11px;
    font-weight: 700;
}

.mcb-dash-prompts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mcb-prompt-card {
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
}

.mcb-prompt-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mcb-prompt-cat {
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(124, 92, 255, 0.1);
    color: #60a5fa;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.mcb-prompt-save {
    background: none;
    border: none;
    color: rgb(75, 85, 99);
    font-size: 16px;
    cursor: pointer;
    transition: color 0.15s;
}

.mcb-prompt-save:hover,
.mcb-prompt-save.saved {
    color: #ef4444;
}

.mcb-prompt-card h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px;
}

.mcb-prompt-card p {
    color: rgb(107, 114, 128);
    font-size: 12px;
    margin: 0 0 10px;
}

.mcb-prompt-preview {
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: rgb(75, 85, 99);
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.5;
    margin-bottom: 12px;
    max-height: 48px;
    overflow: hidden;
}

.mcb-prompt-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mcb-prompt-copy {
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgb(209, 213, 219);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.mcb-prompt-copy:hover {
    background: rgba(124, 92, 255, 0.15);
    color: #60a5fa;
}

.mcb-prompt-uses {
    color: rgb(75, 85, 99);
    font-size: 11px;
}

/* Workflows */
.mcb-dash-workflows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mcb-workflow-card {
    padding: 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
}

.mcb-workflow-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.mcb-workflow-icon {
    font-size: 24px;
}

.mcb-workflow-card h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
}

.mcb-workflow-card p {
    color: rgb(107, 114, 128);
    font-size: 12px;
    margin: 0 0 8px;
}

.mcb-workflow-tags {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.mcb-workflow-tags span {
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    color: rgb(75, 85, 99);
    font-size: 10px;
    font-weight: 600;
}

.mcb-wf-difficulty {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

.mcb-wf-easy {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.mcb-wf-medium {
    background: rgba(250, 204, 21, 0.15);
    color: #facc15;
}

.mcb-wf-hard {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.mcb-workflow-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mcb-workflow-nodes {
    color: rgb(75, 85, 99);
    font-size: 11px;
}

.mcb-workflow-dl {
    color: #60a5fa !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
}

/* Kits */
.mcb-dash-kits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mcb-kit-card {
    padding: 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
}

.mcb-kit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.mcb-kit-icon {
    font-size: 28px;
}

.mcb-kit-stars {
    color: #facc15;
    font-size: 12px;
}

.mcb-kit-card h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px;
}

.mcb-kit-card p {
    color: rgb(107, 114, 128);
    font-size: 12px;
    margin: 0 0 10px;
}

.mcb-kit-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.mcb-kit-tags span {
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    color: rgb(75, 85, 99);
    font-size: 10px;
    font-weight: 600;
}

.mcb-kit-dl {
    display: block;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    background: rgba(124, 92, 255, 0.1);
    color: #60a5fa !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
}

/* News Feed */
.mcb-news-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mcb-news-item {
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.mcb-news-date {
    color: rgb(75, 85, 99);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.mcb-news-item h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 6px 0 4px;
}

.mcb-news-item p {
    color: rgb(107, 114, 128);
    font-size: 12px;
    margin: 0 0 8px;
}

.mcb-news-link {
    color: #60a5fa !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
}

/* AI Chat */
.mcb-ai-chat-preview {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.mcb-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    max-height: 240px;
    overflow-y: auto;
}

.mcb-chat-msg {
    display: flex;
    gap: 10px;
}

.mcb-chat-user {
    flex-direction: row-reverse;
}

.mcb-chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(124, 92, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.mcb-chat-bubble {
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: rgb(209, 213, 219);
    font-size: 13px;
    line-height: 1.5;
    max-width: 80%;
}

.mcb-chat-user .mcb-chat-bubble {
    background: rgba(124, 92, 255, 0.15);
    color: #fff;
}

.mcb-chat-bubble code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #60a5fa;
}

.mcb-chat-input-wrap {
    display: flex;
    gap: 8px;
}

.mcb-chat-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 13px;
    outline: none;
}

.mcb-chat-input:disabled {
    opacity: 0.5;
}

.mcb-chat-send {
    padding: 12px 16px;
    border-radius: 12px;
    border: none;
    background: rgba(124, 92, 255, 0.3);
    color: #60a5fa;
    font-size: 16px;
    cursor: pointer;
}

.mcb-chat-send:disabled {
    opacity: 0.3;
}

.mcb-chat-limit {
    text-align: center;
    color: rgb(75, 85, 99);
    font-size: 11px;
    margin-top: 8px;
}

/* Sidebar Cards */
.mcb-dash-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mcb-dash-card {
    padding: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mcb-dash-card h3 {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
}

.mcb-dash-card p {
    color: rgb(156, 163, 175);
    font-size: 13px;
}

.mcb-dash-card-highlight {
    border-color: rgba(124, 92, 255, 0.2) !important;
    background: rgba(124, 92, 255, 0.04) !important;
}

.mcb-dash-card-btn {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgb(209, 213, 219) !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.15s;
    margin-top: 16px;
}

.mcb-dash-card-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
}

/* Account / Info rows */
.mcb-dash-account-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mcb-dash-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgb(107, 114, 128);
}

.mcb-dash-info-row strong {
    color: #fff;
    font-weight: 600;
}

.mcb-status-active {
    color: #34d399 !important;
    font-weight: 600;
    font-size: 13px;
}

/* Certifications */
.mcb-dash-certs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mcb-cert-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.mcb-cert-icon {
    font-size: 24px;
}

.mcb-cert-item strong {
    color: #fff;
    font-size: 13px;
}

.mcb-cert-item small {
    color: rgb(75, 85, 99);
    font-size: 11px;
}

.mcb-cert-dl {
    margin-left: auto;
    color: #60a5fa !important;
    text-decoration: none !important;
    font-size: 16px;
}

.mcb-cert-earned {
    background: rgba(124, 92, 255, 0.06) !important;
    border: 1px solid rgba(124, 92, 255, 0.15);
}

/* Tools */
.mcb-dash-tools {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mcb-dash-tool-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: rgb(209, 213, 219) !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.15s;
}

.mcb-dash-tool-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff !important;
}

.mcb-tool-new {
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    font-size: 9px;
    font-weight: 800;
    margin-left: auto;
}

.mcb-tool-locked {
    opacity: 0.4;
}

.mcb-tool-premium-tag {
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(124, 92, 255, 0.15);
    color: #60a5fa;
    font-size: 9px;
    font-weight: 800;
    margin-left: auto;
}

/* Downloads */
.mcb-dash-downloads {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mcb-dash-dl-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.mcb-dash-dl-item span {
    font-size: 20px;
}

.mcb-dash-dl-item strong {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.mcb-dash-dl-item small {
    color: rgb(75, 85, 99);
    font-size: 11px;
}

/* Community */
.mcb-dash-community-stats {
    display: flex;
    gap: 16px;
    margin: 12px 0 16px;
}

.mcb-dash-community-stats span {
    color: rgb(156, 163, 175);
    font-size: 12px;
}

/* Support */
.mcb-support-options {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.mcb-support-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    color: rgb(209, 213, 219) !important;
    font-size: 13px;
    text-decoration: none !important;
    transition: all 0.15s;
}

.mcb-support-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.mcb-support-priority {
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mcb-support-priority span {
    color: rgb(75, 85, 99);
    font-size: 11px;
}

/* Affiliate */
.mcb-dash-affiliate-link {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.mcb-dash-ref-input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgb(156, 163, 175);
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    outline: none;
}

.mcb-dash-ref-copy {
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s;
}

.mcb-dash-ref-copy:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mcb-dash-affiliate-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.mcb-dash-affiliate-stats strong {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.mcb-dash-affiliate-stats small {
    color: rgb(75, 85, 99);
    font-size: 11px;
}

/* Responsive */
@media (max-width: 1024px) {
    .mcb-register-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .mcb-dash-grid {
        grid-template-columns: 1fr;
    }

    .mcb-dash-prompts {
        grid-template-columns: 1fr;
    }

    .mcb-dash-kits {
        grid-template-columns: 1fr;
    }

    .mcb-progress-overview {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .mcb-dash-stats {
        grid-template-columns: 1fr;
    }

    .mcb-register-stats {
        flex-wrap: wrap;
    }

    .mcb-dash-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .mcb-badges-row {
        flex-wrap: wrap;
    }

    .mcb-tier-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* === AUTH MESSAGES === */
.mcb-auth-message {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

.mcb-auth-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
}

.mcb-auth-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #34d399;
}

.mcb-btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

@keyframes mcbSpin {
    to {
        transform: rotate(360deg);
    }
}

.mcb-spin svg,
.mcb-spin {
    animation: mcbSpin 1s linear infinite;
}

/* Premium Button */
.mcb-premium-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563EB, #ec4899);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    transition: all 0.15s;
}

.mcb-premium-btn:hover {
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

/* === PROFILE & SETTINGS PAGES === */
.mcb-profile-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 13px;
}

.mcb-profile-breadcrumb a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 600;
}

.mcb-profile-breadcrumb span {
    color: #6b7280;
}

.mcb-profile-breadcrumb svg {
    color: #4b5563;
}

/* Profile Grid */
.mcb-profile-grid,
.mcb-settings-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
}

@media (max-width: 1024px) {

    .mcb-profile-grid,
    .mcb-settings-grid {
        grid-template-columns: 1fr;
    }
}

.mcb-profile-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mcb-profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mcb-settings-grid {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 900px) {
    .mcb-settings-grid {
        grid-template-columns: 1fr;
    }
}

/* Passkey Credentials */
.mcb-passkey-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mcb-passkey-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.mcb-passkey-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    flex-shrink: 0;
}

.mcb-passkey-item-info {
    flex: 1;
    min-width: 0;
}

.mcb-passkey-item-name {
    color: #e5e7eb;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mcb-passkey-item-date {
    color: #6b7280;
    font-size: 11px;
    margin-top: 2px;
}

.mcb-passkey-delete-btn {
    padding: 6px 8px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.mcb-passkey-delete-btn:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.mcb-passkey-empty {
    text-align: center;
    padding: 24px 16px;
    color: #6b7280;
    font-size: 13px;
}

.mcb-passkey-empty svg {
    display: block;
    margin: 0 auto 8px;
    color: #4b5563;
}

.mcb-passkey-register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px dashed rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.04);
    color: #60a5fa;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
}

.mcb-passkey-register-btn:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.35);
}

.mcb-passkey-register-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mcb-settings-grid .mcb-danger-zone {
    grid-column: 1 / -1;
}

.mcb-passkey-note {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
    padding: 12px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.04);
    border: 1px solid rgba(59, 130, 246, 0.08);
    margin-top: 12px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.mcb-passkey-note svg {
    flex-shrink: 0;
    color: #60a5fa;
    margin-top: 1px;
}

/* Avatar Section */
.mcb-profile-avatar-section {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
}

.mcb-profile-avatar-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(124, 92, 255, 0.3);
    flex-shrink: 0;
}

.mcb-profile-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mcb-profile-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #16162a);
    color: #4b5563;
}

/* Avatar Upload Overlay */
.mcb-avatar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.mcb-profile-avatar-preview:hover .mcb-avatar-overlay {
    opacity: 1;
}

.mcb-avatar-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mcb-avatar-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2563EB, #1d4ed8);
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.mcb-avatar-upload-btn:hover {
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.mcb-avatar-upload-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.mcb-avatar-cancel-btn {
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.mcb-avatar-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Form Styles */
.mcb-profile-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mcb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .mcb-form-row {
        grid-template-columns: 1fr;
    }
}

.mcb-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.mcb-form-group label {
    font-size: 12px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mcb-form-input {
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.15s;
}

.mcb-form-input:focus {
    border-color: rgba(124, 92, 255, 0.4);
}

.mcb-form-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mcb-form-input::placeholder {
    color: #4b5563;
}

textarea.mcb-form-input {
    resize: vertical;
    min-height: 80px;
}

.mcb-form-hint {
    font-size: 11px;
    color: #4b5563;
}

.mcb-form-actions {
    display: flex;
    gap: 12px;
    padding-top: 8px;
}

.mcb-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #2563EB, #6d4de6);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(124, 92, 255, 0.3);
    transition: all 0.15s;
    font-family: 'Inter', sans-serif;
}

.mcb-btn-primary:hover {
    box-shadow: 0 6px 24px rgba(124, 92, 255, 0.4);
    transform: translateY(-1px);
}

.mcb-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.mcb-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'Inter', sans-serif;
}

.mcb-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.mcb-btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.mcb-btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Password Input */
.mcb-input-password-wrap {
    position: relative;
}

.mcb-input-password-wrap .mcb-form-input {
    padding-right: 44px;
}

.mcb-pass-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #4b5563;
    cursor: pointer;
    padding: 4px;
}

.mcb-pass-toggle:hover {
    color: #9ca3af;
}

/* Password Strength */
.mcb-password-strength {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.mcb-pass-strength-bar {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.mcb-pass-strength-bar div {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s, background 0.3s;
}

.mcb-password-strength span {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

/* Toggle Switches */
.mcb-settings-toggle-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mcb-settings-toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.mcb-settings-toggle-item strong {
    color: #e5e7eb;
    font-size: 14px;
}

.mcb-settings-toggle-item p {
    color: #6b7280;
    font-size: 12px;
    margin: 4px 0 0;
}

.mcb-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.mcb-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.mcb-toggle-slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
}

.mcb-toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.2s;
}

.mcb-toggle input:checked+.mcb-toggle-slider {
    background: #2563EB;
}

.mcb-toggle input:checked+.mcb-toggle-slider::before {
    transform: translateX(20px);
}

/* Sessions */
.mcb-sessions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mcb-session-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.mcb-session-current {
    border-color: rgba(124, 92, 255, 0.15);
    background: rgba(124, 92, 255, 0.04);
}

.mcb-session-icon {
    color: #2563EB;
}

.mcb-session-info strong {
    color: #e5e7eb;
    font-size: 13px;
    display: block;
}

.mcb-session-detail {
    color: #6b7280;
    font-size: 12px;
}

.mcb-session-badge-current {
    margin-left: auto;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.mcb-btn-revoke-session {
    margin-left: auto;
    padding: 5px 12px;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: #f87171;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.mcb-btn-revoke-session:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

.mcb-btn-revoke-session:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mcb-session-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    color: #6b7280;
    font-size: 13px;
}

.mcb-session-count {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

/* Danger Zone */
.mcb-danger-zone {
    border-color: rgba(239, 68, 68, 0.15) !important;
}

.mcb-danger-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mcb-danger-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.08);
}

.mcb-danger-item strong {
    color: #fca5a5;
    font-size: 14px;
}

.mcb-danger-item p {
    color: #6b7280;
    font-size: 12px;
    margin: 4px 0 0;
}

/* Member Type Badge */
.mcb-member-type-badge {
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(107, 114, 128, 0.15);
    color: #9ca3af;
}

.mcb-member-type-vip {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

/* === PAYMENT MODAL === */
.mcb-pay-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: mcbFadeIn 0.25s ease;
    margin-top: 0;
}

@keyframes mcbFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.mcb-pay-modal {
    background: #12121f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    padding: 32px;
    position: relative;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    max-height: 90vh;
    overflow-y: auto;
}

.mcb-pay-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: #9ca3af;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.15s;
}

.mcb-pay-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Header */
.mcb-pay-header {
    text-align: center;
    margin-bottom: 24px;
}

.mcb-pay-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.mcb-pay-header h2 {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 6px;
}

.mcb-pay-header p {
    color: #6b7280;
    font-size: 13px;
    margin: 0;
}

/* QR Code */
.mcb-pay-qr-wrap {
    position: relative;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin: 0 auto 20px;
    max-width: 280px;
}

.mcb-pay-qr-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.mcb-pay-qr-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    border-radius: 16px;
}

.mcb-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top-color: #2563EB;
    border-radius: 50%;
    animation: mcbSpin 0.8s linear infinite;
}

@keyframes mcbSpin {
    to {
        transform: rotate(360deg);
    }
}

.mcb-pay-qr-loading span {
    color: #6b7280;
    font-size: 12px;
}

/* Bank Info */
.mcb-pay-bank-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 16px;
}

.mcb-pay-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.mcb-pay-info-highlight {
    background: rgba(124, 92, 255, 0.08) !important;
    border: 1px solid rgba(124, 92, 255, 0.15);
}

.mcb-pay-label {
    color: #6b7280;
    font-size: 12px;
}

.mcb-pay-info-row strong {
    color: #e5e7eb;
    font-size: 13px;
}

.mcb-pay-amount-val {
    color: #34d399 !important;
    font-size: 16px !important;
}

.mcb-pay-content-code {
    color: #2563EB !important;
    font-family: monospace;
    font-size: 15px !important;
    letter-spacing: 1px;
}

.mcb-pay-copyable {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mcb-copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    font-size: 14px;
    opacity: 0.6;
    transition: opacity 0.15s;
}

.mcb-copy-btn:hover {
    opacity: 1;
}

/* Warning */
.mcb-pay-warning {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    font-size: 12px;
    line-height: 1.5;
}

/* Status indicator */
.mcb-pay-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    color: #9ca3af;
}

.mcb-pay-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    animation: mcbPulse 1.5s ease infinite;
}

@keyframes mcbPulse2 {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.mcb-pay-timer {
    margin-left: auto;
    font-family: monospace;
    color: #6b7280;
    font-size: 13px;
}

/* Success state */
.mcb-pay-success {
    text-align: center;
    padding: 20px 0;
}

.mcb-pay-success-icon {
    font-size: 64px;
    margin-bottom: 16px;
    animation: mcbBounce 0.5s ease;
}

@keyframes mcbBounce {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.mcb-pay-success h2 {
    color: #34d399;
    font-size: 22px;
    margin: 0 0 8px;
}

.mcb-pay-success p {
    color: #9ca3af;
    font-size: 14px;
    margin: 0 0 24px;
}

.mcb-pay-success-details {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

/* Payment method tabs */
.mcb-payment-methods {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}

.mcb-pm-tab {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #9ca3af;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'Inter', sans-serif;
}

.mcb-pm-tab:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.06);
}

.mcb-pm-active {
    background: rgba(124, 92, 255, 0.12) !important;
    border-color: rgba(124, 92, 255, 0.3);
    color: #60a5fa;
}

.mcb-pm-tab:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.mcb-pm-soon {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 9px;
    color: #6b7280;
    margin-left: 4px;
}

/* Plan save badge */
.mcb-plan-save {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    font-size: 11px;
    font-weight: 700;
    margin-top: 4px;
}

/* Status: paid */
.mcb-pay-status.mcb-pay-status-paid {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

.mcb-pay-status-paid .mcb-pay-status-dot {
    background: #10b981;
}

.mcb-pay-status-paid span {
    color: #34d399;
}

/* ==================================================
   TIỆN ÍCH PAGE (Utilities / Tools)
   ================================================== */

/* API Keys Banner */
.mcb-tienich-apikeys-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(250, 204, 21, 0.06);
    border: 1px solid rgba(250, 204, 21, 0.15);
    margin-bottom: 24px;
}

.mcb-tienich-apikeys-left {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #facc15;
}

.mcb-tienich-apikeys-left p {
    color: rgb(156, 163, 175);
    font-size: 12px;
    margin: 2px 0 0;
}

.mcb-tienich-apikeys-left strong {
    color: #fff;
    font-size: 14px;
}

.mcb-tienich-apikeys-toggle {
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid rgba(250, 204, 21, 0.3);
    background: rgba(250, 204, 21, 0.1);
    color: #facc15;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.mcb-tienich-apikeys-toggle:hover {
    background: rgba(250, 204, 21, 0.2);
}

.mcb-tienich-apikeys-panel {
    margin-bottom: 24px;
}

.mcb-tienich-close-panel {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgb(156, 163, 175);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.mcb-tienich-close-panel:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Tool Tabs */
.mcb-tienich-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.mcb-tienich-tabs::-webkit-scrollbar {
    display: none;
}

.mcb-tienich-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: rgb(107, 114, 128);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
}

.mcb-tienich-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgb(209, 213, 219);
}

.mcb-tienich-tab.active {
    background: rgba(124, 92, 255, 0.12);
    border-color: rgba(124, 92, 255, 0.3);
    color: #60a5fa;
}

.mcb-tienich-tab-badge {
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(250, 204, 21, 0.15);
    color: #facc15;
    font-size: 9px;
    font-weight: 800;
}

/* Tool Panels */
.mcb-tienich-panel {
    display: none;
}

.mcb-tienich-panel.active {
    display: block;
    animation: mcbFadeIn 0.25s ease;
}

@keyframes mcbFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badges */
.mcb-tienich-free-badge {
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    font-size: 11px;
    font-weight: 700;
}

.mcb-tienich-api-badge {
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(250, 204, 21, 0.12);
    color: #facc15;
    font-size: 11px;
    font-weight: 700;
}

/* Description */
.mcb-tienich-desc {
    color: rgb(156, 163, 175) !important;
    font-size: 13px !important;
    margin-bottom: 20px !important;
    line-height: 1.6 !important;
}

/* Platforms */
.mcb-tienich-platforms {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.mcb-tienich-platform {
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgb(209, 213, 219);
    font-size: 12px;
    font-weight: 600;
}

/* Forms */
.mcb-tienich-form {
    margin-bottom: 20px;
}

.mcb-tienich-input-row {
    display: flex;
    gap: 8px;
}

.mcb-tienich-input-row .mcb-form-input {
    flex: 1;
}

.mcb-tienich-input-row .mcb-btn-primary {
    white-space: nowrap;
}

.mcb-tienich-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Dropzone */
.mcb-tienich-dropzone {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    color: rgb(107, 114, 128);
}

.mcb-tienich-dropzone:hover,
.mcb-tienich-dropzone.dragover {
    border-color: rgba(124, 92, 255, 0.4);
    background: rgba(124, 92, 255, 0.04);
    color: #60a5fa;
}

.mcb-tienich-dropzone p {
    margin: 8px 0 4px;
    font-size: 14px;
    color: rgb(156, 163, 175);
}

.mcb-tienich-dropzone small {
    font-size: 11px;
    color: rgb(75, 85, 99);
}

/* Range slider */
.mcb-tienich-range {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.mcb-tienich-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2563EB;
    cursor: pointer;
    border: 2px solid #0b0f19;
}

.mcb-tienich-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2563EB;
    cursor: pointer;
    border: 2px solid #0b0f19;
}

/* Results */
.mcb-tienich-result {
    padding: 20px;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.15);
    margin-top: 16px;
}

.mcb-tienich-result-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.mcb-tienich-result-link {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mcb-tienich-result-link .mcb-form-input {
    flex: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #60a5fa;
}

.mcb-tienich-copy-btn {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: rgb(209, 213, 219);
    cursor: pointer;
    transition: all 0.15s;
}

.mcb-tienich-copy-btn:hover {
    background: rgba(124, 92, 255, 0.15);
    color: #60a5fa;
}

.mcb-tienich-copy-btn.copied {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.3);
}

/* Error */
.mcb-tienich-error {
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    font-size: 13px;
    margin-top: 12px;
}

/* No Key Notice */
.mcb-tienich-nokey-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(250, 204, 21, 0.06);
    border: 1px solid rgba(250, 204, 21, 0.15);
    margin-top: 16px;
    color: #facc15;
}

.mcb-tienich-nokey-notice strong {
    color: #fff;
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.mcb-tienich-nokey-notice p {
    color: rgb(156, 163, 175);
    font-size: 12px;
    margin: 0;
}

.mcb-tienich-goto-apikeys {
    color: #facc15 !important;
    text-decoration: underline !important;
    cursor: pointer;
}

/* Image compress list */
.mcb-tienich-compress-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mcb-tienich-compress-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mcb-tienich-compress-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mcb-tienich-compress-info {
    flex: 1;
}

.mcb-tienich-compress-info strong {
    color: #fff;
    font-size: 13px;
    display: block;
    margin-bottom: 2px;
}

.mcb-tienich-compress-info small {
    color: rgb(107, 114, 128);
    font-size: 11px;
}

.mcb-tienich-compress-saved {
    color: #34d399;
    font-weight: 700;
    font-size: 12px;
}

.mcb-tienich-compress-dl {
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(124, 92, 255, 0.1);
    color: #60a5fa !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    border: none;
}

/* Watermark compare */
.mcb-tienich-watermark-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mcb-tienich-compare-box {
    text-align: center;
}

.mcb-tienich-compare-box img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 8px;
}

.mcb-tienich-compare-label {
    color: rgb(107, 114, 128);
    font-size: 12px;
    font-weight: 600;
}

/* Research content */
.mcb-tienich-research-content {
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    color: rgb(209, 213, 219);
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 600px;
    overflow-y: auto;
}

.mcb-tienich-research-content h2,
.mcb-tienich-research-content h3 {
    color: #fff;
    margin: 16px 0 8px;
}

.mcb-tienich-research-content strong {
    color: #fff;
}

.mcb-tienich-research-content code {
    background: rgba(124, 92, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #60a5fa;
}

/* Video download links */
.mcb-tienich-video-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 12px;
}

.mcb-tienich-video-info img {
    width: 120px;
    height: 68px;
    border-radius: 8px;
    object-fit: cover;
}

.mcb-tienich-video-info strong {
    color: #fff;
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
}

.mcb-tienich-video-info small {
    color: rgb(107, 114, 128);
    font-size: 11px;
}

.mcb-tienich-video-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mcb-tienich-video-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mcb-tienich-video-link-info {
    color: rgb(209, 213, 219);
    font-size: 13px;
}

.mcb-tienich-video-link-info small {
    color: rgb(107, 114, 128);
    margin-left: 8px;
    font-size: 11px;
}

.mcb-tienich-video-dl-btn {
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(124, 92, 255, 0.12);
    border: none;
    color: #60a5fa;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Loading */
.mcb-tienich-loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.mcb-tienich-loading-inner {
    text-align: center;
    color: #fff;
}

.mcb-tienich-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #2563EB;
    border-radius: 50%;
    animation: mcbSpin 0.8s linear infinite;
    margin: 0 auto 12px;
}

@keyframes mcbSpin {
    to {
        transform: rotate(360deg);
    }
}

.mcb-tienich-loading-inner p {
    color: rgb(209, 213, 219);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .mcb-tienich-apikeys-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .mcb-tienich-tabs {
        gap: 4px;
    }

    .mcb-tienich-tab span {
        display: none;
    }

    .mcb-tienich-tab.active span {
        display: inline;
    }

    .mcb-tienich-input-row {
        flex-direction: column;
    }

    .mcb-tienich-watermark-compare {
        grid-template-columns: 1fr;
    }

    .mcb-tienich-video-info {
        flex-direction: column;
        text-align: center;
    }
}

/* =============================================
   KHÓA HỌC (COURSE DETAIL) PAGE
   ============================================= */

.mcb-khoahoc-page {
    padding: 32px 0;
}

/* Back link */
.mcb-khoahoc-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #60a5fa;
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.2s;
}

.mcb-khoahoc-back:hover {
    color: #c4b5fd;
}

/* Course Header */
.mcb-khoahoc-header {
    margin-bottom: 32px;
}

.mcb-khoahoc-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.mcb-khoahoc-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    flex-shrink: 0;
}

.mcb-khoahoc-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 6px;
}

.mcb-khoahoc-desc {
    color: #94a3b8;
    font-size: 14px;
    margin: 0 0 12px;
    line-height: 1.5;
}

.mcb-khoahoc-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.mcb-khoahoc-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 13px;
}

/* Lessons List */
.mcb-khoahoc-lessons-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mcb-khoahoc-lessons-header h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
}

.mcb-khoahoc-progress-label {
    color: #64748b;
    font-size: 13px;
}

/* Lesson Items */
.mcb-khoahoc-lesson-item {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mcb-khoahoc-lesson-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.mcb-khoahoc-lesson-item.is-trial {
    border-left: 3px solid #10b981;
}

.mcb-khoahoc-lesson-item.is-locked {
    opacity: 0.7;
}

.mcb-khoahoc-lesson-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.mcb-khoahoc-lesson-row:hover {
    background: rgba(59, 130, 246, 0.05);
}

.mcb-khoahoc-lesson-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.mcb-khoahoc-lesson-info {
    flex: 1;
    min-width: 0;
}

.mcb-khoahoc-lesson-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mcb-khoahoc-lesson-info p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}

.mcb-khoahoc-lesson-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.mcb-khoahoc-badge-trial {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}

.mcb-khoahoc-badge-locked {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mcb-khoahoc-lesson-duration {
    color: #64748b;
    font-size: 12px;
    flex-shrink: 0;
}

.mcb-khoahoc-lesson-play {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
}

.mcb-khoahoc-lesson-row:hover .mcb-khoahoc-lesson-play {
    background: rgba(59, 130, 246, 0.3);
    transform: scale(1.1);
}

/* Video Modal */
.mcb-khoahoc-video-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: mcbFadeIn 0.2s ease;
}

.mcb-khoahoc-video-modal-inner {
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    overflow: hidden;
}

.mcb-khoahoc-video-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.mcb-khoahoc-video-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0;
}

.mcb-khoahoc-video-close {
    background: rgba(148, 163, 184, 0.1);
    border: none;
    border-radius: 8px;
    padding: 6px;
    color: #94a3b8;
    cursor: pointer;
    transition: background 0.2s;
}

.mcb-khoahoc-video-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.mcb-khoahoc-video-player {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}

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

.mcb-khoahoc-video-desc {
    padding: 16px 20px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
}

/* VIP Gate */
.mcb-khoahoc-vip-gate {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: mcbFadeIn 0.2s ease;
}

.mcb-khoahoc-vip-gate-inner {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 420px;
    width: 100%;
}

.mcb-khoahoc-vip-gate-inner i {
    color: #f59e0b;
    margin-bottom: 16px;
}

.mcb-khoahoc-vip-gate-inner h3 {
    font-size: 20px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 8px;
}

.mcb-khoahoc-vip-gate-inner p {
    color: #94a3b8;
    font-size: 14px;
    margin: 0 0 24px;
    line-height: 1.5;
}

.mcb-khoahoc-vip-gate-inner .mcb-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3b82f6, #3b82f6);
    color: #fff;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mcb-khoahoc-vip-gate-inner .mcb-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.mcb-khoahoc-vip-gate-close {
    display: block;
    margin: 16px auto 0;
    background: none;
    border: none;
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
}

.mcb-khoahoc-vip-gate-close:hover {
    color: #94a3b8;
}

/* Empty State */
.mcb-khoahoc-empty {
    text-align: center;
    padding: 80px 20px;
    color: #64748b;
}

.mcb-khoahoc-empty h2 {
    color: #94a3b8;
    font-size: 20px;
    margin: 16px 0 8px;
}

.mcb-khoahoc-empty a {
    color: #60a5fa;
}

/* Fade-in animation */
@keyframes mcbFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* =============================================
   RESPONSIVE — KHÓA HỌC
   ============================================= */

@media (max-width: 768px) {
    .mcb-khoahoc-title-wrap {
        flex-direction: column;
        gap: 12px;
    }

    .mcb-khoahoc-header h1 {
        font-size: 20px;
    }

    .mcb-khoahoc-lesson-row {
        padding: 12px 14px;
        gap: 10px;
    }

    .mcb-khoahoc-lesson-info h4 {
        font-size: 13px;
    }

    .mcb-khoahoc-video-modal-inner {
        border-radius: 12px;
    }

    .mcb-khoahoc-vip-gate-inner {
        padding: 28px 20px;
    }
}

/* =============================================
   URL SHORTENER HISTORY
   ============================================= */

.mcb-tienich-history-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.mcb-tienich-history-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #cbd5e1;
    margin: 0;
}

.mcb-tienich-history-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mcb-tienich-history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.06);
    border-radius: 10px;
    padding: 10px 14px;
    transition: border-color 0.2s;
}

.mcb-tienich-history-item:hover {
    border-color: rgba(59, 130, 246, 0.25);
}

.mcb-tienich-history-short {
    color: #60a5fa;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 160px;
    cursor: pointer;
}

.mcb-tienich-history-short:hover {
    text-decoration: underline;
}

.mcb-tienich-history-target {
    flex: 1;
    color: #64748b;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.mcb-tienich-history-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.mcb-tienich-history-clicks {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #94a3b8;
    font-size: 12px;
}

.mcb-tienich-history-date {
    color: #475569;
    font-size: 11px;
}

.mcb-tienich-history-copy {
    background: rgba(59, 130, 246, 0.1);
    border: none;
    border-radius: 6px;
    padding: 5px 7px;
    color: #60a5fa;
    cursor: pointer;
    transition: background 0.2s;
}

.mcb-tienich-history-copy:hover {
    background: rgba(59, 130, 246, 0.25);
}

@media (max-width: 768px) {
    .mcb-tienich-history-item {
        flex-wrap: wrap;
        gap: 6px;
    }

    .mcb-tienich-history-short {
        min-width: auto;
    }

    .mcb-tienich-history-target {
        width: 100%;
        order: 3;
    }
}

/* =============================================
   QR CODE & PASSWORD GENERATOR
   ============================================= */

.mcb-tienich-qr-preview {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    margin-top: 12px;
}

.mcb-tienich-qr-preview canvas {
    max-width: 250px;
    height: auto;
    border-radius: 8px;
}

.mcb-tienich-pwd-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.mcb-tienich-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 13px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.06);
    transition: background 0.2s;
}

.mcb-tienich-checkbox:hover {
    background: rgba(30, 41, 59, 0.5);
}

.mcb-tienich-checkbox input[type="checkbox"] {
    accent-color: #3b82f6;
}

.mcb-tienich-pwd-output {
    font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
    letter-spacing: 1px;
    font-size: 15px !important;
}

@media (max-width: 768px) {
    .mcb-tienich-pwd-options {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   N8N WORKFLOW STORE
   ============================================= */

.wfs-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* Hero */
.wfs-hero {
    position: relative;
    padding: 48px 0 32px;
    text-align: center;
    overflow: hidden;
}

.wfs-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(124, 92, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.wfs-hero-content {
    position: relative;
    z-index: 1;
}

.wfs-hero-title {
    font-size: 40px;
    font-weight: 900;
    color: #fff;
    margin: 12px 0 16px;
    letter-spacing: -0.02em;
}

.wfs-hero-subtitle {
    max-width: 560px;
    margin: 0 auto;
    color: rgb(156, 163, 175);
    font-size: 15px;
    line-height: 1.7;
}

/* Stats Bar */
.wfs-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.wfs-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.wfs-stat i {
    color: #60a5fa;
    flex-shrink: 0;
}

.wfs-stat-value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.wfs-stat-label {
    color: rgb(107, 114, 128);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

/* VIP/Free Banner */
.wfs-vip-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(124, 92, 255, 0.08);
    border: 1px solid rgba(124, 92, 255, 0.2);
    margin-bottom: 20px;
    color: #60a5fa;
    font-size: 13px;
    font-weight: 600;
}

.wfs-vip-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(124, 92, 255, 0.2);
    color: #c4b5fd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.wfs-free-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(250, 204, 21, 0.06);
    border: 1px solid rgba(250, 204, 21, 0.15);
    margin-bottom: 20px;
}

.wfs-free-banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgb(156, 163, 175);
    font-size: 13px;
}

.wfs-free-badge {
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(250, 204, 21, 0.15);
    color: #facc15;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.wfs-upgrade-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563EB, #ec4899);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

.wfs-upgrade-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
}

/* Filter Bar */
.wfs-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.wfs-filter-cats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.wfs-cat-btn {
    padding: 7px 16px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: rgb(107, 114, 128);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.wfs-cat-btn:hover {
    background: rgba(124, 92, 255, 0.08);
    border-color: rgba(124, 92, 255, 0.2);
    color: #c4b5fd;
}

.wfs-cat-btn.active {
    background: rgba(124, 92, 255, 0.15);
    border-color: rgba(124, 92, 255, 0.3);
    color: #60a5fa;
}

.wfs-filter-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wfs-search-wrap {
    flex: 1;
    position: relative;
}

.wfs-search-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(75, 85, 99);
    pointer-events: none;
}

.wfs-search-input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: all 0.15s;
}

.wfs-search-input::placeholder {
    color: rgb(75, 85, 99);
}

.wfs-search-input:focus {
    border-color: rgba(124, 92, 255, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

.wfs-difficulty-select,
.wfs-type-select {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: rgb(209, 213, 219);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    min-width: 140px;
}

.wfs-difficulty-select option,
.wfs-type-select option {
    background: #1a1b2e;
    color: #fff;
}

/* Workflow Grid */
.wfs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.wfs-loading {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 60px 0;
    color: rgb(107, 114, 128);
    font-size: 14px;
}

.wfs-loading i {
    animation: wfsSpin 1s linear infinite;
}

@keyframes wfsSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Workflow Card */
.wfs-card {
    position: relative;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 22px;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.wfs-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.wfs-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.wfs-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(124, 92, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wfs-card-icon i {
    color: #60a5fa;
}

.wfs-card-badges {
    display: flex;
    gap: 6px;
    align-items: center;
}

.wfs-card-vip-badge {
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(250, 204, 21, 0.15);
    color: #facc15;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.wfs-card-free-badge {
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.wfs-card-difficulty {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}

.wfs-diff-easy {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
}

.wfs-diff-medium {
    background: rgba(250, 204, 21, 0.12);
    color: #facc15;
}

.wfs-diff-hard {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.wfs-card h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
}

.wfs-card-desc {
    color: rgb(107, 114, 128);
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wfs-card-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.wfs-card-tags span {
    padding: 3px 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.04);
    color: rgb(75, 85, 99);
    font-size: 10px;
    font-weight: 600;
}

.wfs-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.wfs-card-meta {
    display: flex;
    gap: 12px;
}

.wfs-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgb(75, 85, 99);
    font-size: 11px;
}

.wfs-card-copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(124, 92, 255, 0.2);
    background: rgba(124, 92, 255, 0.08);
    color: #60a5fa;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}

.wfs-card-copy-btn:hover {
    background: rgba(124, 92, 255, 0.2);
    border-color: rgba(124, 92, 255, 0.4);
    transform: scale(1.02);
}

.wfs-card-copy-btn.copied {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #34d399 !important;
}

/* Locked Card */
.wfs-card-locked {
    cursor: pointer;
}

.wfs-card-locked .wfs-card-desc,
.wfs-card-locked .wfs-card-tags,
.wfs-card-locked .wfs-card-footer {
    filter: blur(3px);
    opacity: 0.4;
    pointer-events: none;
}

.wfs-locked-overlay {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 2;
    background: rgba(11, 15, 25, 0.65);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.2s;
}

.wfs-card-locked:hover .wfs-locked-overlay {
    opacity: 1;
}

.wfs-locked-overlay i {
    color: #60a5fa;
}

.wfs-locked-overlay span {
    color: #60a5fa;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wfs-locked-upgrade {
    margin-top: 8px;
    padding: 8px 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2563EB, #ec4899);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
}

.wfs-locked-upgrade:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

/* Empty State */
.wfs-empty {
    text-align: center;
    padding: 60px 0;
}

.wfs-empty-icon {
    margin-bottom: 16px;
    color: rgb(55, 65, 81);
}

.wfs-empty h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}

.wfs-empty p {
    color: rgb(107, 114, 128);
    font-size: 14px;
    margin: 0;
}

/* Modal */
.wfs-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: wfsFadeIn 0.15s;
}

@keyframes wfsFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.wfs-modal {
    background: #1a1b2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 36px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: wfsSlideUp 0.2s ease-out;
}

@keyframes wfsSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.wfs-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: rgb(75, 85, 99);
    cursor: pointer;
    padding: 4px;
}

.wfs-modal-close:hover {
    color: #fff;
}

.wfs-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(124, 92, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #60a5fa;
}

.wfs-modal h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 10px;
}

.wfs-modal p {
    color: rgb(156, 163, 175);
    font-size: 13px;
    margin: 0 0 20px;
    line-height: 1.6;
}

.wfs-modal-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.wfs-modal-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: rgb(209, 213, 219);
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.wfs-modal-features li i {
    color: #34d399;
    flex-shrink: 0;
}

.wfs-modal-upgrade-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563EB, #ec4899);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    transition: all 0.2s;
}

.wfs-modal-upgrade-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(37, 99, 235, 0.4);
}

.wfs-modal-cancel {
    display: block;
    margin: 14px auto 0;
    background: none;
    border: none;
    color: rgb(107, 114, 128);
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
}

.wfs-modal-cancel:hover {
    color: #fff;
}

/* Toast */
.wfs-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 24px;
    border-radius: 12px;
    background: #1a1b2e;
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    animation: wfsToastIn 0.3s ease-out forwards;
}

@keyframes wfsToastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .wfs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .wfs-container {
        padding: 0 16px 40px;
    }

    .wfs-hero-title {
        font-size: 28px;
    }

    .wfs-hero-subtitle {
        font-size: 14px;
    }

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

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

    .wfs-filter-right {
        flex-direction: column;
    }

    .wfs-difficulty-select,
    .wfs-type-select {
        width: 100%;
    }

    .wfs-free-banner {
        flex-direction: column;
        text-align: center;
    }

    .wfs-free-banner-left {
        flex-direction: column;
    }
}