@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
    --bg-color: #111318;
    --card-bg: #23272F;
    --text-primary: #E9EAED;
    --text-secondary: #9ca3af;
    --accent-color: #3b82f6; /* A nice blue for active states */
    --input-bg: rgba(255, 255, 255, 0.03);
    --border-color: #374151;
    --button-primary-bg: #E9EAED;
    --button-primary-text: #111318;
    --button-secondary-bg: #23272F;
    --button-secondary-text: #ABB0BA;
    --radius: 16px;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Box-Sizing Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    margin: 0;
    padding: 20px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    margin-top: 0;
}

h1 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header / User Info */
.user-info {
    text-align: right;
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-size: 14px;
}

.user-info strong {
    color: var(--text-primary);
}

/* Cards & Content Areas */
.card, .modal-content, .tabcontent {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255,255,255,0.05);
}

/* Inputs */
label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input[type="text"],
input[type="password"],
textarea,
select {
    width: 100%;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 16px;
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    margin-bottom: 16px;
    transition: var(--transition);
    box-sizing: border-box;
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.05);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-secondary);
}

/* Buttons */
.btn, button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--button-primary-bg);
    color: var(--button-primary-text);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    margin-right: 10px;
}

.btn:hover, button:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.btn-secondary, button.btn-secondary {
    background-color: var(--button-secondary-bg);
    color: var(--button-secondary-text);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #2A303C;
    border-color: #4B5563;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    border-bottom: none;
    padding-bottom: 0;
    overflow-x: auto;
}

.tablink {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
    width: auto;
    float: none;
}

.tablink:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.tablink.active {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.tabcontent {
    animation: fadeIn 0.4s ease-out;
}

/* Tables */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 10px;
}

th, td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Alerts */
.alert {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ===== AUTH PAGE STYLES ===== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
}

.auth-wrapper {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.auth-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.auth-card h1 {
    text-align: center;
    margin-bottom: 12px;
    font-size: 28px;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 14px;
}

.auth-card input[type="text"],
.auth-card input[type="password"] {
    padding: 18px;
    font-size: 16px;
    margin-bottom: 16px;
}

.auth-btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 16px;
    margin-top: 8px;
}

.auth-link {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-link a {
    color: var(--accent-color);
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Mobile Auth Adjustments */
@media screen and (max-width: 480px) {
    .auth-page {
        padding: 16px;
    }
    
    .auth-wrapper {
        max-width: 100%;
    }
    
    .auth-card {
        padding: 32px 24px;
        border-radius: 16px;
    }
    
    .auth-card h1 {
        font-size: 24px;
    }
    
    .auth-card input[type="text"],
    .auth-card input[type="password"] {
        padding: 16px;
    }
}

/* ===== FORM PAGE STYLES (Create Solution, etc.) ===== */
.form-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
}

.form-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.form-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

.form-card h1 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 24px;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.form-actions .btn {
    width: 100%;
    justify-content: center;
}

/* Mobile Form Adjustments */
@media screen and (max-width: 480px) {
    .form-page {
        padding: 16px;
        align-items: flex-start;
        padding-top: 40px;
    }
    
    .form-wrapper {
        max-width: 100%;
    }
    
    .form-card {
        padding: 24px 20px;
        border-radius: 16px;
    }
    
    .form-card h1 {
        font-size: 20px;
    }
}

/* Wizard / Stepped Flow UI */
.wizard-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 2000;
    animation: fadeIn 0.3s;
    overflow-y: auto;
}

.wizard-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wizard-step {
    display: none;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-step.active {
    display: block;
}

.big-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 32px;
    font-weight: 600;
    padding: 10px 0;
    margin-bottom: 20px;
    width: 100%;
    outline: none;
    border-radius: 0;
}

.big-input:focus {
    border-color: var(--accent-color);
    background: transparent;
}

.big-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.big-textarea {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    font-family: inherit;
    width: 100%;
    resize: none;
    outline: none;
    line-height: 1.6;
    min-height: 200px;
    padding: 0;
}

.big-textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* Chip Selection for Step 2 */
.chip-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.chip-option {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    color: var(--text-secondary);
    transition: var(--transition);
    user-select: none;
}

.chip-option:hover {
    border-color: var(--text-secondary);
}

.chip-option.selected {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
    font-weight: 600;
}

.chip-radio {
    display: none;
}

/* Bottom Action Bar for Wizard */
.wizard-actions {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.wizard-back {
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 15px;
}

.wizard-back:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.floating-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--text-primary);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    z-index: 100;
}

.floating-fab:hover {
    transform: scale(1.1);
}

/* Modals (Restored) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s;
}

.modal-content {
    background-color: var(--card-bg);
    margin: 5% auto;
    width: 90%;
    max-width: 600px;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

.close {
    color: var(--text-secondary);
    position: absolute;
    right: 24px;
    top: 24px;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--text-primary);
}

/* Pre / Code Blocks */
pre {
    background: #1a1d23;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: 'SF Mono', 'Roboto Mono', monospace;
    font-size: 13px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #374151;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4B5563;
}

/* Animations - Lovable Style */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        transform: translateY(20px) scale(0.98);
        opacity: 0;
    }
    to { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
    70% {
        transform: translate(-50%, -50%) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(0.97);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-5px);
    }
}

