:root {
    /* Color Palette - Scientific / Clinical Softness */
    --clr-bg: #f8fafc;
    --clr-surface: #ffffff;
    --clr-primary: #3b82f6;
    /* Oxygen Blue */
    --clr-secondary: #14b8a6;
    /* Clinical Teal */
    --clr-accent: #6366f1;
    /* Neural Violet */
    --clr-text-main: #1e293b;
    /* Deep Slate */
    --clr-text-muted: #475569;
    /* Darker slate for better contrast */
    --clr-border: #e2e8f0;

    /* Dark Mode (High Focus) */
    --clr-dark-bg: #0f172a;
    --clr-dark-surface: #1e293b;
    --clr-dark-text: #f1f5f9;

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--clr-bg);
    color: var(--clr-text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition);
}

.screen {
    display: none;
    min-height: 100vh;
    width: 100%;
}

.screen.active {
    display: flex;
    flex-direction: column;
}

/* Login Screen Styles */
#login-screen {
    background: var(--clr-dark-bg);
    color: var(--clr-dark-text);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

#login-screen.active {
    display: flex;
}

.login-center {
    text-align: center;
    max-width: 400px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.8s ease-out;
}

.login-center h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.login-center p {
    opacity: 0.95;
    font-size: 1rem;
    line-height: 1.6;
}

.mind-matters-app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Landing Page Elements */
header {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-bottom: 1px solid var(--clr-border);
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 1;
    height: 100%;
}

.header-left .logo {
    justify-content: flex-start;
    font-size: 1.15rem;
    font-weight: 800;
    color: inherit;
    opacity: 1 !important;
    /* Force full opacity */
}

.logo i {
    font-size: 2rem;
    color: var(--clr-secondary);
}

.hero-subtitle {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.language-selector {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 100px;
    width: fit-content;
    border: 1px solid var(--clr-border);
}

.btn-logout,
.profile-btn {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    padding: 0 16px;
    height: 44px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}

.btn-logout {
    width: 44px;
    padding: 0;
}

.btn-logout:hover,
.profile-btn:hover {
    color: var(--clr-primary);
    background: white;
    box-shadow: var(--shadow-sm);
}

.profile-btn i {
    color: var(--clr-primary);
}

.btn-logout:hover {
    color: var(--clr-primary);
    background: white;
    box-shadow: var(--shadow-sm);
}

.language-selector i {
    color: var(--clr-primary);
    font-size: 0.9rem;
}

#language-select {
    background: transparent;
    border: none;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-text-main);
    cursor: pointer;
    outline: none;
}

.malayalam-font {
    font-family: 'Noto Sans Malayalam', var(--font-main);
}

/* Main Container */
.container {
    flex: 1;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mode-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 24px;
    padding: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.mode-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-primary);
}

.mode-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--clr-primary);
}

