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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    background: #1a1a1a;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 900px;
    background-color: #242424;
    border-radius: 12px;
    padding: 40px;
    border: 1px solid #333;
}

header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #333;
}

header h1 {
    font-size: 2.5em;
    margin: 0 0 12px 0;
    font-weight: 700;
    color: #26af8a;
}

.btn-lang {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #2a2a2a;
    border: 1px solid #444;
    color: #e0e0e0;
    padding: 8px 12px;
    font-size: 0.9em;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.btn-lang:hover {
    background: #26af8a;
    color: #1a1a1a;
    border-color: #26af8a;
}

header p {
    font-size: 1.1em;
    color: #999;
    margin: 8px 0;
}

#tracker-stats {
    font-size: 0.95em;
    color: #26af8a;
    background-color: #1a1a1a;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    border: 1px solid #333;
    font-weight: 500;
}

.stats-extended {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background-color: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

.stat-item {
    text-align: center;
    padding: 12px;
    background-color: #2a2a2a;
    border-radius: 6px;
    border: 1px solid #444;
}

.stat-value {
    font-size: 1.8em;
    font-weight: 700;
    color: #26af8a;
    display: block;
}

.stat-label {
    font-size: 0.85em;
    color: #999;
    margin-top: 4px;
    display: block;
}

.filter-section {
    margin-bottom: 24px;
    padding: 16px;
    background-color: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

.filter-section h3 {
    color: #26af8a;
    font-size: 1.1em;
    margin-bottom: 12px;
}

.filter-controls {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 16px;
    background-color: #2a2a2a;
    border-radius: 6px;
    border: 1px solid #444;
    transition: all 0.2s ease;
}

.filter-checkbox:hover {
    border-color: #26af8a;
}

.filter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #26af8a;
}

.filter-checkbox span {
    color: #e0e0e0;
    font-size: 0.95em;
    font-weight: 500;
}

.status-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background-color: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

.status-indicator {
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9em;
    text-align: center;
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: #999;
}

.status-indicator.success {
    background-color: #1a3a2e;
    color: #26af8a;
    border-color: #26af8a;
}

.status-indicator.error {
    background-color: #3a1a1a;
    color: #ef4444;
    border-color: #ef4444;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn {
    background: #26af8a;
    border: none;
    color: #1a1a1a;
    padding: 14px 28px;
    font-size: 1em;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn:hover:not(:disabled) {
    background: #2ec89a;
}

.btn:active:not(:disabled) {
    background: #22a07a;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn.success {
    background: #22c55e;
}

.icon {
    font-size: 1.2em;
}

.tracker-list-container {
    padding: 16px;
    background-color: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

#tracker-list {
    width: 100%;
    height: 350px;
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: #e0e0e0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
    padding: 16px;
    resize: vertical;
    border-radius: 6px;
    transition: border-color 0.2s ease;
    line-height: 1.8;
}

#tracker-list:focus {
    outline: none;
    border-color: #26af8a;
}

#tracker-list::placeholder {
    color: #666;
}

@media (max-width: 768px) {
    .container {
        padding: 24px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
} 