@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.ab-dashboard-preview-section {
    width: 100%;
}

.ab-dashboard-preview-frame {
    max-width: 1180px;
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f1 100%);
    border: 1px solid rgba(25, 25, 24, 0.08);
    box-shadow: 0 26px 80px rgba(15, 23, 42, 0.14);
}

.ab-dashboard-preview-frame__chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(25, 25, 24, 0.08);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
}

.ab-dashboard-preview-frame__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ab-dashboard-preview-frame__dots span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #d7d7d0;
}

.ab-dashboard-preview-frame__dots span:first-child {
    background: #ff8e7d;
}

.ab-dashboard-preview-frame__dots span:nth-child(2) {
    background: #ffc56a;
}

.ab-dashboard-preview-frame__dots span:nth-child(3) {
    background: #6dcf8b;
}

.ab-dashboard-preview-frame__label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #5f6158;
}

.ab-dashboard-preview-shell {
    --bg-primary: #0f0f13;
    --bg-secondary: #1a1a23;
    --bg-card: #22222e;
    --bg-hover: #2a2a38;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-teal: #14b8a6;
    --accent-orange: #f97316;
    --accent-pink: #ec4899;
    --border-color: rgba(255, 255, 255, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    overflow: hidden;
}

.ab-dashboard-preview-shell[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --bg-hover: #f1f3f5;
    --text-primary: #1a1a23;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.1);
}

.ab-dashboard-preview-shell,
.ab-dashboard-preview-shell * {
    box-sizing: border-box;
}

.ab-dashboard-preview-shell a,
.ab-dashboard-preview-shell button {
    font: inherit;
}

.ab-dashboard-preview-shell a {
    text-decoration: none;
}

.ab-dashboard-preview-shell button {
    cursor: pointer;
}

.ab-dashboard-preview-shell .abdp-scale-outer {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}

.ab-dashboard-preview-shell .abdp-scale-inner {
    width: 1440px;
    height: 900px;
    transform-origin: top left;
}

.ab-dashboard-preview-shell .abdp-preview-iframe {
    display: block;
    width: 1440px;
    height: 900px;
    border: 0;
    background: #ffffff;
}

.ab-dashboard-preview-shell .dashboard-container {
    display: flex;
    height: 900px;
    width: 1440px;
    overflow: hidden;
    background: var(--bg-primary);
}

.ab-dashboard-preview-shell .sidebar {
    width: 260px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    flex-shrink: 0;
}

.ab-dashboard-preview-shell .sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 12px;
    margin-bottom: 24px;
    min-height: 50px;
}

.ab-dashboard-preview-shell .brand-logo {
    max-width: 100%;
    max-height: 45px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ab-dashboard-preview-shell .brand-logo-light {
    display: none;
}

.ab-dashboard-preview-shell .brand-logo-dark {
    display: block;
}

.ab-dashboard-preview-shell[data-theme="light"] .brand-logo-light {
    display: block !important;
}

.ab-dashboard-preview-shell[data-theme="light"] .brand-logo-dark {
    display: none !important;
}

.ab-dashboard-preview-shell .sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.ab-dashboard-preview-shell .menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.ab-dashboard-preview-shell .menu-item.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.1));
    color: var(--text-primary);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.ab-dashboard-preview-shell .menu-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.ab-dashboard-preview-shell .menu-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.ab-dashboard-preview-shell .sidebar-exam-schedules {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 0 5px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.ab-dashboard-preview-shell .exam-schedule-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-height: 0;
}

.ab-dashboard-preview-shell .exam-schedule-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.ab-dashboard-preview-shell .exam-schedule-header {
    padding: 6px 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-height: 36px;
}

.ab-dashboard-preview-shell .edaic-exam-card,
.ab-dashboard-preview-shell .edaic-exam-card .exam-schedule-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
}

.ab-dashboard-preview-shell .edaic-exam-card .exam-schedule-header::before,
.ab-dashboard-preview-shell .frca-exam-card .exam-schedule-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.ab-dashboard-preview-shell .frca-exam-card,
.ab-dashboard-preview-shell .frca-exam-card .exam-schedule-header {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
}

.ab-dashboard-preview-shell .aba-exam-card,
.ab-dashboard-preview-shell .aba-exam-card .exam-schedule-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d2137 40%, #b22234 100%);
    background-image:
        repeating-linear-gradient(
            180deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        ),
        linear-gradient(135deg, #1e3a5f 0%, #0d2137 40%, #b22234 100%);
}

