
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 40px;
    max-width: 400px;
    width: 100%;
}

.auth-card h1 {
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
}

.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    background: #1a1a1a;
    border-bottom: 1px solid #333;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 24px;
    color: #fff;
}

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

.user-info span {
    color: #888;
}

.nav {
    background: #151515;
    border-bottom: 1px solid #333;
    padding: 0 40px;
    display: flex;
    gap: 10px;
}

.nav-btn {
    background: none;
    border: none;
    color: #888;
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.nav-btn:hover {
    color: #fff;
}

.nav-btn.active {
    color: #fff;
    border-bottom-color: #4a9eff;
}

.content {
    flex: 1;
    padding: 40px;
}

.view {
    display: none;
}

.view.active {
    display: block;
}

.view h2 {
    margin-bottom: 30px;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 30px;
}

.stat-card h3 {
    color: #888;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.stat-card p {
    color: #fff;
    font-size: 32px;
    font-weight: 600;
}

.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.filters input,
.filters select {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 10px 15px;
    color: #e0e0e0;
    font-size: 14px;
}

.filters input {
    flex: 1;
}

.filters select {
    min-width: 200px;
}

.data-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.data-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.data-card:hover {
    border-color: #4a9eff;
}

.data-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.data-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.data-card-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.badge-processing {
    background: #4a5568;
    color: #fff;
}

.badge-success {
    background: #2d5f3f;
    color: #68d391;
}

.badge-error {
    background: #5f2d2d;
    color: #fc8181;
}

.data-card-content {
    color: #888;
    font-size: 14px;
}

.data-card-content p {
    margin-bottom: 5px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary {
    background: #4a9eff;
    color: #fff;
}

.btn-primary:hover {
    background: #3a8eef;
}

.btn-secondary {
    background: #333;
    color: #e0e0e0;
}

.btn-secondary:hover {
    background: #444;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #888;
}

.error-message {
    background: #5f2d2d;
    border: 1px solid #fc8181;
    border-radius: 4px;
    padding: 15px;
    color: #fc8181;
    margin-bottom: 20px;
}