.mode-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.mode-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.btn-primary {
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    background: var(--clr-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.mode-card.locked {
    position: relative;
    cursor: default;
    filter: grayscale(0.5);
    opacity: 0.8;
}

.mode-card.locked .locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.mode-card.locked .locked-badge {
    background: #ef4444;
    color: white;
    padding: 6px 15px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    transform: rotate(-15deg);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    pointer-events: auto;
}

/* Scientific Session UI */
.screen {
    display: none;
}

.screen.active {
    display: flex;
}

.offline-indicator.show {
    display: flex;
}

/* Feature Guides */
.feature-guide {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    z-index: 50;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    animation: floatingGuide 3s ease-in-out infinite alternate, slideDownGuide 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.feature-guide.fading-out {
    opacity: 0 !important;
    transform: translate(-50%, -20px) !important;
}

.guide-content {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    color: var(--clr-text-main);
    text-align: center;
}

.guide-content h4 {
    color: var(--clr-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.guide-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    color: var(--clr-text-main);
    font-weight: 500;
}

.guide-content b,
.guide-content strong {
    color: #000000;
    font-weight: 800;
}

@keyframes slideDownGuide {
    from {
        opacity: 0;
        top: -20px;
    }

    to {
        opacity: 1;
        top: 20px;
    }
}

@keyframes floatingGuide {
    from {
        margin-top: 0px;
    }

    to {
        margin-top: 6px;
    }
}

.session-screen {
    background: var(--clr-dark-bg);
    color: var(--clr-dark-text);
    height: 100vh;
    padding: 2rem;
    flex-direction: column;
}

/* Chat Layout - Scientific Style */
.chat-container {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.03), transparent);
    background-image:
        linear-gradient(rgba(226, 232, 240, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 232, 240, 0.4) 1px, transparent 1px);
    background-size: 50px 50px;
}

.messages-area {
    flex: 1;
    overflow-y: auto !important;
    min-height: 0;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.messages-area::-webkit-scrollbar {
    width: 6px;
}

.messages-area::-webkit-scrollbar-thumb {
    background: var(--clr-border);
    border-radius: 10px;
}

.message {
    padding: 1rem 1.25rem;
    border-radius: 20px;
    max-width: 85%;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    animation: fadeIn 0.4s ease-out;
}

.message p {
    margin-bottom: 0.5rem;
}

.message p:last-child {
    margin-bottom: 0;
}

.message ul,
.message ol {
    margin-left: 1.5rem;
    margin-bottom: 0.5rem;
}


.message.system {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-main);
    border-left: 4px solid var(--clr-secondary);
}

.message.caucus {
    background: #f8faff;
    border: 1px dashed var(--clr-border);
    color: var(--clr-text-main);
    border-left: 4px solid #6366f1;
    /* Indigo */
}

.message.status {
    background: transparent;
    border: none;
    color: var(--clr-text-muted);
    font-size: 0.85rem;
    text-align: center;
    align-self: center;
    max-width: 100%;
    padding: 0.5rem;
    opacity: 0.8;
    font-style: italic;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    border-radius: 0;
    width: 80%;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.message.status .message-label {
    display: none;
}

.message.user {
    background: var(--clr-primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.message.typing {
    background: transparent;
    border: none;
    color: var(--clr-text-muted);
    font-size: 0.8rem;
    font-family: monospace;
}

.message-label {
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 4px;
    opacity: 0.9;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.message.user .message-label {
    color: rgba(255, 255, 255, 0.9);
    text-align: right;
}

.chat-input-wrapper {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    padding: 0.5rem;
    border-radius: 16px;
    display: flex;
    gap: 10px;
    box-shadow: var(--shadow-md);
}

#chat-input,
#mediation-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    outline: none;
    font-family: var(--font-main);
    font-size: 0.95rem;
    resize: none;
    min-height: 48px;
    background: transparent;
    color: inherit;
}

#send-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--clr-primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

#send-btn:hover {
    background: #2563eb;
    transform: scale(1.05);
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    width: 100%;
    z-index: 100;
    min-height: 64px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    height: 100%;
}

.nav-utility {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-nav-exit {
    background: #ffffff;
    border: 2px solid #ef4444;
    color: #ef4444 !important;
    font-family: var(--font-main);
    font-weight: 900;
    /* Maximum weight for visibility */
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    padding: 0 16px;
    border-radius: 12px;
    letter-spacing: 0.02em;
    line-height: 1;
    height: 40px;
    /* Stronger height for better alignment */
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.1);
}

.btn-nav-exit:hover {
    background: #ef4444;
    color: white !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
}

.btn-nav-exit i {
    font-size: 1rem;
}

.neural-visualizer {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.brain-core {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--clr-primary) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.6;
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }
}

.data-overlay {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    text-align: center;
    font-family: monospace;
    font-size: 0.8rem;
    opacity: 0.5;
    letter-spacing: 0.2em;
}

.controls-area {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mic-btn-main {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--clr-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.mic-btn-main:hover {
    background: var(--clr-primary);
    transform: scale(1.1);
}

@keyframes mic-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.mic-btn-main.recording {
    background: #ef4444;
    border-color: #ef4444 !important;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
    animation: mic-pulse 1.5s infinite;
}

.disclaimer-area {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    text-align: center;
    padding: 2rem;
}

/* Private Caucus Enhancements */
/* Mediation Room Aesthetics */
.mediation-layout {
    background: radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.02), transparent),
        radial-gradient(circle at 90% 90%, rgba(16, 185, 129, 0.02), transparent);
}

.mediation-column-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#mediation-messages {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    transition: var(--transition);
}

#mediation-messages:focus-within {
    border-color: var(--clr-primary);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.05);
}

#send-mediation-btn {
    width: 70px !important;
    /* Wider as requested */
    height: 44px;
    background: var(--clr-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    transition: var(--transition) !important;
}

#send-mediation-btn:hover {
    background: #2563eb !important;
    width: 75px !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Private Caucus Enhancements */
