:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --primary: #bb86fc;
    --secondary: #03dac6;
    --text: #e0e0e0;
    --text-muted: #a0a0a0;
    --font: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text);
    font-family: var(--font);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h1, h2, h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.tabs {
    display: flex;
    margin-bottom: 1rem;
    gap: 10px;
}

.tabs button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding-bottom: 5px;
}

.tabs button.active {
    color: var(--secondary);
    border-bottom: 2px solid var(--secondary);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input[type="text"], input[type="password"] {
    background: #2c2c2c;
    border: 1px solid #444;
    padding: 10px;
    border-radius: 8px;
    color: white;
    font-family: inherit;
}

button {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.2s;
}

button:hover {
    opacity: 0.9;
}

#logout-btn {
    background: #cf6679;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
}

ul {
    list-style: none;
    margin-top: 1rem;
}

li {
    background: #2a2a2a;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #333;
}

li.completed span {
    text-decoration: line-through;
    color: var(--text-muted);
}

.actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.file-link {
    font-size: 0.8rem;
    color: var(--secondary);
    text-decoration: none;
    margin-left: 10px;
}

.delete-btn {
    background: transparent;
    color: #cf6679;
    font-size: 1.2rem;
    padding: 0;
}

.checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.file-upload {
    cursor: pointer;
    display: inline-block;
    padding: 6px 12px;
    background: #333;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

#attachment {
    display: none;
}

.admin-header {
    font-size: 0.8rem;
    color: var(--secondary);
    margin-bottom: 4px;
}