.ab-dashboard-preview-shell .aba-exam-card .exam-schedule-header::before {
    content: '\2605';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.ab-dashboard-preview-shell .aba-exam-card .exam-schedule-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.ab-dashboard-preview-shell .exam-schedule-label {
    display: flex;
    align-items: center;
    gap: 4px;
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

.ab-dashboard-preview-shell .exam-schedule-label svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

.ab-dashboard-preview-shell .exam-schedule-next-date {
    font-size: 0.6875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.ab-dashboard-preview-shell .sidebar-footer {
    padding-top: 5px;
    border-top: 1px solid var(--border-color);
}

.ab-dashboard-preview-shell .user-avatar-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.ab-dashboard-preview-shell .user-info-display {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: none;
    border: none;
    padding: 6px 8px;
    border-radius: var(--radius-md);
    color: inherit;
    text-align: left;
}

.ab-dashboard-preview-shell .user-info-display:hover {
    background: var(--bg-hover);
}

.ab-dashboard-preview-shell .user-avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid var(--border-color);
}

.ab-dashboard-preview-shell .user-info-text {
    flex: 1;
    min-width: 0;
}

.ab-dashboard-preview-shell .user-info-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
    line-height: 1.3;
}

.ab-dashboard-preview-shell .user-info-level {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.ab-dashboard-preview-shell .main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 32px 40px;
    overflow: hidden;
    min-width: 0;
    background: var(--bg-primary);
    position: relative;
}

.ab-dashboard-preview-shell .mobile-menu-toggle {
    display: none;
}

.ab-dashboard-preview-shell .content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
    flex-shrink: 0;
}

