
:root {
    --bg-primary: #1B1B1B;
    --bg-secondary: #272727;
    --card-bg: #2E2E2E;
    --accent: #b3c9a5;
    --red-accent: #b30000;
    --text: #E0E0E0;
    --text-muted: #777;
    --border: #3A3F52;
}
/* Reset */
* { margin:0; padding:0; box-sizing:border-box; }
body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-primary);
    color: var(--text);
    line-height: 1.4;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Header */
.header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 2rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}
.header .logo img { width: 80px; }
nav a { margin: 0 1rem; font-weight: 500; transition: color .2s; }
nav a:hover { color: var(--accent); }
.user-info { display: flex; align-items: center; }
.user-info img {
    width: 40px; height: 40px; border-radius: 50%;
    margin-right: .75rem;
}
.user-info .details p { font-size: .875rem; }
.user-info .details p span {
    color: var(--accent); font-weight: 700;
}

/* Main Layout */
.container {
    max-width: 1200px; margin: 2rem auto; padding: 0 1rem;
}
.title { font-size: 2rem; margin-bottom: .5rem; }
.actions {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1.5rem;
}
.btn {
    background: var(--accent);
    color: #1B1B1B;
    padding: .5rem 1rem;
    border: none; border-radius: 4px;
    font-weight: 500; cursor: pointer;
    transition: background .2s;
}
.btn:hover { background: #9ea277; }

.search {
    display: flex; align-items: center;
    background: var(--bg-secondary);
    border-radius: 4px; padding: .5rem;
}
.search i { margin-right: .5rem; color: var(--text-muted); }
.search input {
    background: transparent; border: none;
    color: var(--text); width: 200px;
}
.search input::placeholder { color: var(--text-muted); }
.toggle { display: flex; align-items: center; margin-left: 1rem; }
.toggle input { margin-right: .5rem; }

/* Day grouping */
.day-group { margin-bottom: 2rem; }
.day-title {
    font-size: 1.5rem;
    margin: 1rem 0 .5rem;
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

/* Missions Grid */
.missions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
    gap: 1rem;
}
.card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform .2s;
}
.card:hover { transform: translateY(-5px); }
.card-header {
    background: var(--bg-secondary);
    padding: .75rem 1rem;
    font-size: 1rem; font-weight: 500;
    border-left: 4px solid var(--accent);
}
.card-body {
    flex-grow: 1; padding: 1rem;
}
.card-body p {
    font-size: .9rem; margin-bottom: .5rem;
}
.card-body p span { color: var(--accent); font-weight: 500; }
.card-footer {
    display: flex; justify-content: space-between; align-items: center;
    padding: .75rem 1rem;
    border-top: 1px solid var(--border);
}
.card-footer button {
    background: none; border: none;
    color: var(--accent); font-size: 1.25rem;
    cursor: pointer;
    transition: color .2s;
}
.card-footer button:hover {
    color: var(--red-accent);
}

/* Pagination */
.pagination {
    display: flex; justify-content: center; align-items: center;
    margin-top: 2rem;
}
.pagination button {
    background: var(--accent); border: none;
    padding: .5rem 1rem; margin: 0 .5rem;
    color: #1B1B1B; border-radius: 4px; cursor: pointer;
}
.pagination span { color: var(--text-muted); }
