* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f5f5f0;
    color: #2c2b28;
    padding: 16px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
header {
    background: #ffc107;
    padding: 16px 20px;
    border-radius: 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
h1, h2, h3 {
    font-weight: 600;
}
.card, .supply-card, .packer-card, .item-card, .day-card {
    background: white;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: 0.2s;
}
button, .button {
    background: #ffc107;
    border: none;
    padding: 8px 16px;
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    margin: 4px;
    transition: 0.2s;
}
button:hover {
    background: #e0a800;
    transform: scale(0.98);
}
input, select, textarea {
    padding: 10px 14px;
    border-radius: 40px;
    border: 1px solid #ddd;
    margin: 6px 0;
    width: 100%;
}
.supplies-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.earnings-summary {
    background: #e6f7e6;
    border-radius: 24px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .supplies-grid {
        grid-template-columns: 1fr;
    }
    body {
        padding: 8px;
    }
}
/* Стили для управления пользователями */
.user-controls {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.show-inactive {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.user-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.user-card.inactive {
    background: #fff3f3;
    opacity: 0.7;
    border-left: 3px solid #f44336;
}

.user-name {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.badge-active {
    background: #4caf50;
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

.badge-inactive {
    background: #f44336;
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

.user-login {
    font-size: 0.85em;
    color: #666;
}

.user-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.btn-edit {
    background: #2196f3;
    color: white;
}

.btn-password {
    background: #ff9800;
    color: white;
}

.btn-toggle {
    background: #9c27b0;
    color: white;
}

.btn-delete {
    background: #f44336;
    color: white;
}

.btn-save {
    background: #4caf50;
    color: white;
}

.btn-cancel {
    background: #999;
    color: white;
}

.btn-save:hover, .btn-cancel:hover {
    opacity: 0.9;
}

/* Стили для модальных окон */
.modal-content {
    max-width: 500px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .user-actions {
        flex-direction: column;
    }

    .user-actions button {
        width: 100%;
    }

    .user-controls {
        flex-direction: column;
        align-items: stretch;
    }
}