.ab-dashboard-preview-shell .header-left-mobile {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.ab-dashboard-preview-shell .header-left-mobile .theme-toggle {
    flex-shrink: 0;
    margin-left: auto;
}

.ab-dashboard-preview-shell .header-greeting h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.ab-dashboard-preview-shell .header-greeting .highlight {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ab-dashboard-preview-shell .header-greeting p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

.ab-dashboard-preview-shell .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.ab-dashboard-preview-shell .theme-toggle {
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.ab-dashboard-preview-shell .theme-toggle:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

.ab-dashboard-preview-shell .theme-icon {
    position: absolute;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ab-dashboard-preview-shell .theme-icon.sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.ab-dashboard-preview-shell .theme-icon.moon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

.ab-dashboard-preview-shell[data-theme="light"] .theme-icon.sun {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

.ab-dashboard-preview-shell[data-theme="light"] .theme-icon.moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.ab-dashboard-preview-shell .header-free-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    border: none;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.02em;
    overflow: visible;
}

.ab-dashboard-preview-shell .header-free-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    filter: brightness(1.08);
}

.ab-dashboard-preview-shell .header-free-btn:active {
    transform: translateY(0);
}

.ab-dashboard-preview-shell[data-theme="light"] .header-free-btn {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.ab-dashboard-preview-shell[data-theme="light"] .header-free-btn:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.ab-dashboard-preview-shell .header-free-btn-quiz {
    background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 50%, #14b8a6 100%);
}

.ab-dashboard-preview-shell .header-free-btn-ai {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #ec4899 100%);
}

.ab-dashboard-preview-shell .header-free-btn .btn-text-short {
    display: none;
}

.ab-dashboard-preview-shell .header-free-btn .btn-text-full {
    display: inline;
}

.ab-dashboard-preview-shell .featured-area {
    flex: 1;
    display: flex;
    gap: 24px;
    min-height: 0;
    margin-bottom: 24px;
    overflow: hidden;
}

.ab-dashboard-preview-shell .featured-slider {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.ab-dashboard-preview-shell .slider-container {
    flex: 1;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 0;
    width: 100%;
    max-width: 100%;
}

.ab-dashboard-preview-shell .right-cards-container {
    display: flex;
    flex-direction: row;
    gap: 24px;
    width: 680px;
    flex-shrink: 0;
    max-height: 100%;
    overflow: hidden;
}

.ab-dashboard-preview-shell .daily-tip-card,
.ab-dashboard-preview-shell .weekly-challenge-card {
    width: 328px;
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.ab-dashboard-preview-shell[data-theme="light"] .daily-tip-card,
.ab-dashboard-preview-shell[data-theme="light"] .weekly-challenge-card {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.ab-dashboard-preview-shell .tip-header,
.ab-dashboard-preview-shell .challenge-header {
    padding: 20px 24px;
    min-height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.ab-dashboard-preview-shell .tip-header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
}

.ab-dashboard-preview-shell .challenge-header {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #14b8a6 100%);
}

.ab-dashboard-preview-shell .tip-header::before,
.ab-dashboard-preview-shell .challenge-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.ab-dashboard-preview-shell .tip-header::after,
.ab-dashboard-preview-shell .challenge-header::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.ab-dashboard-preview-shell .tip-label,
.ab-dashboard-preview-shell .challenge-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.ab-dashboard-preview-shell .tip-label svg,
.ab-dashboard-preview-shell .challenge-label svg {
    width: 16px;
    height: 16px;
}

.ab-dashboard-preview-shell .tip-date,
.ab-dashboard-preview-shell .challenge-week {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.ab-dashboard-preview-shell .tip-content,
.ab-dashboard-preview-shell .challenge-content {
    padding: 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.ab-dashboard-preview-shell .challenge-content {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100%;
}

.ab-dashboard-preview-shell .tip-content {
    overflow: hidden;
}

.ab-dashboard-preview-shell .tip-note-card,
.ab-dashboard-preview-shell .challenge-note-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.ab-dashboard-preview-shell .note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ab-dashboard-preview-shell .note-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ab-dashboard-preview-shell .note-category-badge.pharmacology {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.ab-dashboard-preview-shell .note-category-badge.cardiology {
    background: rgba(20, 184, 166, 0.15);
    color: #14b8a6;
    border: 1px solid rgba(20, 184, 166, 0.25);
}

.ab-dashboard-preview-shell .note-category-badge.neurology {
    background: rgba(236, 72, 153, 0.15);
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.25);
}

.ab-dashboard-preview-shell .note-category-badge.general {
    background: rgba(107, 114, 128, 0.15);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.25);
}

.ab-dashboard-preview-shell .note-category-badge svg {
    width: 12px;
    height: 12px;
}

.ab-dashboard-preview-shell .note-bookmark {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.ab-dashboard-preview-shell .note-bookmark:hover {
    color: var(--accent-blue);
    background: var(--bg-hover);
}

.ab-dashboard-preview-shell .note-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
    line-height: 1.35;
}

.ab-dashboard-preview-shell .note-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 12px;
    flex: 1;
    min-height: 0;
    min-width: 0;
    overflow-wrap: break-word;
}

.ab-dashboard-preview-shell .note-text-line {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
}

.ab-dashboard-preview-shell .note-text-line::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: 700;
}

.ab-dashboard-preview-shell .note-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}

.ab-dashboard-preview-shell .note-tag {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-hover);
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    white-space: nowrap;
}

.ab-dashboard-preview-shell .challenge-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ab-dashboard-preview-shell .challenge-btn svg {
    margin-left: 8px;
}

.ab-dashboard-preview-shell .challenge-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.ab-dashboard-preview-shell .slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(30px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ab-dashboard-preview-shell .slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.ab-dashboard-preview-shell .slide.gradient-blue {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #0ea5e9 100%);
}

.ab-dashboard-preview-shell .slide.gradient-blue::before,
.ab-dashboard-preview-shell .slide.gradient-purple::before,
.ab-dashboard-preview-shell .slide.gradient-teal::before,
.ab-dashboard-preview-shell .slide.gradient-orange::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.ab-dashboard-preview-shell .slide.gradient-blue::before {
    background-image: url('https://anesthesiaboard.se/wp-content/uploads/2026/01/qbanktexture-scaled.png');
}

.ab-dashboard-preview-shell .slide.gradient-purple {
    background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 50%, #a78bfa 100%);
}

.ab-dashboard-preview-shell .slide.gradient-purple::before {
    background-image: url('https://anesthesiaboard.se/wp-content/uploads/2026/01/txtbooktextture-scaled.png');
}

.ab-dashboard-preview-shell .slide.gradient-teal {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 50%, #2dd4bf 100%);
}

.ab-dashboard-preview-shell .slide.gradient-teal::before {
    background-image: url('https://anesthesiaboard.se/wp-content/uploads/2026/01/mockexamtexture-scaled.png');
}

.ab-dashboard-preview-shell .slide.gradient-orange {
    background: linear-gradient(135deg, #c2410c 0%, #f97316 50%, #fb923c 100%);
}

.ab-dashboard-preview-shell .slide.gradient-orange::before {
    background-image: url('https://anesthesiaboard.se/wp-content/uploads/2026/01/aiexaminertexture-scaled.png');
}

.ab-dashboard-preview-shell .slide-content {
    max-width: 500px;
    z-index: 2;
}

.ab-dashboard-preview-shell .slide-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 16px;
    line-height: 1.2;
}

.ab-dashboard-preview-shell .slide-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 28px;
    line-height: 1.6;
}

.ab-dashboard-preview-shell .slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #1a1a23;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.ab-dashboard-preview-shell .slide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ab-dashboard-preview-shell .slide-visual {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    z-index: 1;
}

.ab-dashboard-preview-shell .visual-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(40px);
    animation: abdp-float 6s ease-in-out infinite;
}

.ab-dashboard-preview-shell .visual-orb.secondary {
    width: 120px;
    height: 120px;
    right: 150px;
    top: 30%;
    animation-delay: -3s;
}

@keyframes abdp-float {
    0%,
    100% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(-10px);
    }
}

.ab-dashboard-preview-shell .slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 20px;
    flex-shrink: 0;
}