@keyframes slideOutLeft {
    to {
        transform: translateX(-40px);
        opacity: 0;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(40px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.step-exit-left {
    animation: slideOutLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.step-enter-right {
    display: block;
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Better Input Visibility */
.big-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px; /* Sharper corners */
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 500;
    padding: 24px;
    margin-bottom: 24px;
    width: 100%;
    outline: none;
    transition: all 0.2s ease;
}

.big-input:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
}

.big-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.big-textarea {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    font-family: inherit;
    width: 100%;
    resize: none;
    outline: none;
    line-height: 1.6;
    min-height: 150px;
    padding: 0;
}

.big-textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

/* Dashboard Layout Styles - WIDE & DARKER */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.stat-card {
    background: #16181D; /* Very dark, almost blends in */
    border-radius: 8px;
    padding: 24px 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.03);
    box-shadow: none;
    
    /* Lovable-style entrance animation */
    animation: slideUp 0.5s ease-out backwards;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: block;
}

.stat-number.warning { color: #f59e0b; }
.stat-number.danger { color: #ef4444; }

.stat-label {
    font-size: 11px;
    color: #585e6b; /* Darker grey */
    text-transform: capitalize; /* Lovable uses capitalize: 'Logged', not UPPERCASE */
    letter-spacing: normal;
    font-weight: 500;
}

.center-action-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Floating Hero Bar (Centered on screen) - Lovable Style */
.hero-btn {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #E9EAED; /* White/Off-white */
    color: #111318;
    font-size: 15px;
    font-weight: 500;
    padding: 16px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    width: 90%;
    max-width: 500px;
    text-align: center;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    
    /* Lovable-style animation on load */
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn:hover {
    background: #fff;
    transform: translate(-50%, -50%) translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.hero-btn:active {
    transform: translate(-50%, -50%) scale(0.97);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.1s ease;
}

.bottom-sheet-toggle {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1A1D23;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 12px 0;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    z-index: 101;
    border-radius: 0;
    transform: none;
    max-width: 100%;
}

.bottom-sheet-toggle:hover {
    background: #23272F;
    color: var(--text-primary);
}

/* Hidden list container for toggle */
#logsListContainer {
    display: block; /* Control visibility with opacity/pointer-events for transition */
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color); /* Cover everything */
    z-index: 90; /* Below toggle button (101) but above hero btn (100) if needed, lets check logic */
    padding: 80px 20px 100px 20px; /* Top padding for breathing room, bottom for toggle bar */
    overflow-y: auto;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#logsListContainer.show {
    opacity: 1;
    pointer-events: auto;
    z-index: 150; /* Above Hero Button (100) */
}

/* Close button for logs list */
.close-list-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 160;
}

.close-list-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.p-2{
    padding: 1rem;
}

/* ===== MOBILE RESPONSIVE STYLES ===== */
@media screen and (max-width: 768px) {
    /* Body & Container */
    body {
        padding: 12px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    h1 {
        font-size: 22px;
        margin-bottom: 24px;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 18px;
    }
    
    /* Cards for mobile */
    .card, .modal-content, .tabcontent {
        padding: 16px;
        border-radius: 12px;
    }
    
    /* Table Responsive - Horizontal Scroll */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    th, td {
        padding: 12px 10px;
        font-size: 13px;
        min-width: 80px;
    }
    
    th {
        font-size: 11px;
    }
    
    /* Pre/Code blocks */
    pre {
        font-size: 13px;
        padding: 12px;
        white-space: pre-wrap;
        word-wrap: break-word;
    }
    
    /* Buttons on mobile */
    .btn, button {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .btn-secondary {
        margin-bottom: 0;
    }
    
    /* Button group on mobile - stack vertically */
    div[style*="margin-top: 20px"] {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    /* Modal - Full Screen on Mobile */
    .modal-content {
        margin: 0;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
        overflow-y: auto;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .modal .close {
        position: fixed;
        top: 16px;
        right: 16px;
        font-size: 28px;
        z-index: 1001;
        background: rgba(0,0,0,0.3);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Inputs on mobile */
    input[type="text"],
    input[type="password"],
    textarea,
    select {
        padding: 14px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 12px;
    }
    
    textarea {
        min-height: 150px;
    }
    
    /* Stats Grid on mobile */
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .stat-card {
        padding: 16px 8px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 9px;
    }
    
    /* Hero Button on mobile - same as desktop, just slightly smaller */
    .hero-btn {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
        font-size: 14px;
        padding: 16px 24px;
    }
    
    /* Bottom toggle on mobile */
    .bottom-sheet-toggle {
        padding: 14px 0;
        font-size: 12px;
    }
    
    /* Tabs on mobile */
    .tabs {
        gap: 6px;
        padding-bottom: 8px;
    }
    
    .tablink {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    /* Wizard on mobile */
    .wizard-container {
        padding: 20px 16px;
    }
    
    .wizard-actions {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 12px;
        margin-top: 30px;
    }
    
    .wizard-actions .btn {
        width: 100%;
        margin: 0;
    }
    
    .wizard-back {
        text-align: center;
        padding: 12px;
        background: transparent;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        color: var(--text-secondary);
    }
    
    .big-input {
        font-size: 18px;
        padding: 16px;
        width: 100%;
    }
    
    .big-textarea {
        font-size: 16px;
        min-height: 120px;
        width: 100%;
    }
    
    .chip-group {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .chip-option {
        padding: 10px 16px;
        font-size: 13px;
        flex: 0 0 auto;
    }
    
    /* Close list button on mobile */
    .close-list-btn {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    /* Logs list container on mobile */
    #logsListContainer {
        padding: 60px 12px 80px 12px;
    }
    
    /* Fix input width to not overflow */
    input, textarea, select {
        max-width: 100%;
    }
}