.caucus-container {
    background: rgba(240, 253, 244, 0.4);
    border: 1px solid rgba(16, 185, 129, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    box-shadow: inset 0 2px 4px rgba(16, 185, 129, 0.02);
    transition: var(--transition);
}

.caucus-input-wrapper {
    background: white;
    border: 1.5px solid rgba(16, 185, 129, 0.15);
    border-radius: 16px;
    padding: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.caucus-input-wrapper:focus-within {
    border-color: #10b981;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.08);
    transform: translateY(-1px);
}

#private-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    padding: 10px 14px;
    font-size: 0.9rem;
    background: transparent;
    font-family: var(--font-main);
    resize: none;
    min-height: 44px;
    color: var(--clr-text-main);
}

#send-private-btn {
    background: #10b981 !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.2);
}

#send-private-btn:hover {
    background: #059669 !important;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(16, 185, 129, 0.3);
}

/* Agent Debug Console */
.debug-console {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: #0a0e17;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    color: #e2e8f0;
    font-family: 'JetBrains Mono', monospace;
    z-index: 2000;
    display: none;
    flex-direction: column;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    transition: height 0.3s ease;
    height: 300px;
}

.debug-console.minimized {
    height: 44px;
}

.debug-header {
    background: #1e293b;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
}

.debug-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.debug-controls {
    display: flex;
    gap: 12px;
}

.debug-controls button {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.debug-controls button:hover {
    color: white;
}

.debug-logs {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    font-size: 0.75rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.debug-logs::-webkit-scrollbar {
    width: 6px;
}

.debug-logs::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

.debug-msg {
    border-left: 3px solid #334155;
    padding-left: 10px;
    animation: fadeInDebug 0.2s ease-out;
}

@keyframes fadeInDebug {
    from {
        opacity: 0;
        transform: translateX(-5px);
    }

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

.debug-msg.system {
    border-color: #94a3b8;
    color: #94a3b8;
}

.debug-msg.agent-request {
    border-color: #3b82f6;
}

.debug-msg.agent-response {
    border-color: #10b981;
}

.debug-tag {
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 8px;
    font-weight: 800;
}

.debug-time {
    opacity: 0.4;
    margin-right: 10px;
}

.debug-agent {
    color: #6366f1;
    font-weight: 700;
}

.debug-event {
    color: #f59e0b;
    font-weight: 700;
    margin-left: 8px;
}

.debug-content {
    margin-top: 4px;
    white-space: pre-wrap;
    word-break: break-all;
}

.debug-detail {
    background: rgba(0, 0, 0, 0.3);
    padding: 8px;
    border-radius: 6px;
    margin-top: 6px;
    font-size: 0.7rem;
    color: #cbd5e1;
}

.border-glow {
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

/* Responsive Mediation (Mobile Optimization) */
@media (max-width: 768px) {
    .mobile-only {
        display: flex !important;
    }

    .hide-on-mobile {
        display: none !important;
    }

    .mediation-layout {
        padding: 0.75rem !important;
        gap: 0 !important;
        perspective: 1000px;
    }

    .mediation-public-col {
        flex: 1 !important;
        width: 100% !important;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s;
    }

    /* Depth Effect: Scale down public room when private is active */
    .mediation-screen.caucus-active .mediation-public-col {
        transform: scale(0.92) translateZ(-50px);
        opacity: 0.4;
        pointer-events: none;
    }

    .mediation-private-col {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 100% !important;
        height: 100% !important;
        background: #f8fafc !important;
        z-index: 3000 !important;
        padding: 1.5rem !important;
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.15) !important;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border-left: none !important;
        margin: 0 !important;
    }

    .mediation-private-col.active {
        right: 0 !important;
    }

    .mediation-column-label {
        margin-bottom: 15px !important;
        font-size: 0.8rem !important;
    }

    .caucus-container {
        border-radius: 20px !important;
        background: white !important;
    }

    .logo {
        font-size: 0.9rem !important;
    }
}

/* Tab & Utility System */
.tab-btn {
    border: none;
    background: transparent;
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.6;
}

.tab-btn.active {
    background: var(--clr-primary);
    opacity: 1;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.4);
}

.mediation-tabs {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 50px;
    display: flex;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-utility .profile-btn {
    font-weight: 800;
    letter-spacing: 0.02em;
    height: 40px;
    padding: 0 16px;
    border-radius: 12px;
}
/* Widget Isolation Styles */
.isolated-widget-container {
    margin: 15px 0;
    width: 100%;
    clear: both;
}

.isolated-widget-container * {
    max-width: 100%;
}

.events-widget {
    animation: slideUpFade 0.5s ease-out;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
