:root {
    --bg-dark: #020617;
    --bg-sidebar: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.4);
    --accent-primary: #a855f7;
    --accent-secondary: #ec4899;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-shadow: 0 10px 25px rgba(168, 85, 247, 0.15);
    --input-bg: #020617;
    --sidebar-width: 300px;
    --table-text: #e2e8f0;
}

[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-sidebar: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.9);
    --accent-primary: #7c3aed;
    --accent-secondary: #db2777;
    --text-main: #1e293b;
    --text-dim: #64748b;
    --glass-border: rgba(0, 0, 0, 0.06);
    --neon-shadow: 0 10px 25px rgba(124, 58, 237, 0.1);
    --input-bg: #f1f5f9;
    --table-text: #000000;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

/* Auth Split Screen */
.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--bg-dark);
}

.auth-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

.auth-hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(236, 72, 153, 0.03));
    border-right: 1px solid var(--glass-border);
}

.auth-form-panel {
    width: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: var(--bg-sidebar);
    flex-shrink: 0;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s;
}

.auth-feature-card:hover {
    background: rgba(168, 85, 247, 0.06);
    border-color: rgba(168, 85, 247, 0.2);
    transform: translateX(5px);
}

.auth-feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.auth-feature-card strong {
    display: block;
    color: var(--text-main);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.auth-feature-card span {
    color: var(--text-dim);
    font-size: 0.8rem;
    line-height: 1.4;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    height: 100vh;
    display: flex;
    overflow: hidden;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    border-right: 1px solid var(--glass-border);
    backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    z-index: 200;
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2.5rem;
    flex-shrink: 0;
}

.nav-section {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    min-height: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0; /* Don't shrink by default */
}

/* Sections that should expand to fill space */
#nav-connections, #nav-chats {
    flex: 1;
}

.nav-section.collapsed {
    flex: none !important;
    margin-bottom: 0.5rem;
}

.nav-section.collapsed .scroll-list {
    display: none;
}

.nav-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-primary);
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.nav-title span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-title .chevron {
    font-size: 0.6rem;
    transition: transform 0.3s;
    opacity: 0.5;
}

.nav-section.collapsed .chevron {
    transform: rotate(-90deg);
}

.scroll-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 6px;
}

.scroll-list::-webkit-scrollbar {
    width: 4px;
}

.scroll-list::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

.item-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.nav-item {
    flex: 1;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.02);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid transparent;
    font-weight: 500;
}

.nav-item:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
    color: var(--accent-primary);
}

.nav-item.active {
    border: 1px solid var(--accent-primary);
    background: rgba(168, 85, 247, 0.08);
    box-shadow: var(--neon-shadow);
}

.small-btn {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: var(--accent-primary);
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 1rem;
}

.small-btn:hover {
    background: var(--accent-primary);
    color: white;
    transform: rotate(90deg);
}

/* UI Polish Elements */
.sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.7rem;
    color: var(--text-dim);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.version-badge {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-primary);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.65rem;
    align-self: flex-start;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    user-select: none;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(168, 85, 247, 0.2);
}

.shortcut-hint {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: 0.8rem;
    opacity: 0.7;
}

.shortcut-hint kbd {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 0.1rem 0.3rem;
    font-family: inherit;
    font-size: 0.65rem;
    margin: 0 0.2rem;
    color: var(--text-main);
}

.input-wrapper.focused {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.1);
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--bg-dark);
}

.chat-header {
    padding: 1rem 3rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    z-index: 100;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.source-selector-container {
    position: relative;
}

.source-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    color: var(--accent-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.source-dropdown-btn:hover {
    background: rgba(168, 85, 247, 0.2);
    transform: translateY(-1px);
}

.icon-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    padding: 0.5rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.icon-btn:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.text-action-btn {
    background: none;
    border: 1px solid transparent;
    color: var(--text-dim);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.text-action-btn:hover {
    color: var(--accent-secondary);
    background: rgba(236, 72, 153, 0.05);
    border-color: rgba(236, 72, 153, 0.1);
}

.chat-container {
    flex: 1;
    padding: 2rem 4rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    scroll-behavior: smooth;
}

.message {
    max-width: 85%;
    min-width: 0;
    padding: 1.2rem 1.5rem;
    border-radius: 20px;
    line-height: 1.6;
    animation: slideUp 0.4s ease-out;
    position: relative;
    font-size: 0.95rem;
}

.user-message {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.2);
}

.ai-message {
    align-self: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    min-width: 0;
    max-width: calc(100vw - var(--sidebar-width) - 8rem);
}

pre {
    font-family: 'JetBrains Mono', monospace;
    background: #000;
    padding: 1.2rem;
    border-radius: 14px;
    margin: 1.2rem 0;
    font-size: 0.85rem;
    border: 1px solid #1e1b4b;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #e2e8f0;
}

.results-container {
    margin-top: 1.5rem;
    max-height: 450px;
    overflow: auto;
    border-radius: 20px;
    background: transparent;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    width: 100%;
    max-width: 100%;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
}

th {
    text-align: left;
    padding: 1.2rem 1rem;
    background: transparent;
    position: sticky;
    top: 0;
    color: var(--accent-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--glass-border);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
    backdrop-filter: blur(15px);
    white-space: nowrap;
}

td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--table-text);
    vertical-align: middle;
    white-space: nowrap;
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

tr:hover td {
    background: rgba(168, 85, 247, 0.05);
    color: var(--table-text);
}

.input-area {
    padding: 2rem 4rem;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}

.input-wrapper {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 0.6rem 1.5rem;
    display: flex;
    align-items: center;
    backdrop-filter: blur(25px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

input,
textarea {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-main);
    padding: 0.8rem 0;
    font-size: 1rem;
    outline: none;
}

textarea {
    resize: none;
    overflow-y: hidden;
    min-height: 24px;
    max-height: 200px;
    line-height: 1.5;
}

.send-btn {
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 16px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.3);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.4);
}