.ab-dashboard-preview-shell .nav-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ab-dashboard-preview-shell .nav-arrow:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--accent-blue);
}

.ab-dashboard-preview-shell .slider-dots {
    display: flex;
    gap: 8px;
}

.ab-dashboard-preview-shell .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-hover);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ab-dashboard-preview-shell .dot:hover {
    background: var(--text-muted);
}

.ab-dashboard-preview-shell .dot.active {
    background: var(--accent-blue);
    width: 28px;
    border-radius: 5px;
}

.ab-dashboard-preview-shell .quick-access {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    flex-shrink: 0;
}

.ab-dashboard-preview-shell .access-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    transition: all 0.3s ease;
}

.ab-dashboard-preview-shell .access-card:hover {
    background: var(--bg-hover);
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.ab-dashboard-preview-shell .card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ab-dashboard-preview-shell .card-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.ab-dashboard-preview-shell .card-icon.blue {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
}

.ab-dashboard-preview-shell .card-icon.purple {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-purple);
}

.ab-dashboard-preview-shell .card-icon.teal {
    background: rgba(20, 184, 166, 0.15);
    color: var(--accent-teal);
}

.ab-dashboard-preview-shell .card-icon.orange {
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent-orange);
}

.ab-dashboard-preview-shell .card-info h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1px;
    line-height: 1.2;
}

.ab-dashboard-preview-shell .card-info span {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.25;
}

.ab-dashboard-preview-shell .access-card.theme-edaic,
.ab-dashboard-preview-shell .access-card.theme-frca,
.ab-dashboard-preview-shell .access-card.theme-aba {
    position: relative;
    overflow: hidden;
    border-width: 1px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
    isolation: isolate;
}

.ab-dashboard-preview-shell .access-card.theme-edaic::before,
.ab-dashboard-preview-shell .access-card.theme-frca::before,
.ab-dashboard-preview-shell .access-card.theme-aba::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
}

