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

body {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f5f5f5;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    margin-bottom: 30px;
    color: #262626;
}

.section {
    margin-bottom: 40px;
    padding: 20px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
}

.section h2 {
    margin-bottom: 15px;
    color: #262626;
    font-size: 1.2em;
}

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

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

input[type="text"],
input[type="date"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    min-height: 100px;
    font-family: monospace;
    font-size: 12px;
}

textarea.submit-data {
    min-height: 200px;
}

button {
    background: #0095f6;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

button:hover {
    background: #0084d9;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-danger {
    background: #ed4956;
}

.btn-danger:hover {
    background: #d73545;
}

.btn-secondary {
    background: #8e8e8e;
}

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

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

.results {
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th,
td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

th {
    background: #f8f8f8;
    font-weight: 600;
    color: #262626;
}

tr:hover {
    background: #fafafa;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.badge-new-follower {
    background: #d4edda;
    color: #155724;
}

.badge-lost-follower {
    background: #f8d7da;
    color: #721c24;
}

.badge-new-following {
    background: #cce5ff;
    color: #004085;
}

.badge-unfollow {
    background: #fff3cd;
    color: #856404;
}

.badge-follow {
    background: #cce5ff;
    color: #004085;
}

.user-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.user-item {
    background: white;
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-item button {
    padding: 5px 10px;
    font-size: 12px;
}

.message {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.hidden {
    display: none;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: not-allowed;
}

.loading-overlay.active {
    display: flex;
}

.loading-overlay img {
    width: 50px;
    height: 50px;
}
