* {
    box-sizing: border-box;
}

body.dark-bg {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0b0b0d;
    color: #f5f5f7;
}

a {
    color: inherit;
    text-decoration: none;
}

.layout {
    min-height: 100vh;
}

.top-nav {
    height: 64px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #131318;
    border-bottom: 1px solid #1f1f24;
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    font-size: 24px;
}

.logo span {
    color: #e10600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    border-radius: 999px;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: #e10600;
    color: white;
}

.btn-outline {
    border: 1px solid #e10600;
    background: transparent;
    color: #e10600;
}

.container {
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: #131318;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
    border: 1px solid #1f1f24;
    margin-bottom: 16px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
}

.badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    background: #1f1f24;
}

.badge-success {
    background: #14532d;
    color: #bbf7d0;
}

.badge-warning {
    background: #78350f;
    color: #fed7aa;
}

.grid {
    display: grid;
    gap: 16px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: #d4d4d8;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #27272f;
    background: #0b0b0d;
    color: #f5f5f7;
    font-size: 14px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #e10600;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.table th,
.table td {
    padding: 8px 10px;
    border-bottom: 1px solid #27272f;
}

.table th {
    text-align: right;
    color: #a1a1aa;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 4px;
}

.status-dot.green {
    background: #22c55e;
}

.status-dot.red {
    background: #ef4444;
}

.sidebar {
    position: fixed;
    top: 64px;
    bottom: 0;
    right: 0;
    width: 220px;
    padding: 16px;
    background: #09090b;
    border-left: 1px solid #1f1f24;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin-bottom: 8px;
}

.sidebar a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: #e4e4e7;
}

.sidebar a:hover {
    background: #18181b;
}

.main-with-sidebar {
    margin-right: 220px;
    padding: 24px;
}

.mobile-only {
    display: none;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    height: 60px;
    background: #09090b;
    border-top: 1px solid #1f1f24;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 12px;
}

.alert {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 12px;
}

.alert-error {
    background: #450a0a;
    color: #fecaca;
}

.alert-success {
    background: #064e3b;
    color: #bbf7d0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.checkbox-label input {
    width: auto;
}

.progress-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    background: #111827;
    padding: 4px 10px;
    border-radius: 999px;
}

.progress-pill span {
    font-weight: 500;
}

.done-card {
    border: 1px solid #22c55e;
    background: linear-gradient(to bottom right, #064e3b, #0b0b0d);
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    .main-with-sidebar {
        margin-right: 0;
        padding-bottom: 70px;
    }
    .mobile-only {
        display: flex;
    }
}

.page-header {
    margin-bottom: 20px;
}

.page-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 1px;
    margin: 0 0 6px;
}

.page-subtitle {
    margin: 0;
    font-size: 13px;
    color: #a1a1aa;
}

.hero {
    max-width: 960px;
    margin: 40px auto;
    text-align: center;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 40px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 15px;
    color: #a1a1aa;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.feature-card {
    background: #131318;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid #1f1f24;
    text-align: right;
}

.feature-card h3 {
    font-size: 15px;
    margin-top: 0;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 13px;
    margin: 0;
}