.ab-dashboard-preview-shell .access-card.theme-edaic::before {
    background: linear-gradient(90deg, #60a5fa, #38bdf8);
}

.ab-dashboard-preview-shell .access-card.theme-frca::before {
    background: linear-gradient(90deg, #93c5fd, #f87171);
}

.ab-dashboard-preview-shell .access-card.theme-aba::before {
    background: linear-gradient(90deg, #f87171, #60a5fa);
}

.ab-dashboard-preview-shell .access-card.theme-edaic {
    border-color: rgba(59, 130, 246, 0.28);
    background: linear-gradient(145deg, #f4f9ff 0%, #e9f2ff 100%);
}

.ab-dashboard-preview-shell .access-card.theme-frca {
    border-color: rgba(220, 38, 38, 0.25);
    background: linear-gradient(145deg, #fff5f7 0%, #ffeef2 100%);
}

.ab-dashboard-preview-shell .access-card.theme-aba {
    border-color: rgba(239, 68, 68, 0.28);
    background: linear-gradient(145deg, #fff6f7 0%, #ffeef0 100%);
}

.ab-dashboard-preview-shell .access-card.theme-edaic .card-info h3,
.ab-dashboard-preview-shell .access-card.theme-edaic .card-info span,
.ab-dashboard-preview-shell .access-card.theme-frca .card-info h3,
.ab-dashboard-preview-shell .access-card.theme-frca .card-info span,
.ab-dashboard-preview-shell .access-card.theme-aba .card-info h3,
.ab-dashboard-preview-shell .access-card.theme-aba .card-info span {
    color: #0f172a;
    position: relative;
    z-index: 1;
}

.ab-dashboard-preview-shell .access-card.theme-edaic .card-icon,
.ab-dashboard-preview-shell .access-card.theme-frca .card-icon,
.ab-dashboard-preview-shell .access-card.theme-aba .card-icon {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.ab-dashboard-preview-shell .access-card.theme-edaic:hover {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}

.ab-dashboard-preview-shell .access-card.theme-frca:hover {
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}

.ab-dashboard-preview-shell .access-card.theme-aba:hover {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}

.ab-dashboard-preview-shell .mobile-arrow-icon {
    display: none;
}

.ab-dashboard-preview-shell[data-theme="dark"] .access-card.theme-edaic,
.ab-dashboard-preview-shell[data-theme="dark"] .access-card.theme-frca,
.ab-dashboard-preview-shell[data-theme="dark"] .access-card.theme-aba {
    border-color: rgba(255, 255, 255, 0.14);
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.95), rgba(17, 24, 39, 0.95));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.ab-dashboard-preview-shell[data-theme="dark"] .access-card.theme-edaic .card-info h3,
.ab-dashboard-preview-shell[data-theme="dark"] .access-card.theme-edaic .card-info span,
.ab-dashboard-preview-shell[data-theme="dark"] .access-card.theme-frca .card-info h3,
.ab-dashboard-preview-shell[data-theme="dark"] .access-card.theme-frca .card-info span,
.ab-dashboard-preview-shell[data-theme="dark"] .access-card.theme-aba .card-info h3,
.ab-dashboard-preview-shell[data-theme="dark"] .access-card.theme-aba .card-info span {
    color: #f8fafc;
}

.ab-dashboard-preview-shell[data-theme="dark"] .access-card.theme-edaic .card-icon,
.ab-dashboard-preview-shell[data-theme="dark"] .access-card.theme-frca .card-icon,
.ab-dashboard-preview-shell[data-theme="dark"] .access-card.theme-aba .card-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
}

.ab-dashboard-preview-shell[data-theme="dark"] .access-card.theme-edaic:hover {
    border-color: rgba(96, 165, 250, 0.55);
}

.ab-dashboard-preview-shell[data-theme="dark"] .access-card.theme-frca:hover {
    border-color: rgba(248, 113, 113, 0.55);
}

.ab-dashboard-preview-shell[data-theme="dark"] .access-card.theme-aba:hover {
    border-color: rgba(251, 113, 133, 0.55);
}

.ab-dashboard-preview-shell .card-flag-badge {
    width: 24px;
    height: 16px;
    min-width: 24px;
    padding: 0;
    border-radius: 4px;
    border: 1px solid rgba(15, 23, 42, 0.15);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
    display: inline-block;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.ab-dashboard-preview-shell[data-theme="dark"] .card-flag-badge {
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.ab-dashboard-preview-shell .card-flag-badge.flag-eu {
    background: #1e40af;
}

.ab-dashboard-preview-shell .card-flag-badge.flag-eu::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #facc15;
    transform: translate(-50%, -50%);
    box-shadow:
        -6px -4px 0 #facc15,
        0 -6px 0 #facc15,
        6px -4px 0 #facc15,
        6px 4px 0 #facc15,
        0 6px 0 #facc15,
        -6px 4px 0 #facc15;
}

.ab-dashboard-preview-shell .card-flag-badge.flag-uk {
    background-color: #012169;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='t'%3E%3Cpath d='M30 15h30v15zv15h-30zh-30v-15zv-15h30z'/%3E%3C/clipPath%3E%3Cpath d='M0 0v30h60V0z' fill='%23012169'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ab-dashboard-preview-shell .card-flag-badge.flag-us {
    background:
        repeating-linear-gradient(
            0deg,
            #dc2626 0px,
            #dc2626 2px,
            #ffffff 2px,
            #ffffff 4px
        );
}

.ab-dashboard-preview-shell .card-flag-badge.flag-us::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 12px;
    height: 10px;
    background:
        radial-gradient(circle at 3px 3px, #fff 0 1px, transparent 1px),
        radial-gradient(circle at 7px 5px, #fff 0 1px, transparent 1px),
        radial-gradient(circle at 10px 3px, #fff 0 1px, transparent 1px),
        #1e3a8a;
}

@media (max-width: 768px) {
    .ab-dashboard-preview-frame {
        border-radius: 22px;
    }

    .ab-dashboard-preview-frame__chrome {
        padding: 12px 16px;
    }
}