.export-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    border: 1px solid var(--glass-border);
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.export-btn:hover {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-color: #22c55e;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.modal-content {
    background: var(--bg-sidebar);
    padding: 2.5rem;
    border-radius: 28px;
    width: 600px;
    border: 1px solid var(--glass-border);
    max-height: 95vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.modal-scrollable {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 1.5rem;
}

.modal-scrollable::-webkit-scrollbar {
    width: 4px;
}

.modal-scrollable::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-dim);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    padding: 0.7rem 1rem;
    border-radius: 12px;
    color: var(--text-main);
    font-size: 0.9rem;
    outline: none;
}

.form-group input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

#alert-modal .modal-content {
    width: 400px;
    text-align: center;
    height: auto;
    max-height: none;
    padding: 2.5rem;
    border-radius: 28px;
}

.alert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-secondary);
}

.alert-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.alert-msg {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.route-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.route-card:hover {
    background: rgba(168, 85, 247, 0.05);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.1);
}

.route-card.active {
    background: rgba(168, 85, 247, 0.1);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 1px var(--accent-primary);
}

.feature-card-simple {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-card-simple:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateX(8px);
}

.feature-icon {
    font-size: 1.2rem;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.feature-title {
    font-weight: 600;
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    opacity: 0.8;
}

.help-tooltip-container {
    position: relative;
    display: inline-block;
    cursor: help;
}

.help-icon {
    color: var(--accent-primary);
    opacity: 0.6;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.help-icon:hover {
    opacity: 1;
}

.help-tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    right: -10px;
    width: 300px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    transform: translateY(10px);
}

[data-theme="dark"] .help-tooltip {
    background: var(--bg-card);
    border-color: var(--glass-border);
    color: var(--text-main);
}

.help-tooltip-container:hover .help-tooltip {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.help-tooltip strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.help-tooltip code {
    display: block;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.6rem;
    border-radius: 8px;
    font-size: 0.7rem;
    color: var(--accent-secondary);
    word-break: break-all;
    margin-bottom: 0.5rem;
}

.source-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 280px;
    background: var(--bg-sidebar);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0.8rem;
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    animation: slideDown 0.2s ease-out;
}

.source-dropdown-menu.open {
    display: flex;
}

.source-option {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.source-option:hover {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-primary);
}

.source-option.active {
    background: var(--accent-primary);
    color: white;
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

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

.explanation-box {
    background: rgba(168, 85, 247, 0.03);
    border-left: 3px solid var(--accent-primary);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin: 0.5rem 0 1rem 0;
    line-height: 1.5;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.explanation-box.open {
    display: block;
}

/* Password Strength Meter */
.pw-strength {
    margin-top: 0.6rem;
}

.pw-bar {
    width: 100%;
    height: 4px;
    background: var(--glass-border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.pw-fill {
    height: 100%;
    width: 0;
    border-radius: 4px;
    transition: width 0.3s, background 0.3s;
}

.pw-rules {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.8rem;
}

.pw-rules span {
    font-size: 0.7rem;
    color: var(--text-dim);
    transition: color 0.2s;
}

/* Thinking bubble & typing dots */
.thinking-bubble {
    min-width: 280px !important;
}

.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    display: inline-block;
    animation: bounce 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* Pulse loading indicator */
.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-primary);
    display: inline-block;
    margin-right: 0.5rem;
    vertical-align: middle;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

#toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.toast {
    min-width: 280px;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    background: var(--bg-sidebar);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    font-size: 0.85rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.toast.error {
    border-left: 4px solid var(--accent-secondary);
}

.toast.success {
    border-left: 4px solid #22c55e;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

/* Guidance Component */
.guidance-container {
    background: rgba(168, 85, 247, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 16px;
    padding: 1.2rem;
    margin-top: 0.8rem;
    margin-bottom: 1.5rem;
}

.guidance-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.guidance-icon {
    font-size: 1.1rem;
}

.guidance-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.guidance-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.step-num {
    background: var(--accent-primary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.1rem;
    box-shadow: 0 2px 5px rgba(168, 85, 247, 0.3);
}

.step p {
    font-size: 0.85rem;
    color: var(--text-main);
    margin: 0;
    line-height: 1.4;
}

.step-content {
    flex: 1;
}

.code-block {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    margin-top: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.code-block code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-main);
    flex: 1;
    overflow-x: auto;
    white-space: nowrap;
}

.copy-icon-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.2rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.copy-icon-btn:hover {
    color: var(--accent-primary);
    background: rgba(168, 85, 247, 0.1);
}

/* Divider Styles */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-dim);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.6;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--glass-border);
}

.divider::before {
    margin-right: 1.2rem;
}

.divider::after {
    margin-left: 1.2rem;
}