:root {
    --primary: #6366f1;
    --bg: #f8fafc;
    --text: #1e293b;
    --danger: #ef4444;
}

body, html {
    margin: 0; padding: 0;
    font-family: sans-serif;
    background-color: var(--bg);
    height: 100%;
}

.page {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Dashboard Styles */
.dashboard-container h1 { text-align: center; margin-bottom: 30px; }

#saved-lists-menu { list-style: none; padding: 0; }
#saved-lists-menu li {
    background: white;
    padding: 20px;
    margin-bottom: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.import-zone { margin-top: 40px; border-top: 1px solid #e2e8f0; padding-top: 20px; }

/* Workspace Styles */
.nav-header { display: flex; justify-content: space-between; margin-bottom: 20px; }

.back-btn { background: #e2e8f0; padding: 8px 15px; border-radius: 8px; border: none; cursor: pointer; }

.save-icon-btn { background: var(--primary); color: white; padding: 8px 15px; border-radius: 8px; border: none; }

.workspace-container { background: white; padding: 20px; border-radius: 15px; min-height: 80vh; }

.input-section { display: flex; gap: 10px; margin: 20px 0; }
input[type="text"] { flex-grow: 1; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; }

/* Items & Dragging */
li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f1f5f9; cursor: grab; }
.item-text { flex-grow: 1; outline: none; }
.completed { text-decoration: line-through; color: #94a3b8; }

.action-btn { background: none; border: none; cursor: pointer; font-size: 1.1rem; }

/* Buttons */
.primary-btn { background: var(--primary); color: white; width: 100%; padding: 15px; border-radius: 12px; border: none; font-size: 1rem; font-weight: bold; }
.secondary-btn { background: white; border: 1px solid #cbd5e1; width: 100%; padding: 12px; border-radius: 12px; margin-top: 10px; }
.danger-link { color: var(--danger); background: none; border: none; width: 100%; margin-top: 40px; cursor: pointer; text-decoration: underline; }